Template schema updates

Some changes where not reflected in the schema
This commit is contained in:
Andreas Linde 2022-10-08 13:48:29 +02:00
parent 58cb88b068
commit 9ec63b4d91
No known key found for this signature in database
GPG key ID: 96178502495847D9

View file

@ -10,6 +10,12 @@
"template": {
"$": "#/definitions/Template"
},
"covers": {
"type": "array",
"items": {
"type": "string"
}
},
"products": {
"type": "array",
"items": {
@ -19,8 +25,11 @@
"group": {
"$ref": "#/definitions/Groups"
},
"guidedsetup": {
"$ref": "#/definitions/GuidedSetup"
"linked": {
"type": "array",
"items": {
"$ref": "#/definitions/Linked"
}
},
"capabilities": {
"type": "array",
@ -58,7 +67,7 @@
},
"required": ["name"],
"title": "Template"
},
},
"Product": {
"type": "object",
"additionalProperties": false,
@ -80,22 +89,6 @@
"type": "string",
"enum": ["generic", "switchsockets", "scooter", "sockets"]
},
"GuidedSetup": {
"type": "object",
"additionalProperties": false,
"properties": {
"enable": {
"type": "boolean"
},
"linked": {
"type": "array",
"items": {
"$ref": "#/definitions/Linked"
}
}
},
"required": ["enable"]
},
"Linked": {
"type": "object",
"additionalProperties": false,