{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/continuous-delivery-foundation/json-schema/continuous-delivery-foundation-cloud-event-schema.json",
  "title": "CloudEvent",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/continuous-delivery-foundation-webhook-controller-api-openapi.yml#/components/schemas/CloudEvent",
  "properties": {
    "attributeNames": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "uniqueItems": true
    },
    "data": {
      "$ref": "#/$defs/CloudEventData"
    },
    "dataContentType": {
      "type": [
        "string",
        "null"
      ]
    },
    "dataSchema": {
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "extensionNames": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "uniqueItems": true
    },
    "id": {
      "type": "string"
    },
    "source": {
      "format": "uri",
      "type": "string"
    },
    "specVersion": {
      "enum": [
        "0.3",
        "1.0"
      ],
      "type": "string"
    },
    "subject": {
      "type": [
        "string",
        "null"
      ]
    },
    "time": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "type": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "CloudEventData": {
      "type": "object"
    }
  }
}