{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-enterprise-linux-8/json-schema/red-hat-enterprise-linux-8-rule-result-schema.json",
  "title": "rule_result",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-enterprise-linux-8-compliance-api-openapi.yml#/components/schemas/rule_result",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/id"
    },
    "type": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "rule"
      ]
    },
    "result": {
      "type": "string",
      "enum": [
        "pass",
        "fail",
        "error",
        "unknown",
        "fixed",
        "notapplicable",
        "notchecked",
        "informational",
        "notselected"
      ],
      "readOnly": true,
      "description": "Status of the Rule Result"
    },
    "rule_id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true,
      "description": "UUID of the affected Rule"
    },
    "system_id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true,
      "description": "UUID of the affected System"
    },
    "ref_id": {
      "type": "string",
      "readOnly": true,
      "description": "Identificator of the Rule"
    },
    "rule_group_id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true,
      "description": "UUID of the parent Rule Group"
    },
    "title": {
      "type": "string",
      "readOnly": true,
      "description": "Short title of the Rule"
    },
    "rationale": {
      "type": "string",
      "readOnly": true,
      "description": "Rationale of the Rule"
    },
    "description": {
      "type": "string",
      "readOnly": true,
      "description": "Longer description of the Rule"
    },
    "precedence": {
      "type": "integer",
      "readOnly": true,
      "description": "The original sorting precedence of the Rule in the Security Guide"
    },
    "severity": {
      "type": "string",
      "readOnly": true,
      "description": "The severity of the Rule"
    },
    "remediation_issue_id": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "description": "The idenfitier of the remediation associated to this rule, only available under profiles."
    }
  },
  "$defs": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    }
  }
}