Compare commits
No commits in common. "e0a510afadaa2c62b2834020046bcfa21b1871a4" and "090cb6631efab167aea4ea4c792c68b270547f0d" have entirely different histories.
e0a510afad
...
090cb6631e
4 changed files with 11 additions and 13 deletions
|
|
@ -1,15 +1,17 @@
|
||||||
{
|
{
|
||||||
"lexicon": 1,
|
"lexicon": 1,
|
||||||
"id": "my.spoor.content.title",
|
"id": "my.spoor.content.defs",
|
||||||
"defs": {
|
"defs": {
|
||||||
"main": {
|
"title": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"translationType": {
|
"translationType": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "nsid",
|
"format": "nsid",
|
||||||
"knownValues": [
|
"knownValues": [
|
||||||
"#titleHomophonic", "#titleNative", "#titleTranslation"
|
"my.spoor.content.defs#titleHomophonic",
|
||||||
|
"my.spoor.content.defs#titleNative",
|
||||||
|
"my.spoor.content.defs#titleTranslation"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lang": {
|
"lang": {
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"type": "ref",
|
"type": "ref",
|
||||||
"ref": "my.spoor.content.title"
|
"ref": "my.spoor.content.defs#title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"type": "ref",
|
"type": "ref",
|
||||||
"ref": "my.spoor.content.title"
|
"ref": "my.spoor.content.defs#title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"durationData": {
|
"durationData": {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"progress": {
|
"progress": {
|
||||||
"type": "union",
|
"type": "union",
|
||||||
"refs": [
|
"refs": [
|
||||||
"#progressIndex"
|
"my.spoor.log.activity#indexProgress"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"performedAt": {
|
"performedAt": {
|
||||||
|
|
@ -31,13 +31,9 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"progressIndex": {
|
"indexProgress": {
|
||||||
"type": "object",
|
"type": "integer",
|
||||||
"description": "The index of the content consumed. Content must be indexable",
|
"description": "The index of the content consumed. Content must be indexable"
|
||||||
"required": [ "index" ],
|
|
||||||
"properties": {
|
|
||||||
"index": { "type": "integer" }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue