Meta, remove lexicons/ folder prefix

This commit is contained in:
Julia Lange 2025-05-08 15:02:55 -07:00
parent 0c7e67126c
commit a18e052a77
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ
5 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,53 @@
{
"lexicon": 1,
"id": "my.spoor.content.media",
"defs": {
"main": {
"type": "record",
"key": "nsid",
"record": {
"type": "object",
"required": [ "titles", "lastUpdated" ],
"properties": {
"titles": {
"type": "array",
"minLength": 1,
"items": {
"type": "ref",
"ref": "my.spoor.content.title"
}
},
"durationData": {
"type": "union",
"refs": [
"my.spoor.content.media#television",
"my.spoor.content.media#book"
]
},
"posterImage": {
"type": "blob",
"accept": ["image/png", "image/jpeg"],
"maxSize": 1000000
},
"lastUpdated": {
"type": "string",
"format": "datetime",
"description": "Client-declared timestamp for when this activity was last updated"
}
}
}
},
"television": {
"type": "object",
"properties": {
"episodes": { "type": "integer", "minimum": 0}
}
},
"book": {
"type": "object",
"properties": {
"chapters": { "type": "integer", "minimum": 0}
}
}
}
}