{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dealroom/json-schema/dealroom-fund-list-response-schema.json",
  "title": "FundListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dealroom-funds-api-openapi.yml#/components/schemas/FundListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Fund"
      }
    },
    "page": {
      "$ref": "#/$defs/CappedPaginationPage"
    },
    "currency": {
      "type": "string",
      "description": "Requested response currency (default USD) — the currency `amount` is expressed in. The original native value is in `amount_source`."
    }
  },
  "required": [
    "data",
    "page",
    "currency"
  ],
  "$defs": {
    "AccessTier": {
      "type": "string",
      "enum": [
        "anonymous",
        "free",
        "premium"
      ],
      "description": "The access tier applied to this request (anonymous, free, premium). API-key callers report premium: they receive the full field set and are not page-capped."
    },
    "CappedPaginationPage": {
      "type": "object",
      "properties": {
        "total": {
          "type": [
            "number",
            "null"
          ]
        },
        "limit": {
          "type": "number"
        },
        "offset": {
          "type": "number"
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque cursor for the next page. Null when no further pages exist."
        },
        "prev_cursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque cursor for the previous page. Null when on the first page."
        },
        "capped": {
          "type": "boolean",
          "description": "True when the requested page size was reduced to the per-tier/ecosystem row cap."
        },
        "tier": {
          "$ref": "#/$defs/AccessTier"
        },
        "ecosystem": {
          "type": [
            "string",
            "null"
          ],
          "description": "Slug of the active ecosystem subdomain, or null when none is in scope."
        }
      },
      "required": [
        "total",
        "limit",
        "offset",
        "next_cursor",
        "prev_cursor",
        "capped",
        "tier",
        "ecosystem"
      ]
    },
    "EntityRef": {
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string",
          "description": "Stable UUID of the entity."
        },
        "type": {
          "$ref": "#/$defs/EntityType"
        },
        "subtype": {
          "anyOf": [
            {
              "$ref": "#/$defs/OrganizationSubtype"
            },
            {
              "type": "null"
            }
          ],
          "description": "Organization subtype; always null for a person."
        },
        "name": {
          "type": "string",
          "description": "Display name."
        },
        "image": {
          "type": [
            "string",
            "null"
          ],
          "description": "Absolute image URL; null when none."
        },
        "dealroom_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Canonical profile URL on app.dealroom.co."
        }
      },
      "required": [
        "uuid",
        "type",
        "subtype",
        "name",
        "image",
        "dealroom_url"
      ],
      "description": "The identity of an entity embedded in another entity's response. Closed: richer detail lives on the sub-resource, where tier redaction can reach it."
    },
    "EntityType": {
      "type": "string",
      "enum": [
        "organization",
        "person"
      ],
      "description": "Top-level entity type: `organization` or `person`."
    },
    "Fund": {
      "type": "object",
      "properties": {
        "id": {
          "type": "number",
          "description": "Stable Dealroom fund id (source `bobjects_funds.id`)."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Fund name as reported."
        },
        "fund_type": {
          "type": [
            "string",
            "null"
          ],
          "description": "Fund category — one of `Venture Capital`, `Private Equity`, `Growth Equity`, `Corporate`, `Life Sciences`, `Renewables`, `Fund of Funds`, `Other`."
        },
        "amount": {
          "type": [
            "number",
            "null"
          ],
          "description": "Fund size in the requested response `currency` (the top-level envelope `currency`, default USD), converted from the native amount. Null when the source amount is unknown or its native currency has no exchange rate."
        },
        "amount_source": {
          "$ref": "#/$defs/FundAmountSource"
        },
        "announced_date": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Day the fund was announced."
        },
        "is_closed": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether the fund is closed to new commitments."
        },
        "source_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "External news / press URL announcing the fund."
        },
        "manager": {
          "$ref": "#/$defs/EntityRef"
        }
      },
      "required": [
        "id",
        "name",
        "fund_type",
        "amount",
        "amount_source",
        "announced_date",
        "is_closed",
        "source_url",
        "manager"
      ]
    },
    "FundAmountSource": {
      "type": "object",
      "properties": {
        "amount": {
          "type": [
            "number",
            "null"
          ],
          "description": "Fund size as stored, in the fund's own native currency."
        },
        "currency": {
          "type": [
            "string",
            "null"
          ],
          "description": "ISO 4217 code of the fund's native currency."
        }
      },
      "required": [
        "amount",
        "currency"
      ],
      "description": "The original as-stored fund size and its native currency, before conversion."
    },
    "OrganizationSubtype": {
      "type": "string",
      "enum": [
        "company",
        "university",
        "gov_ngo",
        "investor"
      ],
      "description": "The kind of organization: company, university, gov_ngo or investor."
    }
  }
}