{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/QuestionResult", "title": "QuestionResult", "type": "object", "properties": { "id": { "type": "string", "example": "6f31147e-dd69-4ea9-8b75-2c5834b72ba2", "description": "A unique identifier of the question." }, "order": { "type": "string", "example": "1", "description": "The order of the question in the poll." }, "title": { "type": "string", "example": "What colors do you like?", "description": "The question." }, "type": { "type": "string", "enum": [ "single", "multiple", "short" ], "description": "The type of the question.\n * `single` - A single-answer question.\n * `multiple` - A multiple-answer question.\n * `short` - A text answer.\n" }, "answerSummary": { "type": "array", "items": { "$ref": "#/components/schemas/AnswerSummaryItem" }, "description": "Summary of all answers." }, "respondents": { "$ref": "#/components/schemas/RespondentsReferenceLinks", "description": "Question's respondents." } } }