{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/morvs-ai/json-schema/morvs-ai-recent-cisa-kev-schema.json",
  "title": "RecentCisaKev",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/morvs-ai-openapi.json#/components/schemas/RecentCisaKev",
  "type": "object",
  "required": [
    "@context",
    "@type",
    "@id",
    "_source",
    "filter",
    "count",
    "items"
  ],
  "properties": {
    "@context": {
      "type": "object",
      "required": [
        "@vocab",
        "dcterms",
        "prov"
      ],
      "properties": {
        "@vocab": {
          "type": "string"
        },
        "dcterms": {
          "type": "string"
        },
        "prov": {
          "type": "string"
        }
      }
    },
    "@type": {
      "const": "ItemList"
    },
    "@id": {
      "type": "string",
      "format": "uri"
    },
    "_source": {
      "type": "object",
      "description": "MORVS response provenance; check the primary source and applicable source terms.",
      "required": [
        "data_provider",
        "brand_name",
        "brand_url",
        "data_provider_url",
        "license",
        "dcterms:license",
        "generated_at",
        "primary_source"
      ],
      "properties": {
        "data_provider": {
          "type": "string"
        },
        "brand_name": {
          "type": "string"
        },
        "brand_url": {
          "type": "string",
          "format": "uri"
        },
        "data_provider_url": {
          "type": "string",
          "format": "uri"
        },
        "license": {
          "type": "string",
          "format": "uri"
        },
        "dcterms:license": {
          "type": "string",
          "format": "uri"
        },
        "generated_at": {
          "type": "string",
          "format": "date-time"
        },
        "primary_source": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "filter": {
      "type": "object",
      "required": [
        "vendor",
        "ransomware"
      ],
      "properties": {
        "vendor": {
          "type": [
            "string",
            "null"
          ]
        },
        "ransomware": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "count": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of rows returned, not all matching KEV entries."
    },
    "items": {
      "type": "array",
      "maxItems": 200,
      "items": {
        "type": "object",
        "required": [
          "cve_id",
          "vendor_project",
          "product",
          "vulnerability_name",
          "date_added",
          "due_date",
          "known_ransomware_use",
          "description",
          "nvd_url"
        ],
        "properties": {
          "cve_id": {
            "type": "string",
            "pattern": "^CVE-[0-9]{4}-[0-9]{4,}$"
          },
          "vendor_project": {
            "type": "string"
          },
          "product": {
            "type": "string"
          },
          "vulnerability_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "date_added": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "due_date": {
            "type": [
              "string",
              "null"
            ],
            "format": "date"
          },
          "known_ransomware_use": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "nvd_url": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}