{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/shipshapedata-com/json-schema/shipshapedata-com-readiness-result-schema.json",
  "title": "ReadinessResult",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/shipshapedata-com-openapi.json#/components/schemas/ReadinessResult",
  "type": "object",
  "required": [
    "score",
    "band",
    "pillars",
    "weakestPillar"
  ],
  "properties": {
    "score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "scale": {
      "type": "string"
    },
    "average": {
      "type": "number",
      "description": "Mean of scored answers on the 1-5 scale"
    },
    "band": {
      "type": "object",
      "required": [
        "name",
        "guidance"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "guidance": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "pillars": {
      "type": "object",
      "description": "Keyed strategy/people/data/change",
      "additionalProperties": {
        "type": "object",
        "required": [
          "title",
          "average"
        ],
        "properties": {
          "title": {
            "type": "string"
          },
          "average": {
            "type": "number"
          },
          "advice": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "weakestPillar": {
      "type": "string",
      "enum": [
        "strategy",
        "people",
        "data",
        "change"
      ]
    },
    "scoredQuestions": {
      "type": "integer"
    },
    "interactiveVersion": {
      "type": "string",
      "format": "uri"
    },
    "nextStep": {
      "type": "string"
    }
  }
}