{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wavix-com/json-schema/wavix-com-ten-dlcbrand-create-request-schema.json",
  "title": "TenDLCBrandCreateRequest",
  "description": "10DLC Brand registration request",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wavix-com-openapi.yaml#/components/schemas/TenDLCBrandCreateRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "dba_name",
    "company_name",
    "entity_type",
    "vertical",
    "ein_taxid",
    "ein_taxid_country",
    "first_name",
    "last_name",
    "phone_number",
    "email",
    "street_address",
    "city",
    "country",
    "zip"
  ],
  "properties": {
    "dba_name": {
      "type": "string",
      "description": "Brand name or DBA",
      "maxLength": 255
    },
    "company_name": {
      "type": "string",
      "description": "Legal name of the company",
      "maxLength": 255
    },
    "entity_type": {
      "type": "string",
      "description": "Legal entity type of the company. One of `PRIVATE_PROFIT` (privately held for-profit company), `PUBLIC_PROFIT` (publicly traded for-profit company), `NON_PROFIT` (non-profit organization), or `GOVERNMENT` (government entity).",
      "enum": [
        "PRIVATE_PROFIT",
        "PUBLIC_PROFIT",
        "NON_PROFIT",
        "GOVERNMENT"
      ]
    },
    "vertical": {
      "type": "string",
      "description": "Business segment the Brand operates in. One of:\n\n- `HEALTHCARE` — healthcare.\n- `PROFESSIONAL` — professional services.\n- `RETAIL` — retail.\n- `TECHNOLOGY` — technology.\n- `EDUCATION` — education.\n- `FINANCIAL` — financial services.\n- `NON_PROFIT` — non-profit organizations.\n- `GOVERNMENT` — government entities.\n- `OTHER` — any segment not listed above.",
      "enum": [
        "HEALTHCARE",
        "PROFESSIONAL",
        "RETAIL",
        "TECHNOLOGY",
        "EDUCATION",
        "FINANCIAL",
        "NON_PROFIT",
        "GOVERNMENT",
        "OTHER"
      ]
    },
    "ein_taxid": {
      "type": "string",
      "description": "IRS Employee Identification Number (EIN) for US-based or foreign companies with EIN. The numeric portion of Tax ID for companies incorporated in other countries.",
      "maxLength": 21
    },
    "ein_taxid_country": {
      "type": "string",
      "description": "2-letter ISO country code of the Tax ID issuing country",
      "minLength": 2,
      "maxLength": 2
    },
    "website": {
      "type": "string",
      "description": "The website of the business",
      "maxLength": 255
    },
    "stock_symbol": {
      "type": [
        "string",
        "null"
      ],
      "description": "The stock symbol of the Brand. For PUBLIC_PROFIT Brands only.",
      "maxLength": 10
    },
    "stock_exchange": {
      "type": [
        "string",
        "null"
      ],
      "description": "The stock exchange code. For PUBLIC_PROFIT Brands only.",
      "maxLength": 10
    },
    "first_name": {
      "type": "string",
      "description": "The first name of the business contact",
      "maxLength": 100
    },
    "last_name": {
      "type": "string",
      "description": "The last name of the business contact",
      "maxLength": 100
    },
    "phone_number": {
      "type": "string",
      "description": "The support contact telephone in E.164 format",
      "maxLength": 20
    },
    "email": {
      "type": "string",
      "description": "The email address of the support contact",
      "format": "email",
      "maxLength": 100
    },
    "street_address": {
      "type": "string",
      "description": "Street name and house number",
      "maxLength": 100
    },
    "city": {
      "type": "string",
      "description": "The city name",
      "maxLength": 100
    },
    "state_or_province": {
      "type": [
        "string",
        "null"
      ],
      "description": "State or province. For the United States, it is a 2-character code.",
      "maxLength": 20
    },
    "zip": {
      "type": "string",
      "description": "The business zip or postal code",
      "maxLength": 10
    },
    "country": {
      "type": "string",
      "description": "2-letter ISO country code the business address",
      "minLength": 2,
      "maxLength": 2
    },
    "mock": {
      "type": "boolean",
      "description": "Indicates a mock Brand. Mock Brands are for testing purposes only; production traffic with mock Brands is prohibited.",
      "default": false
    }
  },
  "oneOf": [
    {
      "description": "PUBLIC_PROFIT brands must provide stock_symbol and stock_exchange.",
      "properties": {
        "entity_type": {
          "const": "PUBLIC_PROFIT"
        }
      },
      "required": [
        "stock_symbol",
        "stock_exchange"
      ]
    },
    {
      "description": "Non-PUBLIC_PROFIT brands must not include stock_symbol or stock_exchange.",
      "properties": {
        "entity_type": {
          "enum": [
            "PRIVATE_PROFIT",
            "NON_PROFIT",
            "GOVERNMENT"
          ]
        },
        "stock_symbol": {
          "type": "null"
        },
        "stock_exchange": {
          "type": "null"
        }
      }
    }
  ]
}