{
  "type": "object",
  "description": "Represents a communication channel for conversations.",
  "name": "Channel",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the channel"
    },
    "name": {
      "type": "string",
      "description": "Display name of the channel"
    },
    "type": {
      "type": "string",
      "description": "Type of channel (e.g., EMAIL, CHAT, FACEBOOK)"
    },
    "accountId": {
      "type": "string",
      "description": "Associated account ID"
    },
    "createdAt": {
      "type": "datetime",
      "description": "ISO 8601 timestamp when the channel was created"
    }
  },
  "required": [
    "id",
    "name",
    "type"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}