{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-teams/refs/heads/main/json-schema/teams-graph-api-channel-schema.json",
  "title": "Channel",
  "description": "Represents a channel in a team.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "Unique identifier for the channel." },
    "displayName": { "type": "string", "description": "The display name of the channel." },
    "description": { "type": "string", "description": "Description of the channel." },
    "membershipType": { "type": "string", "enum": ["standard", "private", "shared"], "description": "Type of membership for the channel." },
    "createdDateTime": { "type": "string", "format": "date-time", "description": "When the channel was created." },
    "webUrl": { "type": "string", "format": "uri", "description": "URL to the channel in Teams." }
  }
}
