{
  "$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-report-schema.json",
  "title": "report",
  "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/report",
  "type": "object",
  "properties": {
    "id": {
      "$ref": "#/$defs/id"
    },
    "type": {
      "type": "string",
      "enum": [
        "report"
      ],
      "readOnly": true
    },
    "title": {
      "type": "string",
      "description": "Short title of the Report",
      "readOnly": true
    },
    "business_objective": {
      "type": "string",
      "description": "The Business Objective associated to the Policy",
      "readOnly": true
    },
    "compliance_threshold": {
      "type": "number",
      "maximum": 100,
      "minimum": 0,
      "description": "The percentage above which the Policy meets compliance requirements",
      "readOnly": true
    },
    "os_major_version": {
      "type": "number",
      "minimum": 6,
      "description": "Major version of the Operating System that the Report covers",
      "readOnly": true
    },
    "ref_id": {
      "type": "string",
      "description": "Identificator of the Profile",
      "readOnly": true
    },
    "profile_title": {
      "type": "string",
      "description": "Title of the associated Profile",
      "readOnly": true
    },
    "percent_compliant": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "description": "Describes percentage of compliant systems",
      "readOnly": true
    },
    "assigned_system_count": {
      "type": "number",
      "minium": 1,
      "description": "The number of Systems assigned to this Report",
      "readOnly": true
    },
    "compliant_system_count": {
      "type": "number",
      "minium": 0,
      "description": "The number of compliant Systems in this Report",
      "readOnly": true
    },
    "all_systems_exposed": {
      "type": "boolean",
      "description": "Informs if the user has access to all the Systems under the Report",
      "readOnly": true
    },
    "unsupported_system_count": {
      "type": "number",
      "minium": 0,
      "description": "The number of unsupported Systems in this Report",
      "readOnly": true
    },
    "reported_system_count": {
      "type": "number",
      "minium": 0,
      "description": "The number of Systems in this Report that have Test Results available",
      "readOnly": true
    }
  },
  "$defs": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    }
  }
}