{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/vonage/main/json-schema/vonage-new-subaccount-request-schema.json",
  "title": "NewSubaccountRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vonage-subaccounts-openapi.yml#/components/schemas/NewSubaccountRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 80
    },
    "secret": {
      "type": "string"
    },
    "use_primary_account_balance": {
      "type": "boolean",
      "default": true
    }
  }
}