Compare commits
2 commits
090cb6631e
...
e0a510afad
| Author | SHA1 | Date | |
|---|---|---|---|
| e0a510afad | |||
| fb996f9654 |
4 changed files with 13 additions and 11 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"type": "ref",
|
"type": "ref",
|
||||||
"ref": "my.spoor.content.defs#title"
|
"ref": "my.spoor.content.title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"items": {
|
"items": {
|
||||||
"type": "ref",
|
"type": "ref",
|
||||||
"ref": "my.spoor.content.defs#title"
|
"ref": "my.spoor.content.title"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"durationData": {
|
"durationData": {
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,15 @@
|
||||||
{
|
{
|
||||||
"lexicon": 1,
|
"lexicon": 1,
|
||||||
"id": "my.spoor.content.defs",
|
"id": "my.spoor.content.title",
|
||||||
"defs": {
|
"defs": {
|
||||||
"title": {
|
"main": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"translationType": {
|
"translationType": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "nsid",
|
"format": "nsid",
|
||||||
"knownValues": [
|
"knownValues": [
|
||||||
"my.spoor.content.defs#titleHomophonic",
|
"#titleHomophonic", "#titleNative", "#titleTranslation"
|
||||||
"my.spoor.content.defs#titleNative",
|
|
||||||
"my.spoor.content.defs#titleTranslation"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"lang": {
|
"lang": {
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"progress": {
|
"progress": {
|
||||||
"type": "union",
|
"type": "union",
|
||||||
"refs": [
|
"refs": [
|
||||||
"my.spoor.log.activity#indexProgress"
|
"#progressIndex"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"performedAt": {
|
"performedAt": {
|
||||||
|
|
@ -31,9 +31,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"indexProgress": {
|
"progressIndex": {
|
||||||
"type": "integer",
|
"type": "object",
|
||||||
"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