{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/lightspark/main/json-schema/lightspark-discovery-list-response-schema.json",
  "title": "DiscoveryListResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lightspark-discoveries-api-openapi.yml#/components/schemas/DiscoveryListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "List of payment rails matching the filter criteria",
      "items": {
        "type": "object",
        "required": [
          "bankName",
          "displayName",
          "country",
          "currency"
        ],
        "properties": {
          "bankName": {
            "type": "string",
            "description": "Canonical name for this payment rail. Pass this value as `bankName` when creating an external account.\n"
          },
          "displayName": {
            "type": "string",
            "description": "Human-friendly display name for this payment rail."
          },
          "country": {
            "type": "string",
            "description": "ISO 3166-1 alpha-2 country code."
          },
          "currency": {
            "type": "string",
            "description": "ISO 4217 currency code."
          }
        }
      }
    }
  }
}