Fix settings data

This commit is contained in:
Jamie Curnow
2021-07-26 13:50:44 +10:00
parent 93721ef2d8
commit 2326a95d2a
5 changed files with 18 additions and 11 deletions

View File

@@ -2,11 +2,7 @@
"type": "object",
"description": "SettingObject",
"additionalProperties": false,
"required": [
"id",
"name",
"value"
],
"required": ["id", "name", "value"],
"properties": {
"id": {
"type": "integer",
@@ -25,6 +21,11 @@
"minLength": 2,
"maxLength": 100
},
"description": {
"type": "string",
"minLength": 0,
"maxLength": 100
},
"value": {
"oneOf": [
{
@@ -38,8 +39,11 @@
},
{
"type": "integer"
},
{
"type": "string"
}
]
}
}
}
}