{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventStreamCloudEventContextConnection",
  "title": "EventStreamCloudEventContextConnection",
  "type": "object",
  "description": "The Auth0 Connection used for the authentication transaction that generated the event.",
  "additionalProperties": false,
  "required": [
    "id",
    "name",
    "strategy"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the connection.",
      "pattern": "con_[a-zA-Z0-9]{16}"
    },
    "name": {
      "type": "string",
      "description": "The name of the connection.",
      "pattern": "^[a-zA-Z0-9](-[a-zA-Z0-9]|[a-zA-Z0-9])*$"
    },
    "strategy": {
      "type": "string",
      "description": "The auth strategy implemented by the connection."
    }
  }
}