{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/datahyena-com/json-schema/datahyena-com-public-investor-response-item-schema.json",
  "title": "PublicInvestorResponseItem",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/datahyena-com-openapi.json#/components/schemas/PublicInvestorResponseItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "vc",
        "angel",
        "cvc",
        "pe",
        "growth",
        "accelerator",
        "family_office",
        "syndicate",
        "unknown"
      ]
    },
    "hqCountry": {
      "type": [
        "object",
        "null"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/CountryDto"
        }
      ]
    },
    "domain": {
      "type": [
        "object",
        "null"
      ]
    },
    "roundsCount": {
      "type": "number",
      "description": "Funding rounds this investor has participated in."
    },
    "largestRoundUsd": {
      "type": [
        "object",
        "null"
      ],
      "description": "Largest round this investor has participated in, in whole USD."
    },
    "firstRoundAt": {
      "type": [
        "object",
        "null"
      ]
    },
    "lastRoundAt": {
      "type": [
        "object",
        "null"
      ]
    },
    "activeMarkets": {
      "description": "Countries this investor has funded companies in, most-backed first.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CountryDto"
      }
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "hqCountry",
    "domain",
    "roundsCount",
    "largestRoundUsd",
    "firstRoundAt",
    "lastRoundAt",
    "activeMarkets"
  ],
  "$defs": {
    "CountryDto": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code."
        },
        "name": {
          "type": "string",
          "description": "Human-readable country name."
        }
      },
      "required": [
        "code",
        "name"
      ]
    }
  }
}