Fixing
This commit is contained in:
@@ -9,13 +9,8 @@
|
|||||||
"priority": { "$ref": "./types/priority.json" },
|
"priority": { "$ref": "./types/priority.json" },
|
||||||
"duration": {
|
"duration": {
|
||||||
"title": "Duration",
|
"title": "Duration",
|
||||||
"type": "array",
|
"description": "Random range in seconds after which the croaking stops. Can also be a constant.",
|
||||||
"items": [
|
"$ref": "../../../../general/vectors/integer2OrValue.json"
|
||||||
{ "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."
|
|
||||||
},
|
},
|
||||||
"filters": {
|
"filters": {
|
||||||
"title": "Filters",
|
"title": "Filters",
|
||||||
@@ -24,13 +19,8 @@
|
|||||||
},
|
},
|
||||||
"interval": {
|
"interval": {
|
||||||
"title": "Interval",
|
"title": "Interval",
|
||||||
"type": "array",
|
"description": "Random range in seconds between runs of this behavior. Can also be a constant.",
|
||||||
"items": [
|
"$ref": "../../../../general/vectors/integer2OrValue.json"
|
||||||
{ "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."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
14
source/general/vectors/integer2OrValue.json
Normal file
14
source/general/vectors/integer2OrValue.json
Normal 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"] }]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user