THESE LEXICONS ARE NOT FINAL, she screamed into the wind. converts all references to woach.me to spoor.my to reflect the official domain name. Rename "feed" 3ld to "log" since the content here is separate from what an activity feed would look like. Log has more in common with records. I maintained the name activity over "spoor" here, because I want the items to be easily digested by other services. I think "spoor" is actually a more apt term than "activity" since "activity" is more generic, than the specific mediaspoor it is, but it will do. Changes the "anilist" entry to a more generic "external" entry, which will be able to handle tvdb, or similar.
30 lines
815 B
JSON
30 lines
815 B
JSON
{
|
|
"lexicon": 1,
|
|
"id": "my.spoor.content.external",
|
|
"defs": {
|
|
"main": {
|
|
"type": "object",
|
|
"required": [ "source", "queryable" ],
|
|
"key": "nsid",
|
|
"properties": {
|
|
"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"
|
|
},
|
|
"overrides": {
|
|
"type": "object",
|
|
"description": "User defined overrides for the returned content",
|
|
"properties": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|