{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zendit/refs/heads/main/json-structure/zendit-api-purchase-list-structure.json",
  "name": "PurchaseList",
  "description": "Paginated purchase list.",
  "type": "object",
  "properties": {
    "list": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Purchase"
      },
      "example": [
        {}
      ]
    },
    "offset": {
      "type": "int32",
      "example": 0
    },
    "limit": {
      "type": "int32",
      "example": 100
    },
    "total": {
      "type": "int32",
      "example": 50
    }
  }
}