mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Schema checking for all commands added
This commit is contained in:
11
libsrc/jsonserver/schema/schema.json
Normal file
11
libsrc/jsonserver/schema/schema.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"type":"object",
|
||||
"required":true,
|
||||
"properties":{
|
||||
"command": {
|
||||
"type" : "string",
|
||||
"required" : true,
|
||||
"enum" : ["color", "image", "serverinfo", "clear", "clearall", "transform"]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user