diff --git a/veilid-python/veilid/schema/RecvMessage.json b/veilid-python/veilid/schema/RecvMessage.json index 142ebd10..0dd5791a 100644 --- a/veilid-python/veilid/schema/RecvMessage.json +++ b/veilid-python/veilid/schema/RecvMessage.json @@ -2719,6 +2719,17 @@ } } }, + "FourCC": { + "description": "FOURCC code", + "type": "array", + "items": { + "type": "integer", + "format": "uint8", + "minimum": 0.0 + }, + "maxItems": 4, + "minItems": 4 + }, "LatencyStats": { "type": "object", "required": [ @@ -3203,35 +3214,14 @@ "VeilidConfigCapabilities": { "type": "object", "required": [ - "protocol_accept_tcp", - "protocol_accept_ws", - "protocol_accept_wss", - "protocol_connect_tcp", - "protocol_connect_ws", - "protocol_connect_wss", - "protocol_udp" + "disable" ], "properties": { - "protocol_accept_tcp": { - "type": "boolean" - }, - "protocol_accept_ws": { - "type": "boolean" - }, - "protocol_accept_wss": { - "type": "boolean" - }, - "protocol_connect_tcp": { - "type": "boolean" - }, - "protocol_connect_ws": { - "type": "boolean" - }, - "protocol_connect_wss": { - "type": "boolean" - }, - "protocol_udp": { - "type": "boolean" + "disable": { + "type": "array", + "items": { + "$ref": "#/definitions/FourCC" + } } } }, diff --git a/veilid-python/veilid/types.py b/veilid-python/veilid/types.py index eef8cd1d..984e8cba 100644 --- a/veilid-python/veilid/types.py +++ b/veilid-python/veilid/types.py @@ -53,13 +53,13 @@ class CryptoKind(StrEnum): class Capability(StrEnum): - CAP_WILL_ROUTE = "ROUT" + CAP_ROUTE = "ROUT" CAP_TUNNEL = "TUNL" - CAP_WILL_SIGNAL = "SGNL" - CAP_WILL_RELAY = "RLAY" - CAP_WILL_VALIDATE_DIAL_INFO = "DIAL" - CAP_WILL_DHT = "DHTV" - CAP_WILL_APPMESSAGE = "APPM" + CAP_SIGNAL = "SGNL" + CAP_RELAY = "RLAY" + CAP_VALIDATE_DIAL_INFO = "DIAL" + CAP_DHT = "DHTV" + CAP_APPMESSAGE = "APPM" CAP_BLOCKSTORE = "BLOC"