Webex · Schema
QuestionWithAnswersObject
CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing
Properties
| Name | Type | Description |
|---|---|---|
| id | number | Unique identifier for the question. |
| question | string | Details for the question. |
| type | string | Type for the question. * `text` - Text input. * `rating` - Rating. * `checkbox` - Check box which requires `options`. * `singleDropdown` - Drop down list box which requires `options`. * `singleRadio` |
| answers | array | The user's answers for the question. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/QuestionWithAnswersObject",
"title": "QuestionWithAnswersObject",
"type": "object",
"required": [
"id",
"question",
"type"
],
"properties": {
"id": {
"type": "number",
"example": 3388057,
"description": "Unique identifier for the question."
},
"question": {
"type": "string",
"example": "Do you like cisco?",
"description": "Details for the question."
},
"type": {
"type": "string",
"enum": [
"text",
"rating",
"checkbox",
"singleDropdown",
"singleRadio"
],
"description": "Type for the question.\n * `text` - Text input.\n * `rating` - Rating.\n * `checkbox` - Check box which requires `options`.\n * `singleDropdown` - Drop down list box which requires `options`.\n * `singleRadio` - Single radio button which requires `options`.\n"
},
"answers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/QuestionAnswerObject"
},
"description": "The user's answers for the question."
}
}
}