Updated comments

This commit is contained in:
DaanV2
2021-07-02 13:05:57 +02:00
parent dd28b6a467
commit 90a39eba44
67 changed files with 350 additions and 310 deletions

View File

@@ -14,7 +14,7 @@
"title": "Component Groups",
"description": "The components groups to add or remove",
"type": "array",
"items": { "type": "string", "description": "UNDOCUMENTATED: component groups", "title": "Component Groups" }
"items": { "type": "string", "description": "UNDOCUMENTED: component groups", "title": "Component Groups" }
}
}
},
@@ -26,24 +26,29 @@
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"randomize": {
"type": "array",
"title": "Randomize",
"description": "Randomly selects one of the following items based upon their weight and the total weights",
"items": {
"required": ["weight"],
"title": "Randomize",
"description": "Randomly selects one of the following items based upon their weight and the total weights",
"properties": {
"add": { "$ref": "#/definitions/addremove", "description": "What gets added when the event gets triggered", "title": "Add" },
"remove": { "$ref": "#/definitions/addremove", "description": "What gets removed when the event gets triggered", "title": "Remove" },
"trigger": { "type": "string", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "title": "Trigger" },
"weight": { "type": "number", "description": "UNDOCUMENTATED: weight", "title": "Weight" }
},
"description": "UNDOCUMENTATED: randomize",
"title": "Randomize"
},
"description": "UNDOCUMENTATED: randomize",
"title": "Randomize"
"trigger": { "type": "string", "description": "Triggers additional events", "$comment": "UNDOCUMENTED", "title": "Trigger" },
"weight": {
"type": "number",
"description": "The weight on how likely this section is to trigger",
"$comment": "UNDOCUMENTED",
"title": "Weight"
}
}
}
},
"sequence": {
"type": "array",
"items": {
"description": "UNDOCUMENTATED: sequence",
"description": "Filters and components to be added",
"title": "Sequence",
"type": "object",
"properties": {