{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentpay-so/json-schema/agentpay-so-marketplace-discover-response-schema.json",
  "title": "MarketplaceDiscoverResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentpay-so-openapi.yml#/components/schemas/MarketplaceDiscoverResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "agents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rank": {
            "type": "integer"
          },
          "agentId": {
            "type": "string"
          },
          "handle": {
            "type": "string"
          },
          "bio": {
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "type": "integer"
          },
          "grade": {
            "type": "string"
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "profileUrl": {
            "type": "string"
          }
        }
      }
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    },
    "filters": {
      "type": "object"
    }
  },
  "$defs": {
    "Pagination": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "limit": {
          "type": "integer"
        },
        "offset": {
          "type": "integer"
        },
        "hasMore": {
          "type": "boolean"
        }
      }
    }
  }
}