{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frihet-io/json-schema/frihet-io-channel-schema.json",
  "title": "Channel",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frihet-io-channels-api-openapi.yml#/components/schemas/Channel",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "propertyId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "feedUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string"
    },
    "lastSync": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "lastSyncEvents": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}