Small refactor of information

This commit is contained in:
DaanV2
2021-10-08 13:59:05 +02:00
parent 0184a67dd3
commit 9e2badace5
5 changed files with 7 additions and 46 deletions

View File

@@ -42,8 +42,9 @@
},
"properties": {
"triggers": {
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
"title": "Triggers",
"description": "The list of triggers that fire when the environment conditions match the given filter criteria.",
"examples": [[{ "cause": "all", "deals_damage": false }]],
"oneOf": [
{ "type": "array", "items": { "$ref": "#/definitions/trigger" } },
{ "type": "object", "$ref": "#/definitions/trigger" }