{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-phone-number-create-request-schema.json",
  "title": "PhoneNumberCreateRequest",
  "description": "Request payload for creating a new phone number registration",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-phone-number-management-api-openapi.yml#/components/schemas/PhoneNumberCreateRequest",
  "type": "object",
  "required": [
    "phone_number",
    "verified_name"
  ],
  "properties": {
    "phone_number": {
      "type": "string",
      "description": "Phone number in E.164 format without the + prefix",
      "pattern": "^[1-9][0-9]{6,14}$"
    },
    "verified_name": {
      "type": "string",
      "description": "Business name to be verified for this phone number",
      "minLength": 2,
      "maxLength": 75
    },
    "cc": {
      "type": "string",
      "description": "Country code for the phone number",
      "pattern": "^[0-9]{1,3}$"
    },
    "migrate_phone_number": {
      "type": "boolean",
      "description": "Whether this is a phone number migration from on-premises",
      "default": false
    },
    "preverified_id": {
      "type": "string",
      "description": "Pre-verified phone number ID for BSP scenarios"
    }
  }
}