{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bigdata/json-schema/bigdata-public-funding-rounds-response-schema.json",
  "title": "PublicFundingRoundsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigdata-private-markets-api-openapi.yml#/components/schemas/PublicFundingRoundsResponse",
  "properties": {
    "results": {
      "items": {
        "$ref": "#/$defs/PublicFundingRound"
      },
      "type": "array",
      "title": "Results",
      "description": "The company's funding rounds, in the order the data provider lists them. A response holds one page; send `pagination.cursor` back as `cursor` for the next. Empty when the provider has no rounds for the company."
    },
    "errors": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ErrorDetail"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Errors"
    },
    "metadata": {
      "$ref": "#/$defs/PublicFundingRoundsMetadata"
    },
    "pagination": {
      "anyOf": [
        {
          "$ref": "#/$defs/Pagination"
        },
        {
          "type": "null"
        }
      ]
    },
    "sources": {
      "items": {
        "$ref": "#/$defs/Source"
      },
      "type": "array",
      "title": "Sources",
      "description": "The content catalog sources the response was built from, one entry per source. Empty when no catalog source contributed."
    },
    "usage": {
      "anyOf": [
        {
          "$ref": "#/$defs/Usage"
        },
        {
          "type": "null"
        }
      ],
      "description": "Tokens the request consumed, per content tier. Present only for API keys billed in tokens."
    }
  },
  "type": "object",
  "required": [
    "results",
    "metadata"
  ],
  "$defs": {
    "DatePrecision": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "day",
            "month",
            "year"
          ],
          "title": "DatePrecision",
          "description": "How much of a date is known. Parts of the date beyond it carry no meaning."
        },
        {
          "type": "string"
        }
      ]
    },
    "DateWithPrecision": {
      "properties": {
        "value": {
          "type": "string",
          "format": "date",
          "title": "Value",
          "description": "The date."
        },
        "precision": {
          "anyOf": [
            {
              "$ref": "#/$defs/DatePrecision"
            },
            {
              "type": "null"
            }
          ],
          "description": "How much of the date is known. Parts of the date beyond it carry no meaning."
        }
      },
      "type": "object",
      "required": [
        "value"
      ],
      "title": "DateWithPrecision",
      "description": "A date that may be known only to the month or the year."
    },
    "EntityReference": {
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "description": "Name of the entity."
        },
        "entity_type": {
          "$ref": "#/$defs/EntityType",
          "description": "What the reference points at."
        },
        "rp_entity_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Rp Entity Id",
          "description": "RavenPack entity identifier of the entity, where it has one. Null where the entity cannot be mapped, which leaves the name and the kind as the whole of what identifies it."
        }
      },
      "type": "object",
      "required": [
        "entity_type"
      ],
      "title": "EntityReference",
      "description": "Another entity a row points at, such as an investor in a funding round."
    },
    "EntityType": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "organization",
            "person",
            "funding_round"
          ],
          "title": "EntityType",
          "description": "What kind of entity a reference points at."
        },
        {
          "type": "string"
        }
      ]
    },
    "ErrorDetail": {
      "properties": {
        "message": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Message"
        }
      },
      "type": "object",
      "title": "ErrorDetail"
    },
    "FundingType": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "angel",
            "convertible_note",
            "corporate_round",
            "debt_financing",
            "equity_crowdfunding",
            "grant",
            "initial_coin_offering",
            "non_equity_assistance",
            "post_ipo_debt",
            "post_ipo_equity",
            "post_ipo_secondary",
            "pre_seed",
            "private_equity",
            "product_crowdfunding",
            "secondary_market",
            "seed",
            "series_a",
            "series_b",
            "series_c",
            "series_d",
            "series_e",
            "series_f",
            "series_g",
            "series_h",
            "series_i",
            "series_j",
            "series_unknown",
            "undisclosed"
          ],
          "title": "FundingType",
          "description": "The kind of a funding round."
        },
        {
          "type": "string"
        }
      ]
    },
    "InvestmentStage": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "early_stage_venture",
            "late_stage_venture",
            "private_equity",
            "seed"
          ],
          "title": "InvestmentStage",
          "description": "The stage of the company a funding round belongs to."
        },
        {
          "type": "string"
        }
      ]
    },
    "MoneyAmount": {
      "properties": {
        "value": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value",
          "description": "The amount, in the currency it was reported in."
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Currency",
          "description": "Code of the reported currency."
        },
        "value_usd": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Value Usd",
          "description": "The amount converted to US dollars."
        }
      },
      "type": "object",
      "title": "MoneyAmount",
      "description": "An amount of money, as reported and converted to US dollars."
    },
    "Pagination": {
      "properties": {
        "cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Cursor",
          "description": "Next page token or URL to retrieve the next page of results."
        },
        "has_cursor": {
          "type": "boolean",
          "title": "Has Cursor",
          "description": "Whether there are more pages available after this one.",
          "default": false
        }
      },
      "type": "object",
      "title": "Pagination",
      "description": "Common pagination response for endpoints that support pagination."
    },
    "PublicFundingRound": {
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "description": "The round's name."
        },
        "announced_on": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateWithPrecision"
            },
            {
              "type": "null"
            }
          ],
          "description": "Date the round was announced."
        },
        "closed_on": {
          "anyOf": [
            {
              "$ref": "#/$defs/DateWithPrecision"
            },
            {
              "type": "null"
            }
          ],
          "description": "Date the round closed."
        },
        "investment_type": {
          "anyOf": [
            {
              "$ref": "#/$defs/FundingType"
            },
            {
              "type": "null"
            }
          ],
          "description": "The kind of round."
        },
        "investment_stage": {
          "anyOf": [
            {
              "$ref": "#/$defs/InvestmentStage"
            },
            {
              "type": "null"
            }
          ],
          "description": "The stage of the company the round belongs to."
        },
        "money_raised": {
          "anyOf": [
            {
              "$ref": "#/$defs/MoneyAmount"
            },
            {
              "type": "null"
            }
          ],
          "description": "Amount raised in the round."
        },
        "target_money_raised": {
          "anyOf": [
            {
              "$ref": "#/$defs/MoneyAmount"
            },
            {
              "type": "null"
            }
          ],
          "description": "Amount the round set out to raise."
        },
        "pre_money_valuation": {
          "anyOf": [
            {
              "$ref": "#/$defs/MoneyAmount"
            },
            {
              "type": "null"
            }
          ],
          "description": "Valuation of the company before the round."
        },
        "post_money_valuation": {
          "anyOf": [
            {
              "$ref": "#/$defs/MoneyAmount"
            },
            {
              "type": "null"
            }
          ],
          "description": "Valuation of the company after the round."
        },
        "post_money_valuation_source": {
          "anyOf": [
            {
              "$ref": "#/$defs/ValuationSource"
            },
            {
              "type": "null"
            }
          ],
          "description": "Whether the post-money valuation is confirmed or estimated."
        },
        "is_equity": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Is Equity",
          "description": "Whether the round was an equity round."
        },
        "num_investors": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Num Investors",
          "description": "Number of investors in the round."
        },
        "lead_investors": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/EntityReference"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lead Investors",
          "description": "The investors who led the round."
        },
        "investors": {
          "anyOf": [
            {
              "items": {
                "$ref": "#/$defs/EntityReference"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Investors",
          "description": "Every investor in the round, the leads included."
        }
      },
      "type": "object",
      "title": "PublicFundingRound",
      "description": "One funding round a company raised."
    },
    "PublicFundingRoundsMetadata": {
      "properties": {
        "request_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Request Id"
        },
        "timestamp": {
          "type": "string",
          "title": "Timestamp"
        },
        "rp_entity_id": {
          "type": "string",
          "maxLength": 6,
          "minLength": 6,
          "title": "Rp Entity Id",
          "description": "The RavenPack entity ID of the company requested."
        }
      },
      "type": "object",
      "required": [
        "rp_entity_id"
      ],
      "title": "PublicFundingRoundsMetadata"
    },
    "Source": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id",
          "description": "Content catalog identifier of the source."
        },
        "name": {
          "type": "string",
          "title": "Name",
          "description": "Catalog name of the dataset the data came from."
        }
      },
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "title": "Source",
      "description": "A content catalog source that contributed data to a structured-data response."
    },
    "Usage": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Usage",
      "description": "Public structured-data usage for a request, aggregated per content tier.\n\nA flat object keyed per content tier, where each key is derived from the\ncontent tier identifier by dropping the ``content-`` prefix and appending\n``_tokens`` (e.g. ``corporate-fundamentals`` ->\n``corporate_fundamentals_tokens``). It is sparse: only tiers with non-zero\ntokens appear, and an absent key means zero tokens for that tier."
    },
    "ValuationSource": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "confirmed",
            "estimated"
          ],
          "title": "ValuationSource",
          "description": "Whether a valuation is confirmed or estimated."
        },
        {
          "type": "string"
        }
      ]
    }
  }
}