{
  "$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-cve-detail-schema.json",
  "title": "CveDetail",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-enterprise-linux-8-cves-api-openapi.yml#/components/schemas/CveDetail",
  "allOf": [
    {
      "$ref": "#/$defs/CveSummary"
    },
    {
      "type": "object",
      "properties": {
        "bugzilla_description": {
          "type": "string"
        },
        "details": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "acknowledgement": {
          "type": "string"
        },
        "affected_release": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "product_name": {
                "type": "string"
              },
              "release_date": {
                "type": "string"
              },
              "advisory": {
                "type": "string"
              },
              "package": {
                "type": "string"
              },
              "cpe": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  ],
  "$defs": {
    "CveSummary": {
      "type": "object",
      "properties": {
        "CVE": {
          "type": "string",
          "description": "CVE identifier"
        },
        "severity": {
          "type": "string",
          "enum": [
            "Critical",
            "Important",
            "Moderate",
            "Low"
          ]
        },
        "public_date": {
          "type": "string",
          "format": "date-time"
        },
        "bugzilla": {
          "type": "string",
          "description": "Associated Bugzilla URL"
        },
        "cvss_score": {
          "type": "number",
          "description": "CVSS v2 score"
        },
        "cvss3_score": {
          "type": "number",
          "description": "CVSS v3 score"
        },
        "cwe": {
          "type": "string",
          "description": "CWE identifier"
        }
      }
    }
  }
}