diff --git a/my/spoor/content/external.json b/my/spoor/content/external.json index fc6f470..c6396ae 100644 --- a/my/spoor/content/external.json +++ b/my/spoor/content/external.json @@ -7,8 +7,15 @@ "key": "nsid", "record": { "type": "object", - "required": [ "source", "queryable" ], + "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, @@ -17,26 +24,20 @@ "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", + "type": "object", "description": "User defined overrides for the returned content", - "refs": [] + "properties": {} } } } + }, + "tvdbv4": { + "type": "object", + "required": [ "id" ], + "properties": { + "id": { "type": "integer" } + } } } }