{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kontaktio/main/json-schema/kontaktio-stream-channel-event-hub-schema.json",
  "title": "Stream eventHub 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-eventHub",
  "type": "object",
  "x-internal": false,
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "channel": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "endpoint": {
          "type": "string"
        },
        "sharedAccessKeyName": {
          "type": "string"
        },
        "eventHubName": {
          "type": "string"
        }
      }
    },
    "lastUpdate": {
      "type": "number"
    },
    "state": {
      "type": "object",
      "properties": {
        "connectionState": {
          "type": "string"
        },
        "errorMessage": {
          "type": "string"
        },
        "timestamp": {
          "type": "number"
        }
      }
    },
    "filters": {
      "type": "object",
      "x-stoplight": {
        "id": "tgxswxxwm0q9h"
      },
      "properties": {
        "campusIds": {
          "type": "array",
          "x-stoplight": {
            "id": "lrkstd5k95rlj"
          },
          "items": {
            "x-stoplight": {
              "id": "acjvam8gdytg5"
            },
            "type": "integer"
          }
        },
        "deviceModels": {
          "type": "array",
          "x-stoplight": {
            "id": "uxfqbvdps5dnu"
          },
          "items": {
            "x-stoplight": {
              "id": "o09ymg67v0d66"
            },
            "type": "string"
          }
        }
      }
    }
  }
}