{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "RulesConfig",
  "description": "ESLint-style per-rule severity overrides.\n\nKeys are either: - A rule suffix — `\"SegmentDuration\"` — matched against the part of the issue code after the last `/`. - A full normalised code — `\"ST2067-3:2020:7.2.2/SegmentDuration\"`.\n\nValues are the desired [`RuleSeverity`], or [`RuleSeverity::Off`] to suppress the rule entirely.\n\nAn empty map (the default) is a no-op.",
  "type": "object",
  "additionalProperties": {
    "$ref": "#/definitions/RuleSeverity"
  },
  "definitions": {
    "RuleSeverity": {
      "description": "Per-rule severity override.\n\nMirrors ESLint's `\"off\"` / `\"warn\"` / `\"error\"` vocabulary, extended with the two IMF severity levels.",
      "oneOf": [
        {
          "description": "Suppress this rule entirely — matching issues are removed from output.",
          "type": "string",
          "enum": [
            "off"
          ]
        },
        {
          "description": "Remap to `Info`.",
          "type": "string",
          "enum": [
            "info"
          ]
        },
        {
          "description": "Remap to `Warning`.",
          "type": "string",
          "enum": [
            "warn"
          ]
        },
        {
          "description": "Remap to `Error`.",
          "type": "string",
          "enum": [
            "error"
          ]
        },
        {
          "description": "Remap to `Critical`.",
          "type": "string",
          "enum": [
            "critical"
          ]
        }
      ]
    }
  }
}