feat: with schema

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2023-07-02 00:47:14 +02:00
parent 6a82e0c10a
commit 12bd424f18
8 changed files with 164 additions and 23 deletions

View File

@@ -70,6 +70,29 @@
"patternProperties": {
"^.*$": {
"anyOf": [
{
"type": "object",
"required": [
"type",
"name"
],
"properties": {
"type": {
"enum": [
"flag"
]
},
"name": {
"type": "string"
},
"required": {
"type": "boolean"
},
"default": {
"type": "string"
}
}
},
{
"type": "object",
"required": [