{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-voice-portal/json-schema/cisco-voice-portal-device-create-request-schema.json",
  "title": "DeviceCreateRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-voice-portal-device-management-api-openapi.yml#/components/schemas/DeviceCreateRequest",
  "type": "object",
  "required": [
    "hostname",
    "ipAddress",
    "deviceType"
  ],
  "properties": {
    "hostname": {
      "type": "string"
    },
    "ipAddress": {
      "type": "string",
      "format": "ipv4"
    },
    "deviceType": {
      "type": "string",
      "enum": [
        "CallServer",
        "VXMLServer",
        "ReportingServer",
        "MediaServer"
      ]
    },
    "description": {
      "type": "string"
    },
    "credentials": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string",
          "format": "password"
        }
      }
    }
  }
}