{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/100hires-com/json-schema/100hires-com-question-list-response-schema.json",
  "title": "QuestionListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/100hires-com-questions-api-openapi.yml#/components/schemas/QuestionListResponse",
  "type": "object",
  "required": [
    "questions",
    "pagination"
  ],
  "properties": {
    "questions": {
      "type": "array",
      "description": "Array of questions.",
      "items": {
        "$ref": "#/$defs/Question"
      }
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    }
  },
  "$defs": {
    "Pagination": {
      "type": "object",
      "required": [
        "page_size",
        "page_count",
        "page",
        "total_count"
      ],
      "properties": {
        "page_size": {
          "type": "integer",
          "description": "Items per page."
        },
        "page_count": {
          "type": "integer",
          "description": "Total number of pages."
        },
        "page": {
          "type": "integer",
          "description": "Current page number."
        },
        "total_count": {
          "type": "integer",
          "description": "Total number of items."
        }
      }
    },
    "Question": {
      "type": "object",
      "required": [
        "id",
        "text",
        "type"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Question ID."
        },
        "text": {
          "type": "string",
          "description": "Question text."
        },
        "type": {
          "type": "string",
          "description": "Question type."
        },
        "options": {
          "type": "array",
          "description": "Answer options for select/multiselect types.",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "type": "string",
          "description": "Visibility status on the form.",
          "enum": [
            "required",
            "optional",
            "hidden"
          ]
        }
      }
    }
  }
}