124 lines
2.2 KiB
JSON
124 lines
2.2 KiB
JSON
|
|
{
|
||
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
|
|
"$id": "hololake://schemas/contribution-event/v0.1",
|
||
|
|
"title": "HoloLake Contribution Event",
|
||
|
|
"type": "object",
|
||
|
|
"required": [
|
||
|
|
"event_id",
|
||
|
|
"channel_id",
|
||
|
|
"human_subjects",
|
||
|
|
"persona_subjects",
|
||
|
|
"checkpoint_at",
|
||
|
|
"timezone",
|
||
|
|
"contributions",
|
||
|
|
"evidence_refs",
|
||
|
|
"completed_with_receipts",
|
||
|
|
"unfinished",
|
||
|
|
"next_restore_route",
|
||
|
|
"state"
|
||
|
|
],
|
||
|
|
"properties": {
|
||
|
|
"event_id": {
|
||
|
|
"type": "string",
|
||
|
|
"minLength": 1
|
||
|
|
},
|
||
|
|
"channel_id": {
|
||
|
|
"type": "string",
|
||
|
|
"minLength": 1
|
||
|
|
},
|
||
|
|
"human_subjects": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"persona_subjects": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"started_at": {
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"checkpoint_at": {
|
||
|
|
"type": "string",
|
||
|
|
"format": "date-time"
|
||
|
|
},
|
||
|
|
"ended_at": {
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"timezone": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"human_original_words": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"confirmed_goal": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"corrections": {
|
||
|
|
"type": "array"
|
||
|
|
},
|
||
|
|
"contributions": {
|
||
|
|
"type": "array"
|
||
|
|
},
|
||
|
|
"evidence_refs": {
|
||
|
|
"type": "array"
|
||
|
|
},
|
||
|
|
"completed_with_receipts": {
|
||
|
|
"type": "array"
|
||
|
|
},
|
||
|
|
"unfinished": {
|
||
|
|
"type": "array"
|
||
|
|
},
|
||
|
|
"unknown_or_stale": {
|
||
|
|
"type": "array"
|
||
|
|
},
|
||
|
|
"contribution_value_delta": {
|
||
|
|
"type": [
|
||
|
|
"object",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"next_restore_route": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"next_action": {
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"state": {
|
||
|
|
"type": "string",
|
||
|
|
"enum": [
|
||
|
|
"CAPTURED",
|
||
|
|
"STRUCTURED",
|
||
|
|
"EVIDENCE_LINKED",
|
||
|
|
"VERIFIED",
|
||
|
|
"ADOPTED",
|
||
|
|
"OPERATING",
|
||
|
|
"BLOCKED",
|
||
|
|
"SUPERSEDED",
|
||
|
|
"REVOKED",
|
||
|
|
"DEGRADED",
|
||
|
|
"RECOVERED",
|
||
|
|
"LOCAL_KNOWLEDGE_WRITTEN"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": true
|
||
|
|
}
|