{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-whats-app-business-profile-node-schema.json",
  "title": "WhatsAppBusinessProfileNode",
  "description": "WhatsApp Business Profile node details and configuration",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-business-messaging-api-openapi.yml#/components/schemas/WhatsAppBusinessProfileNode",
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the WhatsApp Business Profile"
    },
    "account_name": {
      "type": "string",
      "description": "Name of the business account",
      "minLength": 1,
      "maxLength": 75
    },
    "description": {
      "type": "string",
      "description": "Business description text",
      "minLength": 1,
      "maxLength": 256
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Contact email address of the business",
      "maxLength": 128
    },
    "about": {
      "type": "string",
      "description": "About section text for the business profile",
      "minLength": 1,
      "maxLength": 139
    },
    "address": {
      "type": "string",
      "description": "Physical address of the business",
      "maxLength": 256
    },
    "vertical": {
      "$ref": "#/$defs/WhatsAppBusinessVertical"
    },
    "websites": {
      "type": "array",
      "description": "List of website URLs associated with the business",
      "maxItems": 2,
      "items": {
        "type": "string",
        "format": "uri",
        "maxLength": 256
      }
    },
    "profile_picture_url": {
      "type": "string",
      "format": "uri",
      "description": "URL of the business profile picture"
    },
    "profile_picture_handle": {
      "type": "string",
      "description": "Handle of the profile picture for upload operations"
    },
    "messaging_product": {
      "type": "string",
      "description": "The messaging service used",
      "enum": [
        "whatsapp"
      ]
    }
  },
  "$defs": {
    "WhatsAppBusinessVertical": {
      "type": "string",
      "description": "The industry type of the business",
      "enum": [
        "OTHER",
        "AUTO",
        "BEAUTY",
        "APPAREL",
        "EDU",
        "ENTERTAIN",
        "EVENT_PLAN",
        "FINANCE",
        "GROCERY",
        "GOVT",
        "HOTEL",
        "HEALTH",
        "NONPROFIT",
        "PROF_SERVICES",
        "RETAIL",
        "TRAVEL",
        "RESTAURANT",
        "ALCOHOL",
        "ONLINE_GAMBLING",
        "PHYSICAL_GAMBLING",
        "OTC_DRUGS"
      ]
    }
  }
}