Compare commits

...

2 commits

Author SHA1 Message Date
e0a510afad
Lexicons, remove invalid concrete schema 2025-05-08 14:27:17 -07:00
fb996f9654
Lexicons, move title out of defs 2025-05-08 14:25:29 -07:00
4 changed files with 13 additions and 11 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": {

View file

@ -15,7 +15,7 @@
"progress": {
"type": "union",
"refs": [
"my.spoor.log.activity#indexProgress"
"#progressIndex"
]
},
"performedAt": {
@ -31,9 +31,13 @@
}
}
},
"indexProgress": {
"type": "integer",
"description": "The index of the content consumed. Content must be indexable"
"progressIndex": {
"type": "object",
"description": "The index of the content consumed. Content must be indexable",
"required": [ "index" ],
"properties": {
"index": { "type": "integer" }
}
}
}
}