Update schemata to accommodate changes to WebSockets

This commit is contained in:
Danielle McLean 2025-01-23 18:57:11 +11:00
parent b9039b2ad4
commit b41339a8c5
Signed by: 00dani
GPG key ID: 6854781A0488421C
2 changed files with 3 additions and 29 deletions

View file

@ -5,9 +5,6 @@
"kind": { "kind": {
"const": "cocoa", "const": "cocoa",
"default": "cocoa", "default": "cocoa",
"enum": [
"cocoa"
],
"title": "Kind", "title": "Kind",
"type": "string" "type": "string"
} }
@ -52,28 +49,14 @@
"WebsocketsReceiverConfig": { "WebsocketsReceiverConfig": {
"properties": { "properties": {
"host": { "host": {
"anyOf": [
{
"format": "hostname",
"type": "string"
},
{
"items": {
"format": "hostname",
"type": "string"
},
"type": "array"
}
],
"description": "The hostname you'd like your WebSockets server to listen on. In most cases the default behaviour, which binds to all network interfaces, will be fine.", "description": "The hostname you'd like your WebSockets server to listen on. In most cases the default behaviour, which binds to all network interfaces, will be fine.",
"title": "Host" "format": "hostname",
"title": "Host",
"type": "string"
}, },
"kind": { "kind": {
"const": "websockets", "const": "websockets",
"default": "websockets", "default": "websockets",
"enum": [
"websockets"
],
"title": "Kind", "title": "Kind",
"type": "string" "type": "string"
}, },

View file

@ -136,9 +136,6 @@
}, },
{ {
"const": "oneshot", "const": "oneshot",
"enum": [
"oneshot"
],
"type": "string" "type": "string"
} }
], ],
@ -172,9 +169,6 @@
}, },
{ {
"const": "oneshot", "const": "oneshot",
"enum": [
"oneshot"
],
"type": "string" "type": "string"
} }
], ],
@ -328,9 +322,6 @@
"state": { "state": {
"const": "stop", "const": "stop",
"default": "stop", "default": "stop",
"enum": [
"stop"
],
"title": "State", "title": "State",
"type": "string" "type": "string"
} }