{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/makememoneynomistakes-ai/json-schema/makememoneynomistakes-ai-agent-page-schema.json",
  "title": "AgentPage",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/makememoneynomistakes-ai-openapi.json#/components/schemas/AgentPage",
  "type": "object",
  "properties": {
    "as_of": {
      "type": "string"
    },
    "mode": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 5000,
            "description": "Enhanced description combining research and available Bazaar claims (paid agent pages/export only)."
          },
          "description_preview": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 160,
            "description": "One sentence from a verified-linked Bazaar listing; provider claim, unverified. Never research text."
          },
          "description_note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Free response only: paid-access note, or null when no enhanced profile exists."
          },
          "description_research": {
            "type": [
              "object",
              "null"
            ],
            "description": "Paid only. Supplied research findings, including identity caveats and their date; never scoring evidence.",
            "properties": {
              "agent_ref": {
                "type": "string"
              },
              "summary": {
                "type": "string"
              },
              "self_description_check": {
                "type": "string"
              },
              "category": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "website": {
                "type": "string"
              },
              "links": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "identity_match": {
                "type": "string"
              },
              "confidence": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ]
              },
              "checked_on": {
                "type": "string",
                "format": "date"
              }
            }
          },
          "description_bazaar": {
            "type": "array",
            "description": "Paid only. Up to three matched Bazaar claims and provenance; first claim supplies the public preview.",
            "maxItems": 3,
            "items": {
              "type": "object",
              "properties": {
                "resource_key": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "observed_at": {
                  "type": "string"
                },
                "link_checked_at": {
                  "type": "string"
                }
              }
            }
          },
          "score": {
            "type": [
              "number",
              "null"
            ]
          },
          "verdict": {
            "type": "string",
            "enum": [
              "LEGIT",
              "SUS",
              "BOUNCED"
            ]
          },
          "rookie": {
            "type": "boolean"
          },
          "rank": {
            "type": [
              "integer",
              "null"
            ]
          },
          "earned_eth_clean": {
            "type": "number"
          },
          "flags": {
            "type": "integer"
          },
          "basis": {
            "type": "string",
            "enum": [
              "paid_jobs",
              "reviews_only",
              "paid_calls"
            ]
          },
          "paid_per_use": {
            "type": "object",
            "properties": {
              "basis": {
                "type": "string",
                "const": "paid_calls"
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "rank": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "board": {
                "type": [
                  "string",
                  "null"
                ],
                "enum": [
                  "ranked",
                  "rookies",
                  "bouncer",
                  null
                ]
              },
              "rookie": {
                "type": "boolean"
              },
              "verdict": {
                "type": "string",
                "enum": [
                  "LEGIT",
                  "SUS",
                  "BOUNCED"
                ]
              },
              "components": {
                "type": "object"
              },
              "as_of": {
                "type": "string"
              },
              "stats": {
                "type": "object",
                "properties": {
                  "payer_clusters": {
                    "type": "integer"
                  },
                  "repeat_payer_clusters": {
                    "type": "integer"
                  },
                  "calls": {
                    "type": "object",
                    "properties": {
                      "total": {
                        "type": "integer"
                      },
                      "clean": {
                        "type": "integer"
                      },
                      "self": {
                        "type": "integer"
                      },
                      "sweep": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "total",
                      "clean",
                      "self",
                      "sweep"
                    ]
                  },
                  "usdc_atomic_clean": {
                    "type": "string",
                    "pattern": "^[0-9]+$",
                    "description": "Clean USDC in exact atomic units (6 decimals)."
                  }
                },
                "required": [
                  "payer_clusters",
                  "repeat_payer_clusters",
                  "calls",
                  "usdc_atomic_clean"
                ]
              }
            },
            "required": [
              "basis",
              "score",
              "rank",
              "board",
              "rookie",
              "verdict",
              "components",
              "stats",
              "as_of"
            ]
          },
          "category": {
            "type": "string",
            "description": "Non-scoring label from existing research or verified Bazaar tags; absent when unknown."
          },
          "category_note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Risk disclaimer for trading, DeFi, prediction markets and airdrops."
          },
          "category_source_note": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "verdict",
          "score",
          "flags"
        ]
      }
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "more": {
      "type": "object",
      "description": "Free page only: the paid call that answers more, with its cost."
    }
  },
  "required": [
    "as_of",
    "items"
  ]
}