{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/soschecklist-net/json-schema/soschecklist-net-checklist-result-schema.json",
  "title": "ChecklistResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/soschecklist-net-openapi.yml#/components/schemas/ChecklistResult",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "tool": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "score": {
      "type": "integer",
      "description": "Normalized readiness score, 0-100."
    },
    "category": {
      "type": "string",
      "description": "Score band classification."
    },
    "key_findings": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Top 2-3 protection gaps."
    },
    "next_steps": {
      "type": "string"
    },
    "limitations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "result": {
      "type": "object",
      "properties": {
        "score": {
          "type": "integer"
        },
        "score_band": {
          "type": "string"
        },
        "interpretation": {
          "type": "string"
        },
        "top_gaps": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "category_scores": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CategoryScore"
          }
        },
        "recommendation": {
          "type": "string"
        }
      }
    }
  },
  "$defs": {
    "CategoryScore": {
      "type": "object",
      "properties": {
        "category": {
          "type": "string"
        },
        "average": {
          "type": "number"
        }
      }
    }
  }
}