add JSON schema for config file

This commit is contained in:
Joel Wetzell
2025-12-20 08:24:27 -06:00
parent f766d0e2a4
commit b8ad912855
4 changed files with 1149 additions and 0 deletions

22
schema/routes.schema.json Normal file
View File

@@ -0,0 +1,22 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://showbridge.io/routes.schema.json",
"title": "Routes",
"description": "showbridge routes array",
"type": "array",
"items": {
"type": "object",
"properties": {
"input": {
"type": "string"
},
"processors": {
"$ref": "https://showbridge.io/processors.schema.json"
},
"output": {
"type": "string"
}
},
"required": ["input", "output"]
}
}