{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsapp/json-schema/whatsapp-connected-client-businesses-response-schema.json",
  "title": "ConnectedClientBusinessesResponse",
  "description": "Response containing list of connected client businesses",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsapp-application-business-connections-api-openapi.yml#/components/schemas/ConnectedClientBusinessesResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Array of connected client businesses",
      "items": {
        "$ref": "#/$defs/ConnectedClientBusiness"
      }
    },
    "paging": {
      "$ref": "#/$defs/CursorPaging"
    }
  },
  "$defs": {
    "BusinessStatus": {
      "type": "string",
      "description": "Current status of the connected client business",
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "SUSPENDED",
        "PENDING_APPROVAL"
      ]
    },
    "BusinessVerificationStatus": {
      "type": "string",
      "description": "Verification status of the connected client business",
      "enum": [
        "VERIFIED",
        "UNVERIFIED",
        "PENDING",
        "REJECTED"
      ]
    },
    "ConnectedClientBusiness": {
      "type": "object",
      "description": "Connected client business information and configuration",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the connected client business"
        },
        "name": {
          "type": "string",
          "description": "Name of the connected client business",
          "minLength": 1,
          "maxLength": 255
        },
        "verification_status": {
          "$ref": "#/$defs/BusinessVerificationStatus"
        },
        "business_status": {
          "$ref": "#/$defs/BusinessStatus"
        },
        "created_time": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the business connection was created"
        },
        "updated_time": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the business connection was last updated"
        }
      }
    },
    "CursorPaging": {
      "type": "object",
      "description": "Cursor-based pagination information",
      "properties": {
        "cursors": {
          "type": "object",
          "properties": {
            "before": {
              "type": "string",
              "description": "Cursor pointing to the start of the page of data"
            },
            "after": {
              "type": "string",
              "description": "Cursor pointing to the end of the page of data"
            }
          }
        },
        "previous": {
          "type": "string",
          "description": "URL for the previous page of results"
        },
        "next": {
          "type": "string",
          "description": "URL for the next page of results"
        }
      }
    }
  }
}