Compare commits

..

No commits in common. "e0a510afadaa2c62b2834020046bcfa21b1871a4" and "090cb6631efab167aea4ea4c792c68b270547f0d" have entirely different histories.

4 changed files with 11 additions and 13 deletions

View file

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

View file

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

View file

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

View file

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