{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WXCCSubscriptionResponseModel",
  "title": "WXCCSubscriptionResponseModel",
  "required": [
    "createdTime",
    "description",
    "destinationUrl",
    "eventTypes",
    "id",
    "lastUpdatedTime",
    "name",
    "status"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Subscription ID",
      "example": "1eb65fdf-9643-417f-9974-ad72cae0e10f"
    },
    "name": {
      "type": "string",
      "description": "Subscription Name",
      "example": "CareHybrid WXCC Subscription"
    },
    "description": {
      "type": "string",
      "description": "Subscription Description",
      "example": "This is for carehybrid subscription"
    },
    "eventTypes": {
      "type": "array",
      "description": "Event Types to be subscribed",
      "example": [
        "task:*",
        "agent:*"
      ],
      "items": {
        "type": "string"
      }
    },
    "destinationUrl": {
      "type": "string",
      "description": "Destination URL",
      "example": "https://uswest-nonprod.cjaas.cisco.com/events/v1/journey/wxcc-callback"
    },
    "createdTime": {
      "type": "integer",
      "description": "Created Time",
      "format": "int64",
      "example": 1669165699
    },
    "status": {
      "type": "string",
      "description": "Status",
      "example": "active"
    },
    "lastUpdatedTime": {
      "type": "integer",
      "description": "Last Updated Time",
      "format": "int64",
      "example": 1669165699
    }
  },
  "description": "WXCC Subscription Response Model"
}