{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-checklist-matrix-schema.json",
  "title": "ChecklistMatrix",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infinihash-com-checklists-api-openapi.yml#/components/schemas/ChecklistMatrix",
  "type": "object",
  "required": [
    "entityTypes",
    "riskTiers",
    "matrix"
  ],
  "properties": {
    "entityTypes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "riskTiers": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "low",
          "medium",
          "high"
        ]
      }
    },
    "matrix": {
      "type": "object",
      "description": "entityType -> riskTier -> required checks.",
      "additionalProperties": {
        "type": "object",
        "additionalProperties": {
          "type": "object",
          "required": [
            "checks",
            "uboThreshold"
          ],
          "properties": {
            "checks": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "uboThreshold": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Ownership percentage threshold for UBOs (null for low)."
            }
          }
        }
      }
    }
  }
}