update schemas

This commit is contained in:
Joel Wetzell
2026-09-11 09:18:44 -05:00
parent 14af2c1806
commit 397cfcba2e
2 changed files with 1677 additions and 1635 deletions
+342 -342
View File
@@ -5,6 +5,215 @@
"description": "module configurations",
"items": {
"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",
"additionalProperties": false,
@@ -105,6 +314,45 @@
"title": "NATS Client",
"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",
"additionalProperties": false,
@@ -215,209 +463,6 @@
"title": "TCP Server",
"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",
"additionalProperties": false,
@@ -503,7 +548,7 @@
"type": "object"
},
{
"$id": "websocket.client",
"$id": "net.udp.server",
"additionalProperties": false,
"properties": {
"id": {
@@ -513,114 +558,26 @@
"params": {
"additionalProperties": false,
"properties": {
"url": {
"description": "the URL of the WebSocket server to connect",
"title": "URL",
"type": "string"
}
"bufferSize": {
"default": 2048,
"description": "the size of the buffer for incoming UDP messages",
"maximum": 65535,
"minimum": 1,
"title": "Buffer Size",
"type": "integer"
},
"required": [
"url"
],
"type": "object"
},
"type": {
"const": "websocket.client"
}
},
"required": [
"id",
"type",
"params"
],
"title": "WebSocket Client",
"type": "object"
},
{
"$id": "db.postgres",
"additionalProperties": false,
"properties": {
"id": {
"minLength": 1,
"ip": {
"default": "0.0.0.0",
"description": "the IP address to bind the UDP server to",
"title": "IP",
"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": {
"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",
"type": "string"
"type": "integer"
}
},
"required": [
@@ -629,7 +586,7 @@
"type": "object"
},
"type": {
"const": "midi.input"
"const": "net.udp.server"
}
},
"required": [
@@ -637,7 +594,68 @@
"type",
"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"
},
{
@@ -728,7 +746,7 @@
"type": "object"
},
{
"$id": "net.udp.server",
"$id": "time.timer",
"additionalProperties": false,
"properties": {
"id": {
@@ -738,35 +756,19 @@
"params": {
"additionalProperties": false,
"properties": {
"bufferSize": {
"default": 2048,
"description": "the size of the buffer for incoming UDP messages",
"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",
"duration": {
"description": "time in milliseconds before the timer fires",
"title": "Duration",
"type": "integer"
}
},
"required": [
"port"
"duration"
],
"type": "object"
},
"type": {
"const": "net.udp.server"
"const": "time.timer"
}
},
"required": [
@@ -774,11 +776,11 @@
"type",
"params"
],
"title": "UDP Server",
"title": "Timer",
"type": "object"
},
{
"$id": "http.server",
"$id": "websocket.client",
"additionalProperties": false,
"properties": {
"id": {
@@ -788,21 +790,19 @@
"params": {
"additionalProperties": false,
"properties": {
"port": {
"description": "the port for the HTTP server to listen on",
"maximum": 65535,
"minimum": 1024,
"title": "Port",
"type": "integer"
"url": {
"description": "the URL of the WebSocket server to connect",
"title": "URL",
"type": "string"
}
},
"required": [
"port"
"url"
],
"type": "object"
},
"type": {
"const": "http.server"
"const": "websocket.client"
}
},
"required": [
@@ -810,7 +810,7 @@
"type",
"params"
],
"title": "HTTP Server",
"title": "WebSocket Client",
"type": "object"
}
]
File diff suppressed because it is too large Load Diff