{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/JourneyCloudEventModel",
  "title": "JourneyCloudEventModel",
  "required": [
    "data",
    "datacontenttype",
    "id",
    "identity",
    "identitytype",
    "source",
    "specversion",
    "type"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Event ID",
      "example": "9ab65fdf-9643-417f-9974-ad72cae0e10f"
    },
    "specversion": {
      "type": "string",
      "description": "Event Spec Version",
      "example": "1.0"
    },
    "type": {
      "type": "string",
      "description": "Event Type",
      "example": "com.cisco.wxcc.event.agent"
    },
    "source": {
      "type": "string",
      "description": "Event Source",
      "example": "/com/cisco/wxcc/123"
    },
    "time": {
      "type": "string",
      "description": "Event Time",
      "example": "2022-08-15T22:29:43.768Z"
    },
    "identity": {
      "type": "string",
      "description": "Identity",
      "example": "sjohndeo@cisco.com"
    },
    "identitytype": {
      "type": "string",
      "description": "Identity Type",
      "example": "email"
    },
    "previousidentity": {
      "type": "string",
      "description": "Previous Identity",
      "example": "sdeo@cisco.com"
    },
    "datacontenttype": {
      "type": "string",
      "description": "Event Data Content Type",
      "example": "application/json"
    },
    "data": {
      "$ref": "#/components/schemas/eventData"
    }
  },
  "description": "Journey Cloud Event Model"
}