Meta, remove lexicons/ folder prefix
This commit is contained in:
parent
0c7e67126c
commit
a18e052a77
5 changed files with 0 additions and 0 deletions
42
my/spoor/content/external.json
Normal file
42
my/spoor/content/external.json
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
53
my/spoor/content/media.json
Normal file
53
my/spoor/content/media.json
Normal 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}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
29
my/spoor/content/title.json
Normal file
29
my/spoor/content/title.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"lexicon": 1,
|
||||
"id": "my.spoor.content.title",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"translationType": {
|
||||
"type": "string",
|
||||
"format": "nsid",
|
||||
"knownValues": [
|
||||
"#titleHomophonic", "#titleNative", "#titleTranslation"
|
||||
]
|
||||
},
|
||||
"lang": {
|
||||
"type": "string",
|
||||
"format": "language"
|
||||
},
|
||||
"value": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
},
|
||||
"titleHomophonic": { "type": "token",
|
||||
"description": "A phonetic transcription of the native title such that when read it will sound like the native title." },
|
||||
"titleNative": { "type": "token",
|
||||
"description": "The title in its native script" },
|
||||
"titleTranslation": { "type": "token",
|
||||
"description": "A translation of the title" }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue