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,
|
||||
"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": {
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
"minLength": 1,
|
||||
"items": {
|
||||
"type": "ref",
|
||||
"ref": "my.spoor.content.title"
|
||||
"ref": "my.spoor.content.defs#title"
|
||||
}
|
||||
},
|
||||
"source": {
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
"minLength": 1,
|
||||
"items": {
|
||||
"type": "ref",
|
||||
"ref": "my.spoor.content.title"
|
||||
"ref": "my.spoor.content.defs#title"
|
||||
}
|
||||
},
|
||||
"durationData": {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue