Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Poll ID. |
| title | string | Poll title. |
| anonymous | boolean | Whether this is an anonymous poll. |
| status | string | Poll status. |
| poll_type | integer | Type of poll. 1 - Poll, 2 - Advanced Poll, 3 - Quiz. |
| questions | array | List of questions in the poll. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Poll",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Poll ID."
},
"title": {
"type": "string",
"description": "Poll title."
},
"anonymous": {
"type": "boolean",
"description": "Whether this is an anonymous poll."
},
"status": {
"type": "string",
"description": "Poll status."
},
"poll_type": {
"type": "integer",
"description": "Type of poll. 1 - Poll, 2 - Advanced Poll, 3 - Quiz."
},
"questions": {
"type": "array",
"description": "List of questions in the poll."
}
}
}