{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kontaktio/main/json-schema/kontaktio-stream-channel-watson-schema.json",
  "title": "Stream watson GET",
  "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-channel-watson",
  "type": "object",
  "x-internal": false,
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "channel": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "orgId": {
          "type": "string"
        },
        "typeId": {
          "type": "string"
        },
        "token": {
          "type": "string"
        },
        "deviceId": {
          "type": "string"
        }
      }
    },
    "lastUpdate": {
      "type": "number"
    },
    "state": {
      "type": "object",
      "properties": {
        "connectionState": {
          "type": "string"
        },
        "errorMessage": {
          "type": "string"
        },
        "timestamp": {
          "type": "number"
        }
      }
    },
    "filters": {
      "type": "object",
      "x-stoplight": {
        "id": "6ub2vy1jd1z1p"
      },
      "properties": {
        "campusIds": {
          "type": "array",
          "x-stoplight": {
            "id": "uaebqkcd4zi5m"
          },
          "items": {
            "x-stoplight": {
              "id": "7zp44o0m8b0k4"
            },
            "type": "integer"
          }
        },
        "deviceModels": {
          "type": "array",
          "x-stoplight": {
            "id": "gfrnqab4c3hzw"
          },
          "items": {
            "x-stoplight": {
              "id": "ix3bq51nti72o"
            },
            "type": "integer"
          }
        }
      }
    }
  }
}