Schema Structure
This category uses the standard QR code category structure.Components Used
This category uses the following components:Schema
Copy
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"title": "Feedback category",
"examples": [],
"additionalProperties": false,
"items": {
"type": "object",
"required": [
"type",
"data"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string",
"enum": [
"page_layout",
"design_info",
"logo_section",
"start_page",
"custom_form",
"success_page",
"page_settings"
]
},
"data": {
"type": "object"
}
},
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "page_layout"
}
}
},
"then": {
"properties": {
"data": {
"type": "object",
"properties": {
"templateName": {
"type": "string"
},
"themeId": {
"type": [
"string",
"number"
]
}
},
"additionalProperties": false
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "design_info"
}
}
},
"then": {
"properties": {
"data": {
"$ref": "components/design_info.json"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "logo_section"
}
}
},
"then": {
"properties": {
"data": {
"$ref": "components/logo_section.json"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "start_page"
}
}
},
"then": {
"properties": {
"data": {
"$ref": "components/start_page.json"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "custom_form"
}
}
},
"then": {
"properties": {
"data": {
"$ref": "components/custom_form.json"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "page_settings"
}
}
},
"then": {
"properties": {
"data": {
"$ref": "components/page_settings.json"
}
}
}
}
]
}
}