mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-09-13 07:49:25 +00:00
update schemas
This commit is contained in:
+342
-342
@@ -5,6 +5,215 @@
|
|||||||
"description": "module configurations",
|
"description": "module configurations",
|
||||||
"items": {
|
"items": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"$id": "db.mysql",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"dsn": {
|
||||||
|
"description": "the connection DSN for the MySQL database",
|
||||||
|
"minLength": 1,
|
||||||
|
"title": "Database DSN",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"dsn"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "db.mysql"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type",
|
||||||
|
"params"
|
||||||
|
],
|
||||||
|
"title": "MySQL Database",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$id": "db.postgres",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"url": {
|
||||||
|
"description": "the connection URL for the PostgreSQL database",
|
||||||
|
"minLength": 1,
|
||||||
|
"title": "Database URL",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"url"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "db.postgres"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type",
|
||||||
|
"params"
|
||||||
|
],
|
||||||
|
"title": "PostgreSQL Database",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$id": "db.sqlite",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"dsn": {
|
||||||
|
"description": "the data source name (DSN) for the SQLite database",
|
||||||
|
"minLength": 1,
|
||||||
|
"title": "Data Source Name",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"dsn"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "db.sqlite"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type",
|
||||||
|
"params"
|
||||||
|
],
|
||||||
|
"title": "SQLite Database",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$id": "http.server",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"port": {
|
||||||
|
"description": "the port for the HTTP server to listen on",
|
||||||
|
"maximum": 65535,
|
||||||
|
"minimum": 1024,
|
||||||
|
"title": "Port",
|
||||||
|
"type": "integer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"port"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "http.server"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type",
|
||||||
|
"params"
|
||||||
|
],
|
||||||
|
"title": "HTTP Server",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$id": "midi.input",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"port": {
|
||||||
|
"description": "the name of the MIDI port to listen to",
|
||||||
|
"title": "Port",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"port"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "midi.input"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type",
|
||||||
|
"params"
|
||||||
|
],
|
||||||
|
"title": "MIDI Input",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$id": "midi.output",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"port": {
|
||||||
|
"description": "the name of the MIDI port to send messages to",
|
||||||
|
"title": "Port",
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"port"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "midi.output"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type",
|
||||||
|
"params"
|
||||||
|
],
|
||||||
|
"title": "MIDI Output",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$id": "mqtt.client",
|
"$id": "mqtt.client",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@@ -105,6 +314,45 @@
|
|||||||
"title": "NATS Client",
|
"title": "NATS Client",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$id": "nats.server",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"ip": {
|
||||||
|
"default": "0.0.0.0",
|
||||||
|
"description": "the IP address to bind the NATS server to",
|
||||||
|
"title": "IP",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"port": {
|
||||||
|
"default": 4222,
|
||||||
|
"description": "the port for the NATS server to listen on",
|
||||||
|
"maximum": 65535,
|
||||||
|
"minimum": 1024,
|
||||||
|
"title": "Port",
|
||||||
|
"type": "integer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "nats.server"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"title": "NATS Server",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$id": "net.tcp.client",
|
"$id": "net.tcp.client",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@@ -215,209 +463,6 @@
|
|||||||
"title": "TCP Server",
|
"title": "TCP Server",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"$id": "midi.output",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"port": {
|
|
||||||
"description": "the name of the MIDI port to send messages to",
|
|
||||||
"title": "Port",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"port"
|
|
||||||
],
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "midi.output"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type",
|
|
||||||
"params"
|
|
||||||
],
|
|
||||||
"title": "MIDI Output",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "psn.client",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "psn.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type"
|
|
||||||
],
|
|
||||||
"title": "PosiStageNet Client",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "db.mysql",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"dsn": {
|
|
||||||
"description": "the connection DSN for the MySQL database",
|
|
||||||
"minLength": 1,
|
|
||||||
"title": "Database DSN",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"dsn"
|
|
||||||
],
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "db.mysql"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type",
|
|
||||||
"params"
|
|
||||||
],
|
|
||||||
"title": "MySQL Database",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "nats.server",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"ip": {
|
|
||||||
"default": "0.0.0.0",
|
|
||||||
"description": "the IP address to bind the NATS server to",
|
|
||||||
"title": "IP",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"port": {
|
|
||||||
"default": 4222,
|
|
||||||
"description": "the port for the NATS server to listen on",
|
|
||||||
"maximum": 65535,
|
|
||||||
"minimum": 1024,
|
|
||||||
"title": "Port",
|
|
||||||
"type": "integer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "nats.server"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type"
|
|
||||||
],
|
|
||||||
"title": "NATS Server",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "redis.client",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"host": {
|
|
||||||
"description": "the hostname or IP address of the Redis server to connect to",
|
|
||||||
"title": "Host",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"port": {
|
|
||||||
"description": "the port to use when connecting to the Redis server",
|
|
||||||
"maximum": 65535,
|
|
||||||
"minimum": 1,
|
|
||||||
"title": "Port",
|
|
||||||
"type": "integer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"host",
|
|
||||||
"port"
|
|
||||||
],
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "redis.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type",
|
|
||||||
"params"
|
|
||||||
],
|
|
||||||
"title": "Redis Client",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "time.timer",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"duration": {
|
|
||||||
"description": "time in milliseconds before the timer fires",
|
|
||||||
"title": "Duration",
|
|
||||||
"type": "integer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"duration"
|
|
||||||
],
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "time.timer"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type",
|
|
||||||
"params"
|
|
||||||
],
|
|
||||||
"title": "Timer",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"$id": "net.udp.client",
|
"$id": "net.udp.client",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
@@ -503,7 +548,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$id": "websocket.client",
|
"$id": "net.udp.server",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
@@ -513,114 +558,26 @@
|
|||||||
"params": {
|
"params": {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"url": {
|
"bufferSize": {
|
||||||
"description": "the URL of the WebSocket server to connect",
|
"default": 2048,
|
||||||
"title": "URL",
|
"description": "the size of the buffer for incoming UDP messages",
|
||||||
"type": "string"
|
"maximum": 65535,
|
||||||
}
|
"minimum": 1,
|
||||||
|
"title": "Buffer Size",
|
||||||
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"required": [
|
"ip": {
|
||||||
"url"
|
"default": "0.0.0.0",
|
||||||
],
|
"description": "the IP address to bind the UDP server to",
|
||||||
"type": "object"
|
"title": "IP",
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "websocket.client"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type",
|
|
||||||
"params"
|
|
||||||
],
|
|
||||||
"title": "WebSocket Client",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "db.postgres",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"url": {
|
|
||||||
"description": "the connection URL for the PostgreSQL database",
|
|
||||||
"minLength": 1,
|
|
||||||
"title": "Database URL",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"url"
|
|
||||||
],
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "db.postgres"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type",
|
|
||||||
"params"
|
|
||||||
],
|
|
||||||
"title": "PostgreSQL Database",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "db.sqlite",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"dsn": {
|
|
||||||
"description": "the data source name (DSN) for the SQLite database",
|
|
||||||
"minLength": 1,
|
|
||||||
"title": "Data Source Name",
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"dsn"
|
|
||||||
],
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
"type": {
|
|
||||||
"const": "db.sqlite"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"id",
|
|
||||||
"type",
|
|
||||||
"params"
|
|
||||||
],
|
|
||||||
"title": "SQLite Database",
|
|
||||||
"type": "object"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$id": "midi.input",
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"id": {
|
|
||||||
"minLength": 1,
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"params": {
|
|
||||||
"additionalProperties": false,
|
|
||||||
"properties": {
|
|
||||||
"port": {
|
"port": {
|
||||||
"description": "the name of the MIDI port to listen to",
|
"description": "the port for the UDP server to listen on",
|
||||||
|
"maximum": 65535,
|
||||||
|
"minimum": 1024,
|
||||||
"title": "Port",
|
"title": "Port",
|
||||||
"type": "string"
|
"type": "integer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@@ -629,7 +586,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"const": "midi.input"
|
"const": "net.udp.server"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@@ -637,7 +594,68 @@
|
|||||||
"type",
|
"type",
|
||||||
"params"
|
"params"
|
||||||
],
|
],
|
||||||
"title": "MIDI Input",
|
"title": "UDP Server",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$id": "psn.client",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "psn.client"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"title": "PosiStageNet Client",
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$id": "redis.client",
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"minLength": 1,
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"params": {
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"host": {
|
||||||
|
"description": "the hostname or IP address of the Redis server to connect to",
|
||||||
|
"title": "Host",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"port": {
|
||||||
|
"description": "the port to use when connecting to the Redis server",
|
||||||
|
"maximum": 65535,
|
||||||
|
"minimum": 1,
|
||||||
|
"title": "Port",
|
||||||
|
"type": "integer"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"host",
|
||||||
|
"port"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"const": "redis.client"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"id",
|
||||||
|
"type",
|
||||||
|
"params"
|
||||||
|
],
|
||||||
|
"title": "Redis Client",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -728,7 +746,7 @@
|
|||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$id": "net.udp.server",
|
"$id": "time.timer",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
@@ -738,35 +756,19 @@
|
|||||||
"params": {
|
"params": {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"bufferSize": {
|
"duration": {
|
||||||
"default": 2048,
|
"description": "time in milliseconds before the timer fires",
|
||||||
"description": "the size of the buffer for incoming UDP messages",
|
"title": "Duration",
|
||||||
"maximum": 65535,
|
|
||||||
"minimum": 1,
|
|
||||||
"title": "Buffer Size",
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"ip": {
|
|
||||||
"default": "0.0.0.0",
|
|
||||||
"description": "the IP address to bind the UDP server to",
|
|
||||||
"title": "IP",
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"port": {
|
|
||||||
"description": "the port for the UDP server to listen on",
|
|
||||||
"maximum": 65535,
|
|
||||||
"minimum": 1024,
|
|
||||||
"title": "Port",
|
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"port"
|
"duration"
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"const": "net.udp.server"
|
"const": "time.timer"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@@ -774,11 +776,11 @@
|
|||||||
"type",
|
"type",
|
||||||
"params"
|
"params"
|
||||||
],
|
],
|
||||||
"title": "UDP Server",
|
"title": "Timer",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$id": "http.server",
|
"$id": "websocket.client",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
@@ -788,21 +790,19 @@
|
|||||||
"params": {
|
"params": {
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
"port": {
|
"url": {
|
||||||
"description": "the port for the HTTP server to listen on",
|
"description": "the URL of the WebSocket server to connect",
|
||||||
"maximum": 65535,
|
"title": "URL",
|
||||||
"minimum": 1024,
|
"type": "string"
|
||||||
"title": "Port",
|
|
||||||
"type": "integer"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"port"
|
"url"
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"const": "http.server"
|
"const": "websocket.client"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
@@ -810,7 +810,7 @@
|
|||||||
"type",
|
"type",
|
||||||
"params"
|
"params"
|
||||||
],
|
],
|
||||||
"title": "HTTP Server",
|
"title": "WebSocket Client",
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
+1333
-1291
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user