{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/caliza/json-schema/caliza-page-integrator-capability-response-schema.json",
  "title": "PageIntegratorCapabilityResponse",
  "description": "Paginated list of integrator capabilities including pagination metadata.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/caliza-integrator-capabilities-v1-api-openapi.yml#/components/schemas/PageIntegratorCapabilityResponse",
  "type": "object",
  "properties": {
    "totalElements": {
      "type": "integer",
      "format": "int64"
    },
    "totalPages": {
      "type": "integer",
      "format": "int32"
    },
    "first": {
      "type": "boolean"
    },
    "last": {
      "type": "boolean"
    },
    "size": {
      "type": "integer",
      "format": "int32"
    },
    "content": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IntegratorCapabilityResponse"
      }
    },
    "number": {
      "type": "integer",
      "format": "int32"
    },
    "sort": {
      "$ref": "#/$defs/Sort"
    },
    "numberOfElements": {
      "type": "integer",
      "format": "int32"
    },
    "pageable": {
      "$ref": "#/$defs/PageableObject"
    },
    "empty": {
      "type": "boolean"
    }
  },
  "$defs": {
    "CapabilityDto": {
      "type": "object",
      "description": "Capability configuration for a payment rail including supported currencies, countries, and transaction limits.",
      "properties": {
        "id": {
          "type": "string"
        },
        "fromCurrency": {
          "type": "string",
          "enum": [
            "USDT",
            "USDC",
            "USD",
            "BRL",
            "MXN",
            "COP",
            "EUR",
            "EURT",
            "HKD",
            "SGD",
            "CNY",
            "CNH",
            "ARS",
            "ANY"
          ]
        },
        "toCurrency": {
          "type": "string",
          "enum": [
            "USDT",
            "USDC",
            "USD",
            "BRL",
            "MXN",
            "COP",
            "EUR",
            "EURT",
            "HKD",
            "SGD",
            "CNY",
            "CNH",
            "ARS",
            "ANY"
          ]
        },
        "funding": {
          "type": "string",
          "enum": [
            "PIX",
            "SPEI",
            "WIRE",
            "RTP",
            "COP",
            "CVU",
            "LOCAL_EXCHANGE",
            "CRYPTO_INTERNAL_TRANSFER",
            "POLYGON",
            "ETH",
            "TRON",
            "STELLAR",
            "UNKNOWN",
            "ACH",
            "SWIFT",
            "BASE",
            "SOLANA",
            "CALIZA_WALLET",
            "MAIN_CALIZA_WALLET",
            "ANY"
          ]
        },
        "payout": {
          "type": "string",
          "enum": [
            "PIX",
            "SPEI",
            "WIRE",
            "RTP",
            "COP",
            "CVU",
            "LOCAL_EXCHANGE",
            "CRYPTO_INTERNAL_TRANSFER",
            "POLYGON",
            "ETH",
            "TRON",
            "STELLAR",
            "UNKNOWN",
            "ACH",
            "SWIFT",
            "BASE",
            "SOLANA",
            "CALIZA_WALLET",
            "MAIN_CALIZA_WALLET",
            "ANY"
          ]
        }
      }
    },
    "IntegratorCapabilityResponse": {
      "type": "object",
      "description": "Payment capability configuration for an integrator including enabled payment rails and limits.",
      "properties": {
        "id": {
          "type": "string"
        },
        "integratorId": {
          "type": "string"
        },
        "capability": {
          "$ref": "#/$defs/CapabilityDto"
        }
      }
    },
    "PageableObject": {
      "type": "object",
      "description": "Pagination information object including page number, size, offset, and sorting configuration.",
      "properties": {
        "offset": {
          "type": "integer",
          "format": "int64",
          "description": "Number of elements to skip from the beginning of the result set."
        },
        "sort": {
          "$ref": "#/$defs/Sort"
        },
        "pageNumber": {
          "type": "integer",
          "format": "int32",
          "description": "Zero-based page number (0 = first page)."
        },
        "pageSize": {
          "type": "integer",
          "format": "int32",
          "description": "Number of elements per page."
        },
        "paged": {
          "type": "boolean",
          "description": "Indicates if pagination is enabled."
        },
        "unpaged": {
          "type": "boolean",
          "description": "Indicates if pagination is disabled."
        }
      }
    },
    "Sort": {
      "type": "object",
      "description": "Sorting configuration for paginated results including order direction and property to sort by.",
      "properties": {
        "empty": {
          "type": "boolean",
          "description": "Indicates if no sorting is applied."
        },
        "sorted": {
          "type": "boolean",
          "description": "Indicates if results are sorted."
        },
        "unsorted": {
          "type": "boolean",
          "description": "Indicates if results are not sorted."
        }
      }
    }
  }
}