oms-Checklist/Docs/Dev/en/specification.md
Dennis Eichhorn 4d2ad3509a
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:04 +00:00

57 lines
965 B
Markdown

# Specification
```json
{
"elements": [
{
"create_task": 1,
"type": 1,
"optional": 0,
"description": "",
"text": "",
"labels": [],
"values": []
}
]
}
```
e.g.
Task description - Labels/values - who? - until_when - when_actually - reference (e.g. task)
Should have a checklist status, usually set/checked with every change. But can also be manually set, e.g. if you want to cancel a checklist/close it without finishing it.
SURVEY!!!!!
```json
{
"elements": [
{
"type": 1,
"optional": 0,
"description": "",
"text": "",
"labels": [],
"values": []
}
]
}
```
## Type
* 1 = Headline
* 2 = Checkbox
* 3 = Radio
* 4 = Textfield
* 5 = Dropdown
## Text
Headline/question, ...
## Labels
In case this element has different labels