{
  "$id": "https://vuln.signal-radar.com/data/v1/schema/signal-item.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": true,
  "properties": {
    "affected": {
      "type": "object"
    },
    "canonical_url": {
      "type": "string"
    },
    "data_url": {
      "type": "string"
    },
    "epss": {
      "required": [
        "score",
        "percentile"
      ],
      "type": "object"
    },
    "id": {
      "pattern": "^CVE-",
      "type": "string"
    },
    "kev": {
      "type": "boolean"
    },
    "priority": {
      "required": [
        "score",
        "label",
        "reasons"
      ],
      "type": "object"
    },
    "radar": {
      "const": "vuln"
    },
    "safety": {
      "properties": {
        "auto_remediation_allowed": {
          "const": false
        },
        "external_execution_allowed": {
          "const": false
        },
        "public_safe_only": {
          "const": true
        },
        "read_only_static_data": {
          "const": true
        }
      },
      "required": [
        "public_safe_only",
        "read_only_static_data",
        "auto_remediation_allowed",
        "external_execution_allowed"
      ],
      "type": "object"
    },
    "schema_version": {
      "const": "v1"
    },
    "severity": {
      "required": [
        "cvss_score",
        "cvss_severity",
        "defensive_priority"
      ],
      "type": "object"
    },
    "sources": {
      "type": "array"
    },
    "summary": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": "string"
    }
  },
  "required": [
    "schema_version",
    "radar",
    "id",
    "canonical_url",
    "title",
    "summary",
    "priority",
    "severity",
    "epss",
    "kev",
    "affected",
    "sources",
    "safety"
  ],
  "title": "Vuln Signal Radar public-safe signal item",
  "type": "object"
}