2025-03-21 19:54:05 -07:00
|
|
|
{
|
|
|
|
|
"lexicon": 1,
|
2025-05-01 15:48:13 -07:00
|
|
|
"id": "my.spoor.content.media",
|
2025-03-21 19:54:05 -07:00
|
|
|
"defs": {
|
|
|
|
|
"main": {
|
2025-05-07 16:20:28 -07:00
|
|
|
"type": "record",
|
2025-03-21 19:54:05 -07:00
|
|
|
"key": "nsid",
|
2025-05-07 16:20:28 -07:00
|
|
|
"record": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"required": [ "titles", "lastUpdated" ],
|
|
|
|
|
"properties": {
|
|
|
|
|
"titles": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"minLength": 1,
|
|
|
|
|
"items": {
|
|
|
|
|
"type": "ref",
|
2025-05-08 14:25:29 -07:00
|
|
|
"ref": "my.spoor.content.title"
|
2025-05-07 16:20:28 -07:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"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"
|
2025-03-21 19:54:05 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"television": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"episodes": { "type": "integer", "minimum": 0}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"book": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"properties": {
|
|
|
|
|
"chapters": { "type": "integer", "minimum": 0}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|