{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hackerbob-ai/json-schema/hackerbob-ai-batch-response-schema.json",
  "title": "BatchResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hackerbob-ai-openapi.json#/components/schemas/BatchResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "records",
    "missing"
  ],
  "properties": {
    "records": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CveRecord"
      }
    },
    "missing": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "$defs": {
    "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"
        }
      }
    },
    "RecordStatus": {
      "type": "string",
      "enum": [
        "public",
        "assigned-no-public-record"
      ]
    }
  }
}