Properties
| Name | Type | Description |
|---|---|---|
| name | string | Question text. |
| type | string | Question type. |
| answer_required | boolean | Whether an answer is required. |
| answers | array | Available answer options. |
| right_answers | array | Correct answers for quiz type polls. |
| prompts | array | Prompts for matching and rank order question types. |
| rating_min_value | integer | Minimum rating value for rating scale questions. |
| rating_max_value | integer | Maximum rating value for rating scale questions. |
| rating_min_label | string | Label for minimum rating value. |
| rating_max_label | string | Label for maximum rating value. |
| answer_min_character | integer | Minimum characters for short/long answer questions. |
| answer_max_character | integer | Maximum characters for short/long answer questions. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "PollQuestion",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Question text."
},
"type": {
"type": "string",
"description": "Question type."
},
"answer_required": {
"type": "boolean",
"description": "Whether an answer is required."
},
"answers": {
"type": "array",
"description": "Available answer options."
},
"right_answers": {
"type": "array",
"description": "Correct answers for quiz type polls."
},
"prompts": {
"type": "array",
"description": "Prompts for matching and rank order question types."
},
"rating_min_value": {
"type": "integer",
"description": "Minimum rating value for rating scale questions."
},
"rating_max_value": {
"type": "integer",
"description": "Maximum rating value for rating scale questions."
},
"rating_min_label": {
"type": "string",
"description": "Label for minimum rating value."
},
"rating_max_label": {
"type": "string",
"description": "Label for maximum rating value."
},
"answer_min_character": {
"type": "integer",
"description": "Minimum characters for short/long answer questions."
},
"answer_max_character": {
"type": "integer",
"description": "Maximum characters for short/long answer questions."
}
}
}