Lexicons, move title out of defs

This commit is contained in:
Julia Lange 2025-05-08 14:25:29 -07:00
parent 090cb6631e
commit fb996f9654
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ
3 changed files with 5 additions and 7 deletions

View file

@ -14,7 +14,7 @@
"minLength": 1,
"items": {
"type": "ref",
"ref": "my.spoor.content.defs#title"
"ref": "my.spoor.content.title"
}
},
"source": {

View file

@ -14,7 +14,7 @@
"minLength": 1,
"items": {
"type": "ref",
"ref": "my.spoor.content.defs#title"
"ref": "my.spoor.content.title"
}
},
"durationData": {

View file

@ -1,17 +1,15 @@
{
"lexicon": 1,
"id": "my.spoor.content.defs",
"id": "my.spoor.content.title",
"defs": {
"title": {
"main": {
"type": "object",
"properties": {
"translationType": {
"type": "string",
"format": "nsid",
"knownValues": [
"my.spoor.content.defs#titleHomophonic",
"my.spoor.content.defs#titleNative",
"my.spoor.content.defs#titleTranslation"
"#titleHomophonic", "#titleNative", "#titleTranslation"
]
},
"lang": {