{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kontaktio/main/json-schema/kontaktio-stream-patch-watson-channel-schema.json",
  "title": "Watson channel PATCH",
  "description": "Updates a IBM Watson stream channel\n\n**IMPORTANT** when updating channel properties, all properties are required.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kontaktio-stream-api-openapi.yml#/components/schemas/Stream-patch-watson-channel",
  "type": "object",
  "x-internal": false,
  "properties": {
    "status": {
      "type": "string",
      "description": "Channel configuration status.",
      "enum": [
        "active",
        "inactive"
      ]
    },
    "name": {
      "type": "string",
      "description": "User-defined name to identify the channel."
    },
    "channel": {
      "type": "object",
      "description": "Configuration specific to the IBM Watson stream. When updating a channel property, all channel property values must be provided.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Set to watson. Type of channel; identifies the third-party streaming service.",
          "enum": [
            "kinesis",
            "eventHub",
            "watson"
          ]
        },
        "orgId": {
          "type": "string"
        },
        "typeId": {
          "type": "string"
        },
        "token": {
          "type": "string"
        },
        "deviceId": {
          "type": "string"
        }
      }
    }
  }
}