{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/checker-lazynext/json-schema/checker-lazynext-rule-manifest-schema.json",
  "title": "RuleManifest",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/checker-lazynext-openapi.json#/components/schemas/RuleManifest",
  "type": "object",
  "properties": {
    "count": {
      "type": "number"
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "level": {
            "type": "string",
            "enum": [
              "A",
              "AA",
              "AAA",
              "BP"
            ]
          },
          "wcag": {
            "type": "string",
            "description": "WCAG version the criterion was introduced in, or `bp` for best-practice checks"
          },
          "how": {
            "type": "string",
            "enum": [
              "static",
              "rendered",
              "crosspage"
            ]
          },
          "detects": {
            "type": "string"
          }
        },
        "required": [
          "rule",
          "name",
          "level",
          "wcag",
          "how",
          "detects"
        ]
      }
    }
  },
  "required": [
    "count",
    "rules"
  ]
}