content, use primary types, move title to defs
So I sort of used "object" instead of "record" because I thought key was an option type ^_^ So I had to fix that. Also moves title to defs because it is not supposed to be a record
This commit is contained in:
parent
60262fed0c
commit
0beee2c8d0
4 changed files with 83 additions and 72 deletions
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
"lexicon": 1,
|
||||
"id": "my.spoor.content.title",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"language": {
|
||||
"type": "string",
|
||||
"format": "nsid",
|
||||
"knownValues": [
|
||||
"my.spoor.content.title#romanization",
|
||||
"my.spoor.content.title#english",
|
||||
"my.spoor.content.title#native"
|
||||
]
|
||||
},
|
||||
"value": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
},
|
||||
"romanization": { "type": "token",
|
||||
"description": "Romanization of the native title" },
|
||||
"english": { "type": "token",
|
||||
"description": "English translation or title" },
|
||||
"native": { "type": "token",
|
||||
"description": "Native title" }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue