{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hackerbob-ai/json-schema/hackerbob-ai-cve-record-schema.json",
  "title": "CveRecord",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hackerbob-ai-openapi.json#/components/schemas/CveRecord",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "project",
    "status",
    "url"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^CVE-[0-9]{4}-[0-9]+$"
    },
    "project": {
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/RecordStatus"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    }
  },
  "$defs": {
    "RecordStatus": {
      "type": "string",
      "enum": [
        "public",
        "assigned-no-public-record"
      ]
    }
  }
}