{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/json-schema/unified-to-messaging-channel-schema.json",
  "title": "MessagingChannel",
  "description": "MessagingChannel schema from Unified.to API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "parent_id": {
      "type": "string"
    },
    "has_subchannels": {
      "type": "boolean"
    },
    "members": {
      "$ref": "#/components/schemas/property_MessagingChannel_members"
    },
    "is_active": {
      "type": "boolean"
    },
    "is_private": {
      "type": "boolean"
    },
    "web_url": {
      "type": "string"
    },
    "raw": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "required": [
    "name"
  ]
}