{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prospectapis/json-schema/prospectapis-funding-record-schema.json",
  "title": "FundingRecord",
  "description": "A single funding round. Fields that are unknown for a round are null.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prospectapis-funding-api-openapi.yml#/components/schemas/FundingRecord",
  "type": "object",
  "required": [
    "id",
    "company_name",
    "announced_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "company_name": {
      "type": "string"
    },
    "company_domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "event_class": {
      "type": [
        "string",
        "null"
      ],
      "description": "The kind of event, e.g. a funding round."
    },
    "round_label": {
      "type": [
        "string",
        "null"
      ],
      "description": "The human round label, e.g. \"Series A\"."
    },
    "round_stage": {
      "type": [
        "string",
        "null"
      ],
      "description": "The normalised round stage, e.g. \"series_a\" (the value `round` filters on)."
    },
    "amount_usd": {
      "type": [
        "number",
        "null"
      ],
      "description": "The round size in USD, when known."
    },
    "amount_original": {
      "type": [
        "number",
        "null"
      ],
      "description": "The round size in its original currency, when it was not USD."
    },
    "currency": {
      "type": [
        "string",
        "null"
      ],
      "description": "The original currency code for amount_original."
    },
    "announced_at": {
      "type": "string",
      "format": "date",
      "description": "The announcement date (the sort key)."
    },
    "investors": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "lead_investors": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "location": {
      "type": [
        "string",
        "null"
      ],
      "description": "The headquarters place as the source states it, often a city, a state or a fragment. Null when no place was stated."
    },
    "country": {
      "type": [
        "string",
        "null"
      ],
      "description": "The headquarters country name, such as United States, derived from country_code. Null when country_code is null."
    },
    "country_code": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[A-Z]{2}$",
      "description": "The headquarters country as an ISO 3166-1 alpha-2 code, such as US. Null when the location is unknown, ambiguous or names two countries."
    },
    "source_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "The public announcement a buyer verifies against."
    },
    "attributes": {
      "type": [
        "object",
        "null"
      ],
      "description": "Extra, source-dependent fields.",
      "additionalProperties": true
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}