lexicons/my/spoor/content/external.json

52 lines
1.1 KiB
JSON
Raw Normal View History

{
"lexicon": 1,
"id": "my.spoor.content.external",
"defs": {
"main": {
"type": "record",
"key": "nsid",
"record": {
"type": "object",
"required": [ "queryable" ],
"properties": {
"queryable": {
"type": "union",
"description": "All the data needed to query the content from the source",
"refs": [
"#tvdbv4"
]
},
"titles": {
"type": "array",
"minLength": 1,
"items": {
"type": "ref",
2025-05-08 14:25:29 -07:00
"ref": "my.spoor.content.title"
}
},
"overrides": {
"type": "union",
"description": "User defined overrides for the returned content",
"refs": []
}
}
}
},
"tvdbv4": {
"type": "object",
2025-05-08 16:31:06 -07:00
"required": [ "id", "type" ],
"properties": {
2025-05-08 16:31:06 -07:00
"id": { "type": "integer" },
"type": {
"type": "string",
"knownValues": [
"series",
"season",
"movie"
]
}
}
}
}
}