Fixed events

This commit is contained in:
DaanV2
2020-11-17 19:19:15 +01:00
parent 0e61af33d5
commit e9eed3d078

View File

@@ -23,21 +23,9 @@
}
}
},
"event_base": {
"additionalProperties": false,
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"randomize": {
"title": "Randomize",
"description": "TODO description: randomize",
"type": "array",
"items": {
"required": ["weight"],
@@ -62,45 +50,45 @@
"description": "TODO description: weight",
"title": "Weight"
}
}
}
},
"description": "TODO description: randomize",
"title": "Randomize"
"event_base": {
"additionalProperties": false,
"type": "object",
"properties": {
"add": {
"title": "Add",
"$ref": "#/definitions/addremove",
"description": "The components groups to be added to this entity"
},
"description": "TODO description: randomize",
"title": "Randomize"
"filters": {
"$ref": "./filters.json"
},
"randomize": {
"type": "array",
"$ref": "#/definitions/randomize"
},
"remove": {
"title": "Remove",
"description": "The components groups and all its components to be removed",
"$ref": "#/definitions/addremove"
},
"sequence": {
"description": "A series of filters and components to be added",
"title": "Sequences",
"type": "array",
"items": {
"description": "TODO description: sequence",
"title": "Sequence",
"type": "object",
"properties": {
"add": {
"$ref": "#/definitions/addremove",
"description": "TODO description: add",
"title": "Add"
},
"remove": {
"$ref": "#/definitions/addremove",
"description": "TODO description: remove",
"title": "Remove"
},
"filters": {
"$ref": "./filters.json"
"$ref": "#/definitions/event_base"
}
}
},
"description": "A series of filters and components to be added",
"title": "Sequences"
},
"filters": {
"$ref": "./filters.json"
},
"trigger": {
"type": "string",
"description": "UNDOCUMENTATED",
"title": "UNDOCUMENTATED"
"description": "The event to run",
"title": "Trigger"
}
}
}