This commit is contained in:
DaanV2
2022-02-08 16:15:37 +01:00
parent f0ddacb3bd
commit f0257da10d

View File

@@ -21,25 +21,17 @@
"time": { "time": {
"description": "Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (Minimum and max). Incompatible with random_time_choices.", "description": "Amount of time in seconds for the timer. Can be specified as a number or a pair of numbers (Minimum and max). Incompatible with random_time_choices.",
"title": "Time", "title": "Time",
"examples": [1, [1.0, 5.0]],
"oneOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"default": [0.0, 0.0], "default": [0.0, 0.0],
"items": [ "items": [
{ { "type": "number", "title": "Minimum" },
"type": "number", { "type": "number", "title": "Maximum" }
"title": "A"
},
{
"type": "number",
"title": "B"
}
] ]
}, },
{ { "type": "number", "default": 0 }
"type": "number",
"default": 0
}
] ]
}, },
"time_down_event": { "time_down_event": {
@@ -75,9 +67,9 @@
}, },
"examples": [ "examples": [
{ {
"time": 1,
"looping": true, "looping": true,
"randomInterval": true, "time_down_event": "self:reset"
"random_time_choices": []
} }
] ]
} }