lexicons/my/spoor/content/external.json

42 lines
1.1 KiB
JSON

{
"lexicon": 1,
"id": "my.spoor.content.external",
"defs": {
"main": {
"type": "record",
"key": "nsid",
"record": {
"type": "object",
"required": [ "source", "queryable" ],
"properties": {
"titles": {
"type": "array",
"minLength": 1,
"items": {
"type": "ref",
"ref": "my.spoor.content.title"
}
},
"source": {
"type": "string",
"description": "An nsid for a specific data source. The domain authority governs how to process the queryable",
"format": "nsid",
"knownValues": [
"my.spoor.content.external#tvdb"
]
},
"queryable": {
"type": "union",
"description": "All the data needed to query the content from the source",
"refs": []
},
"overrides": {
"type": "union",
"description": "User defined overrides for the returned content",
"refs": []
}
}
}
}
}
}