{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eagle-eye-networks/json-schema/eagle-eye-networks-api-add-multi-camera-schema.json",
  "title": "ApiAddMultiCamera",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eagle-eye-networks-multi-cameras-api-openapi.yml#/components/schemas/ApiAddMultiCamera",
  "type": "object",
  "properties": {
    "guid": {
      "$ref": "#/$defs/Guid3"
    },
    "name": {
      "$ref": "#/$defs/DeviceName"
    },
    "tags": {
      "$ref": "#/$defs/DeviceTags"
    },
    "locationId": {
      "$ref": "#/$defs/LocationId"
    },
    "bridgeId": {
      "$ref": "#/$defs/BridgeId3"
    },
    "credentials": {
      "$ref": "#/$defs/ApiDeviceCredentials"
    }
  },
  "required": [
    "name",
    "bridgeId",
    "guid"
  ],
  "$defs": {
    "ApiDeviceCredentials": {
      "type": "object",
      "x-jsoninclude-nonnull-annotation": true,
      "properties": {
        "username": {
          "type": "string",
          "description": "Username to use when authenticating with the device",
          "maxLength": 126
        },
        "password": {
          "type": "string",
          "description": "Password to use when authenticating with the device",
          "maxLength": 126
        }
      }
    },
    "BridgeId3": {
      "type": "string",
      "pattern": "^(?:0[xX])?[0-9a-fA-F]{8}$",
      "description": "The bridge a multi camera is connected to. \n"
    },
    "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
      }
    },
    "Guid3": {
      "type": "string",
      "format": "uuid"
    },
    "LocationId": {
      "description": "ID Of the location.",
      "minLength": 1,
      "type": [
        "string",
        "null"
      ]
    }
  }
}