{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/telnyx/json-schema/telnyx-create-number-order-request-schema.json",
  "title": "CreateNumberOrderRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-phone-number-orders-api-openapi.yml#/components/schemas/CreateNumberOrderRequest",
  "properties": {
    "billing_group_id": {
      "description": "Identifies the billing group associated with the phone number.",
      "type": "string"
    },
    "connection_id": {
      "description": "Identifies the connection associated with this phone number.",
      "type": "string"
    },
    "customer_reference": {
      "description": "A customer reference string for customer look ups.",
      "type": "string"
    },
    "messaging_profile_id": {
      "description": "Identifies the messaging profile associated with the phone number.",
      "type": "string"
    },
    "phone_numbers": {
      "items": {
        "properties": {
          "bundle_id": {
            "description": "ID of bundle to associate the number to",
            "type": "string"
          },
          "phone_number": {
            "description": "e164_phone_number",
            "type": "string"
          },
          "requirement_group_id": {
            "description": "ID of requirement group to use to satisfy number requirements",
            "type": "string"
          }
        },
        "required": [
          "phone_number"
        ],
        "type": "object"
      },
      "type": "array",
      "writeOnly": true
    }
  },
  "type": "object"
}