This commit is contained in:
DaanV2
2022-07-20 21:12:56 +02:00
parent cd299a7477
commit a813fbf6da
2 changed files with 18 additions and 14 deletions

View File

@@ -9,13 +9,8 @@
"priority": { "$ref": "./types/priority.json" },
"duration": {
"title": "Duration",
"type": "array",
"items": [
{ "type": "number", "title": "Mininum" },
{ "type": "number", "title": "Maximum" }
],
"default": [4.5, 4.5],
"description": "Random range in seconds after which the croaking stops. Can also be a constant."
"description": "Random range in seconds after which the croaking stops. Can also be a constant.",
"$ref": "../../../../general/vectors/integer2OrValue.json"
},
"filters": {
"title": "Filters",
@@ -24,13 +19,8 @@
},
"interval": {
"title": "Interval",
"type": "array",
"items": [
{ "type": "number", "title": "Mininum" },
{ "type": "number", "title": "Maximum" }
],
"default": [10, 20],
"description": "Random range in seconds between runs of this behavior. Can also be a constant."
"description": "Random range in seconds between runs of this behavior. Can also be a constant.",
"$ref": "../../../../general/vectors/integer2OrValue.json"
}
}
}

View File

@@ -0,0 +1,14 @@
{
"oneOf": [
{
"type": "array",
"$ref": "./interger2.json"
},
{
"title": "Value",
"type": "integer"
}
],
"examples": [0, [0, 10]],
"defaultSnippets": [{ "label": "New Array 2", "body": ["^$1", "^$2"] }]
}