{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-business-compliance-info-update-request-schema.json",
  "title": "BusinessComplianceInfoUpdateRequest",
  "description": "Request object for updating WhatsApp Business Account compliance information",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-business-compliance-api-openapi.yml#/components/schemas/BusinessComplianceInfoUpdateRequest",
  "type": "object",
  "required": [
    "messaging_product",
    "entity_name",
    "entity_type",
    "grievance_officer_details",
    "customer_care_details"
  ],
  "properties": {
    "messaging_product": {
      "type": "string",
      "description": "Messaging product identifier, must be 'whatsapp'",
      "enum": [
        "whatsapp"
      ]
    },
    "entity_name": {
      "type": "string",
      "description": "Legal name of the business entity",
      "minLength": 2,
      "maxLength": 128
    },
    "entity_type": {
      "$ref": "#/$defs/BusinessEntityType"
    },
    "entity_type_custom": {
      "type": "string",
      "description": "Custom entity type description when entity_type is \"OTHER\". Required for OTHER entity type.",
      "maxLength": 1024
    },
    "is_registered": {
      "type": "boolean",
      "description": "Whether the business entity is officially registered with regulatory authorities. Can only be used with \"OTHER\" or \"PARTNERSHIP\" entity types."
    },
    "grievance_officer_details": {
      "$ref": "#/$defs/GrievanceOfficerUpdateDetails"
    },
    "customer_care_details": {
      "$ref": "#/$defs/CustomerCareUpdateDetails"
    }
  },
  "$defs": {
    "BusinessEntityType": {
      "type": "string",
      "description": "Type of business entity for compliance purposes",
      "enum": [
        "LIMITED_LIABILITY_PARTNERSHIP",
        "SOLE_PROPRIETORSHIP",
        "PARTNERSHIP",
        "PUBLIC_COMPANY",
        "PRIVATE_COMPANY",
        "OTHER"
      ]
    },
    "CustomerCareUpdateDetails": {
      "type": "object",
      "description": "Contact information for customer care and support",
      "required": [
        "email"
      ],
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "description": "Email address for customer care contact",
          "maxLength": 128
        },
        "mobile_number": {
          "type": "string",
          "description": "Mobile phone number for customer care (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$",
          "maxLength": 20
        },
        "landline_number": {
          "type": "string",
          "description": "Landline phone number for customer care (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$",
          "maxLength": 20
        }
      }
    },
    "GrievanceOfficerUpdateDetails": {
      "type": "object",
      "description": "Contact information for the designated grievance officer",
      "required": [
        "name",
        "email"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Full name of the grievance officer",
          "maxLength": 128
        },
        "email": {
          "type": "string",
          "format": "email",
          "description": "Email address for grievance officer contact",
          "maxLength": 128
        },
        "mobile_number": {
          "type": "string",
          "description": "Mobile phone number for grievance officer (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$",
          "maxLength": 20
        },
        "landline_number": {
          "type": "string",
          "description": "Landline phone number for grievance officer (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$",
          "maxLength": 20
        }
      }
    }
  }
}