Add isolated SIP call tool, optional debug capture and split interface schemas
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://go-sip.local/contracts/schema/mq-call-execute-request.schema.json",
|
||||
"title": "SaaS to Dispatcher: call.execute request; external SaaS compatibility unverified",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"event_id",
|
||||
"event_type",
|
||||
"dispatcher_id",
|
||||
"tenant_id",
|
||||
"issued_at",
|
||||
"payload"
|
||||
],
|
||||
"properties": {
|
||||
"event_id": {
|
||||
"$ref": "./common.schema.json#/$defs/event_id"
|
||||
},
|
||||
"event_type": {
|
||||
"const": "call.execute"
|
||||
},
|
||||
"dispatcher_id": {
|
||||
"$ref": "./common.schema.json#/$defs/dispatcher_id"
|
||||
},
|
||||
"tenant_id": {
|
||||
"$ref": "./common.schema.json#/$defs/tenant_id"
|
||||
},
|
||||
"issued_at": {
|
||||
"$ref": "./common.schema.json#/$defs/issued_at"
|
||||
},
|
||||
"payload": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"task_id",
|
||||
"callee"
|
||||
],
|
||||
"properties": {
|
||||
"task_id": {
|
||||
"$ref": "./common.schema.json#/$defs/task_id"
|
||||
},
|
||||
"callee": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"description": "SaaS event original callee; Dispatcher rejects non-ASCII digits or more than 32 digits with an application receipt after persisting the event"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user