{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-voice-portal/json-schema/cisco-voice-portal-sip-server-group-create-schema.json",
  "title": "SipServerGroupCreate",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-voice-portal-sip-configuration-api-openapi.yml#/components/schemas/SipServerGroupCreate",
  "type": "object",
  "required": [
    "groupName",
    "servers"
  ],
  "properties": {
    "groupName": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "servers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "hostname",
          "ipAddress"
        ],
        "properties": {
          "hostname": {
            "type": "string"
          },
          "ipAddress": {
            "type": "string",
            "format": "ipv4"
          },
          "port": {
            "type": "integer",
            "default": 5060
          },
          "priority": {
            "type": "integer",
            "default": 1
          },
          "weight": {
            "type": "integer",
            "default": 100
          }
        }
      }
    },
    "loadBalancing": {
      "type": "string",
      "enum": [
        "round_robin",
        "top_down",
        "weight_based"
      ],
      "default": "round_robin"
    }
  }
}