{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ai-law-tracker-com/json-schema/ai-law-tracker-com-risk-schema.json",
  "title": "Risk",
  "description": "Deterministic 1–10 risk score (same inputs → same score; no model).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ai-law-tracker-com-report-api-openapi.yml#/components/schemas/Risk",
  "type": "object",
  "properties": {
    "score": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    },
    "level": {
      "type": "string",
      "enum": [
        "Low",
        "Medium",
        "High",
        "Critical"
      ]
    },
    "factors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Named contributions to the score (full result only; withheld in a preview)."
    }
  }
}