{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/communicate-so/json-schema/communicate-so-answer-grill-question-response-schema.json",
  "title": "answerGrillQuestionResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/communicate-so-grill-api-openapi.yml#/components/schemas/answerGrillQuestionResponse",
  "type": "object",
  "properties": {
    "question": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "position": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "question": {
          "type": "string"
        },
        "answer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "state": {
          "type": "string",
          "enum": [
            "unanswered",
            "answered",
            "skipped"
          ]
        }
      },
      "required": [
        "id",
        "position",
        "question",
        "answer",
        "state"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "question"
  ],
  "additionalProperties": false
}