42 lines
974 B
JSON
42 lines
974 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://go-sip.local/contracts/schema/mq-task-control-receipt.schema.json",
|
|
"title": "Dispatcher to SaaS: task.control receipt; external SaaS compatibility unverified",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"event_id",
|
|
"event_type",
|
|
"dispatcher_id",
|
|
"tenant_id",
|
|
"payload"
|
|
],
|
|
"properties": {
|
|
"event_id": {
|
|
"$ref": "./common.schema.json#/$defs/event_id"
|
|
},
|
|
"event_type": {
|
|
"const": "task.control"
|
|
},
|
|
"dispatcher_id": {
|
|
"$ref": "./common.schema.json#/$defs/dispatcher_id"
|
|
},
|
|
"tenant_id": {
|
|
"$ref": "./common.schema.json#/$defs/tenant_id"
|
|
},
|
|
"payload": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"status"
|
|
],
|
|
"properties": {
|
|
"status": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|