{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-drive/json-schema/google-drive-channel-schema.json",
  "title": "Channel",
  "description": "A notification channel used to watch for resource changes.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-drive-changes-api-openapi.yml#/components/schemas/Channel",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "An arbitrary string delivered to the target address with each notification delivered over this channel. Optional."
    },
    "id": {
      "type": "string",
      "description": "A UUID or similar unique string that identifies this channel."
    },
    "params": {
      "type": "object",
      "description": "Additional parameters controlling delivery channel behavior. Optional.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "address": {
      "type": "string",
      "description": "The address where notifications are delivered for this channel."
    },
    "payload": {
      "type": "boolean",
      "description": "A Boolean value to indicate whether payload is wanted. Optional."
    },
    "type": {
      "type": "string",
      "description": "The type of delivery mechanism used for this channel. Valid values are \"web_hook\" or \"webhook\"."
    },
    "resourceUri": {
      "type": "string",
      "description": "A version-specific identifier for the watched resource."
    },
    "resourceId": {
      "type": "string",
      "description": "An opaque ID that identifies the resource being watched on this channel. Stable across different API versions."
    },
    "kind": {
      "type": "string",
      "description": "Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.",
      "default": "api#channel"
    },
    "expiration": {
      "type": "string",
      "description": "Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.",
      "format": "int64"
    }
  }
}