Make first_valid an array (#341)
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
"items": { "type": "string", "description": "A reference to a component group.", "title": "Component Groups" }
|
||||
},
|
||||
{
|
||||
"type": "string", "description": "A reference to a component group.", "title": "Component Groups"
|
||||
"type": "string",
|
||||
"description": "A reference to a component group.",
|
||||
"title": "Component Groups"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -116,18 +118,10 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vibration": {
|
||||
"enum": [
|
||||
"shear",
|
||||
"entity_act",
|
||||
"entity_interact"
|
||||
]
|
||||
"enum": ["shear", "entity_act", "entity_interact"]
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{ "vibration": "shear" },
|
||||
{ "vibration": "entity_act" },
|
||||
{ "vibration": "entity_interact" }
|
||||
]
|
||||
"examples": [{ "vibration": "shear" }, { "vibration": "entity_act" }, { "vibration": "entity_interact" }]
|
||||
},
|
||||
"set_property": {
|
||||
"title": "Set Property",
|
||||
@@ -228,9 +222,10 @@
|
||||
"first_valid": {
|
||||
"title": "First Valid",
|
||||
"description": "Will evaluate every filter in order and execute the first valid one",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": { }
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/event_base"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -303,18 +298,10 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vibration": {
|
||||
"enum": [
|
||||
"shear",
|
||||
"entity_act",
|
||||
"entity_interact"
|
||||
]
|
||||
"enum": ["shear", "entity_act", "entity_interact"]
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{ "vibration": "shear" },
|
||||
{ "vibration": "entity_act" },
|
||||
{ "vibration": "entity_interact" }
|
||||
]
|
||||
"examples": [{ "vibration": "shear" }, { "vibration": "entity_act" }, { "vibration": "entity_interact" }]
|
||||
},
|
||||
"set_property": {
|
||||
"title": "Set Property",
|
||||
|
||||
Reference in New Issue
Block a user