73 行
1.3 KiB
JSON
73 行
1.3 KiB
JSON
|
|
{
|
||
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
|
|
"additionalProperties": false,
|
||
|
|
"description": "Two-stage wire representation used before a payload type is trusted.",
|
||
|
|
"properties": {
|
||
|
|
"conversationId": {
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"eventId": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"eventType": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"messageId": {
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"payload": true,
|
||
|
|
"profileId": {
|
||
|
|
"description": "This value is never used as the local profile binding.",
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"protocolVersion": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"requestId": {
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"sequence": {
|
||
|
|
"format": "uint64",
|
||
|
|
"minimum": 0,
|
||
|
|
"type": [
|
||
|
|
"integer",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"serverInstanceId": {
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"sessionId": {
|
||
|
|
"type": [
|
||
|
|
"string",
|
||
|
|
"null"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"timestamp": {
|
||
|
|
"type": "string"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"protocolVersion",
|
||
|
|
"eventType",
|
||
|
|
"eventId",
|
||
|
|
"serverInstanceId",
|
||
|
|
"timestamp",
|
||
|
|
"payload"
|
||
|
|
],
|
||
|
|
"title": "ProtocolEnvelope",
|
||
|
|
"type": "object"
|
||
|
|
}
|