{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kit.tenhaw.com/schemas/readiness-response.schema.json",
  "type": "object",
  "properties": {
    "answers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string",
            "pattern": "^(strategy|data|technology|people|governance|delivery)-[1-5]$"
          },
          "score": {
            "type": "integer",
            "minimum": 1,
            "maximum": 5
          },
          "evidence": {
            "type": "string"
          }
        },
        "required": [
          "questionId",
          "score"
        ],
        "additionalProperties": false
      },
      "maxItems": 30
    }
  },
  "required": [
    "answers"
  ],
  "additionalProperties": false
}
