{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-official-business-account-update-response-schema.json",
  "title": "OfficialBusinessAccountUpdateResponse",
  "description": "Response for Official Business Account status update operation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-official-business-account-api-openapi.yml#/components/schemas/OfficialBusinessAccountUpdateResponse",
  "type": "object",
  "required": [
    "success",
    "message"
  ],
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Indicates if the operation was successful"
    },
    "message": {
      "type": "string",
      "description": "Human-readable message describing the result of the operation"
    },
    "updated_status": {
      "$ref": "#/$defs/OfficialBusinessAccountStatus"
    },
    "tracking_id": {
      "type": "string",
      "description": "Unique identifier for tracking the application/update request"
    }
  },
  "$defs": {
    "OfficialBusinessAccountStatus": {
      "type": "object",
      "description": "Official Business Account status information for a WhatsApp Business Account phone number",
      "required": [
        "id",
        "oba_status",
        "status_message"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the WhatsApp Business Account phone number"
        },
        "oba_status": {
          "$ref": "#/$defs/WhatsAppBusinessAppealStatus"
        },
        "status_message": {
          "type": "string",
          "description": "Human-readable message describing the current Official Business Account status"
        }
      }
    },
    "WhatsAppBusinessAppealStatus": {
      "type": "string",
      "description": "Official Business Account appeal and verification status",
      "enum": [
        "PENDING",
        "APPROVED",
        "REJECTED",
        "UNDER_REVIEW",
        "EXPIRED",
        "CANCELLED"
      ]
    }
  }
}