{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eagle-eye-networks/json-schema/eagle-eye-networks-api-bridge-create-schema.json",
  "title": "ApiBridgeCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eagle-eye-networks-bridges-api-openapi.yml#/components/schemas/ApiBridgeCreate",
  "type": "object",
  "properties": {
    "name": {
      "$ref": "#/$defs/DeviceName"
    },
    "connectId": {
      "type": "string",
      "description": "The code delivered with a bridge and assigned to it"
    },
    "locationId": {
      "$ref": "#/$defs/LocationId"
    },
    "tags": {
      "$ref": "#/$defs/DeviceTags"
    }
  },
  "required": [
    "name",
    "connectId"
  ],
  "$defs": {
    "DeviceName": {
      "description": "User-defined name for the device.",
      "type": "string",
      "minLength": 1,
      "maxLength": 126
    },
    "DeviceTags": {
      "type": "array",
      "maxItems": 64,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      }
    },
    "LocationId": {
      "description": "ID Of the location.",
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    }
  }
}