70 行
1.4 KiB
JSON
70 行
1.4 KiB
JSON
{
|
|
"$defs": {
|
|
"CapabilityLimits": {
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"maxActiveConnections": {
|
|
"format": "uint8",
|
|
"maximum": 255,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"maxEventBytes": {
|
|
"format": "uint64",
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"maxMessageBytes": {
|
|
"format": "uint64",
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"replayWindowEvents": {
|
|
"format": "uint32",
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"maxEventBytes",
|
|
"maxMessageBytes",
|
|
"replayWindowEvents",
|
|
"maxActiveConnections"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"features": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"limits": {
|
|
"$ref": "#/$defs/CapabilityLimits"
|
|
},
|
|
"localActionTools": {
|
|
"default": [],
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"protocolVersions": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"protocolVersions",
|
|
"features",
|
|
"limits"
|
|
],
|
|
"title": "ServerCapabilities",
|
|
"type": "object"
|
|
}
|