{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-business-compliance-info-schema.json",
  "title": "BusinessComplianceInfo",
  "description": "WhatsApp Business Account compliance information and regulatory details",
  "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/BusinessComplianceInfo",
  "type": "object",
  "required": [
    "whatsapp_business_account_id"
  ],
  "properties": {
    "whatsapp_business_account_id": {
      "type": "string",
      "description": "Unique identifier for the WhatsApp Business Account"
    },
    "messaging_product": {
      "type": "string",
      "description": "Messaging product identifier, always 'whatsapp' for WhatsApp Business",
      "enum": [
        "whatsapp"
      ]
    },
    "entity_name": {
      "type": "string",
      "description": "Legal name of the business entity"
    },
    "entity_type": {
      "type": "string",
      "description": "Type of business entity (e.g., Partnership, Private Limited Company, etc.)"
    },
    "entity_type_custom": {
      "type": "string",
      "description": "Custom entity type description when standard types don't apply"
    },
    "is_registered": {
      "type": "boolean",
      "description": "Whether the business entity is officially registered with regulatory authorities"
    },
    "grievance_officer_details": {
      "$ref": "#/$defs/GrievanceOfficerDetails"
    },
    "customer_care_details": {
      "$ref": "#/$defs/CustomerCareDetails"
    }
  },
  "$defs": {
    "CustomerCareDetails": {
      "type": "object",
      "description": "Contact information for customer care and support",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "description": "Email address for customer care contact"
        },
        "mobile_number": {
          "type": "string",
          "description": "Mobile phone number for customer care (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$"
        },
        "landline_number": {
          "type": "string",
          "description": "Landline phone number for customer care (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$"
        }
      }
    },
    "GrievanceOfficerDetails": {
      "type": "object",
      "description": "Contact information for the designated grievance officer",
      "properties": {
        "name": {
          "type": "string",
          "description": "Full name of the grievance officer"
        },
        "email": {
          "type": "string",
          "format": "email",
          "description": "Email address for grievance officer contact"
        },
        "mobile_number": {
          "type": "string",
          "description": "Mobile phone number for grievance officer (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$"
        },
        "landline_number": {
          "type": "string",
          "description": "Landline phone number for grievance officer (with country code)",
          "pattern": "^\\\\+[1-9]\\\\d{1,14}$"
        }
      }
    }
  }
}