oms-Checklist/Docs/Dev/en/specification.md
2022-02-19 13:57:38 +01:00

782 B
Executable File

Specification

{
	"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!!!!!

{
	"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