{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-update-brand-schema.json",
  "title": "UpdateBrand",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-brands-api-openapi.yml#/components/schemas/UpdateBrand",
  "properties": {
    "altBusinessId": {
      "description": "Alternate business identifier such as DUNS, LEI, or GIIN",
      "maxLength": 50,
      "title": "Altbusiness Id",
      "type": "string"
    },
    "altBusinessIdType": {
      "$ref": "#/$defs/AltBusinessIdType"
    },
    "businessContactEmail": {
      "description": "Business contact email.\n\nRequired if `entityType` will be changed to `PUBLIC_PROFIT`. Otherwise, it is recommended to either omit this field or set it to `null`.",
      "title": "BusinessContactEmail",
      "type": "string"
    },
    "city": {
      "description": "City name",
      "maxLength": 100,
      "title": "City",
      "type": "string"
    },
    "companyName": {
      "description": "(Required for Non-profit/private/public) Legal company name.",
      "maxLength": 100,
      "title": "Companyname",
      "type": "string"
    },
    "country": {
      "description": "ISO2 2 characters country code. Example: US - United States",
      "maxLength": 2,
      "title": "Country",
      "type": "string"
    },
    "displayName": {
      "description": "Display or marketing name of the brand.",
      "maxLength": 100,
      "title": "Displayname",
      "type": "string"
    },
    "ein": {
      "description": "(Required for Non-profit) Government assigned corporate tax ID. EIN is 9-digits in U.S.",
      "maxLength": 20,
      "title": "Ein",
      "type": "string"
    },
    "email": {
      "description": "Valid email address of brand support contact.",
      "maxLength": 100,
      "title": "Email",
      "type": "string"
    },
    "entityType": {
      "allOf": [
        {
          "$ref": "#/$defs/EntityType"
        }
      ],
      "description": "Entity type behind the brand. This is the form of business establishment."
    },
    "firstName": {
      "description": "First name of business contact.",
      "maxLength": 100,
      "title": "Firstname",
      "type": "string"
    },
    "identityStatus": {
      "$ref": "#/$defs/BrandIdentityStatus"
    },
    "ipAddress": {
      "description": "IP address of the browser requesting to create brand identity.",
      "maxLength": 50,
      "title": "Ipaddress",
      "type": "string"
    },
    "isReseller": {
      "title": "Isreseller",
      "type": "boolean"
    },
    "lastName": {
      "description": "Last name of business contact.",
      "maxLength": 100,
      "title": "Lastname",
      "type": "string"
    },
    "phone": {
      "description": "Valid phone number in e.164 international format.",
      "maxLength": 20,
      "title": "Phone",
      "type": "string"
    },
    "postalCode": {
      "description": "Postal codes. Use 5 digit zipcode for United States",
      "maxLength": 10,
      "title": "Postalcode",
      "type": "string"
    },
    "state": {
      "description": "State. Must be 2 letters code for United States.",
      "maxLength": 20,
      "title": "State",
      "type": "string"
    },
    "stockExchange": {
      "allOf": [
        {
          "$ref": "#/$defs/StockExchange"
        }
      ],
      "description": "(Required for public company) stock exchange."
    },
    "stockSymbol": {
      "description": "(Required for public company) stock symbol.",
      "maxLength": 10,
      "title": "Stocksymbol",
      "type": "string"
    },
    "street": {
      "description": "Street number and name.",
      "maxLength": 100,
      "title": "Street",
      "type": "string"
    },
    "vertical": {
      "allOf": [
        {
          "$ref": "#/$defs/Vertical"
        }
      ],
      "description": "Vertical or industry segment of the brand."
    },
    "webhookFailoverURL": {
      "description": "Webhook failover URL for brand status updates.",
      "title": "WebhookFailoverURL",
      "type": "string"
    },
    "webhookURL": {
      "description": "Webhook URL for brand status updates.",
      "title": "WebhookURL",
      "type": "string"
    },
    "website": {
      "description": "Brand website URL.",
      "maxLength": 100,
      "title": "Website",
      "type": "string"
    }
  },
  "required": [
    "entityType",
    "displayName",
    "country",
    "email",
    "vertical"
  ],
  "type": "object",
  "$defs": {
    "AltBusinessIdType": {
      "description": "An enumeration.",
      "enum": [
        "NONE",
        "DUNS",
        "GIIN",
        "LEI"
      ],
      "title": "AltBusinessIdType",
      "type": "string"
    },
    "BrandIdentityStatus": {
      "description": "The verification status of an active brand",
      "enum": [
        "VERIFIED",
        "UNVERIFIED",
        "SELF_DECLARED",
        "VETTED_VERIFIED"
      ],
      "title": "BrandIdentityStatus",
      "type": "string"
    },
    "EntityType": {
      "description": "Entity type behind the brand. This is the form of business establishment.",
      "enum": [
        "PRIVATE_PROFIT",
        "PUBLIC_PROFIT",
        "NON_PROFIT",
        "GOVERNMENT",
        "SOLE_PROPRIETOR"
      ],
      "title": "EntityType",
      "type": "string"
    },
    "StockExchange": {
      "description": "(Required for public company) stock exchange.",
      "enum": [
        "NONE",
        "NASDAQ",
        "NYSE",
        "AMEX",
        "AMX",
        "ASX",
        "B3",
        "BME",
        "BSE",
        "FRA",
        "ICEX",
        "JPX",
        "JSE",
        "KRX",
        "LON",
        "NSE",
        "OMX",
        "SEHK",
        "SSE",
        "STO",
        "SWX",
        "SZSE",
        "TSX",
        "TWSE",
        "VSE"
      ],
      "title": "StockExchange",
      "type": "string"
    },
    "Vertical": {
      "description": "Vertical or industry segment of the brand or campaign.",
      "enum": [
        "AGRICULTURE",
        "COMMUNICATION",
        "CONSTRUCTION",
        "EDUCATION",
        "ENERGY",
        "ENTERTAINMENT",
        "FINANCIAL",
        "GAMBLING",
        "GOVERNMENT",
        "HEALTHCARE",
        "HOSPITALITY",
        "HUMAN_RESOURCES",
        "INSURANCE",
        "LEGAL",
        "MANUFACTURING",
        "NGO",
        "POLITICAL",
        "POSTAL",
        "PROFESSIONAL",
        "REAL_ESTATE",
        "RETAIL",
        "TECHNOLOGY",
        "TRANSPORTATION"
      ],
      "title": "Vertical",
      "type": "string"
    }
  }
}