May be outdated, needs review asap.
The question data (question format and answer format) is stored in JSONB which is schemaless, so the format is described here.
Question data example:
{
"data": {
"label": "Example label",
"description": "Example description"
}
}
Feedback data example:
{
"data": "1"
}
Question data example:
{
"data": {
"label": "Example label",
"options": [{ "label": "Example option label", "id": "5cc74529-5ea4-4c24-9365-568d7a792cda" }]
}
}
Feedback data example:
{
"data": "5cc74529-5ea4-4c24-9365-568d7a792cda"
}
Question data example:
{
"data": {
"label": "Example label",
"options": [{ "label": "Example option label", "id": "5cc74529-5ea4-4c24-9365-568d7a792cda" }]
}
}
Feedback data example:
{
"data": ["5cc74529-5ea4-4c24-9365-568d7a792cda"]
}
Question data example:
{
"data": {
"label": "Example label"
}
}
Feedback data example:
{
"data": "Example open feedback"
}