{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clearstreet8e71/json-schema/clearstreet8e71-spv-detail-schema.json",
  "title": "SpvDetail",
  "description": "An OPEN SPV's identity, exact economics, and typed fee schedule.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clearstreet8e71-private-markets-api-openapi.yml#/components/schemas/SpvDetail",
  "type": "object",
  "required": [
    "id",
    "company_id",
    "name",
    "status",
    "currency"
  ],
  "properties": {
    "all_in_price_per_share": {
      "type": [
        "string",
        "null"
      ],
      "description": "Price per share including fees."
    },
    "company_id": {
      "type": "string",
      "format": "uuid",
      "description": "Company whose shares the vehicle holds."
    },
    "currency": {
      "$ref": "#/$defs/Currency",
      "description": "Terms currency."
    },
    "custodian_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Custodian."
    },
    "fee_per_share": {
      "type": [
        "string",
        "null"
      ],
      "description": "Per-share fee."
    },
    "fee_terms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SpvFeeTermResource"
      },
      "description": "Typed fee schedule."
    },
    "funded_percent": {
      "type": [
        "string",
        "null"
      ],
      "description": "Percentage of dollar allocation funded, derived from the allocation pair."
    },
    "funding_deadline": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Funding deadline."
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Stable SPV identifier."
    },
    "manager_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "SPV manager."
    },
    "minimum_investment_amount": {
      "type": [
        "string",
        "null"
      ],
      "description": "Minimum investment amount."
    },
    "name": {
      "type": "string",
      "description": "Legal/display name."
    },
    "opened_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Time the vehicle opened."
    },
    "price_per_share": {
      "type": [
        "string",
        "null"
      ],
      "description": "Price per share excluding fees."
    },
    "remaining_allocation_amount": {
      "type": [
        "string",
        "null"
      ],
      "description": "Remaining dollar allocation."
    },
    "remaining_share_allocation": {
      "type": [
        "string",
        "null"
      ],
      "description": "Remaining share allocation."
    },
    "share_class": {
      "type": [
        "string",
        "null"
      ],
      "description": "Underlying share class, when specified."
    },
    "status": {
      "$ref": "#/$defs/SpvStatus",
      "description": "Lifecycle state."
    },
    "structure_description": {
      "type": [
        "string",
        "null"
      ],
      "description": "Plain-text vehicle structure."
    },
    "total_allocation_amount": {
      "type": [
        "string",
        "null"
      ],
      "description": "Total dollar allocation."
    },
    "total_share_allocation": {
      "type": [
        "string",
        "null"
      ],
      "description": "Total share allocation."
    },
    "valuation": {
      "type": [
        "string",
        "null"
      ],
      "description": "Exact company valuation."
    },
    "valuation_basis": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/ValuationBasis",
          "description": "Meaning of `valuation`."
        }
      ]
    }
  },
  "$defs": {
    "ChargedBy": {
      "type": "string",
      "description": "Party charging a fee.",
      "enum": [
        "FUND_MANAGER",
        "CLEAR_STREET",
        "THIRD_PARTY"
      ]
    },
    "Currency": {
      "type": "string",
      "description": "Terms currency.",
      "enum": [
        "USD"
      ]
    },
    "FeeFrequency": {
      "type": "string",
      "description": "Fee timing/cadence.",
      "enum": [
        "ONE_TIME",
        "ANNUAL",
        "AT_EXIT",
        "PASS_THROUGH"
      ]
    },
    "FeeType": {
      "type": "string",
      "description": "Kind of SPV fee.",
      "enum": [
        "MANAGEMENT",
        "CARRY",
        "PLACEMENT",
        "ADMINISTRATIVE",
        "OTHER"
      ]
    },
    "SpvFeeTermResource": {
      "type": "object",
      "description": "One typed SPV fee term.",
      "required": [
        "fee_type",
        "charged_by",
        "frequency",
        "currency",
        "description"
      ],
      "properties": {
        "amount": {
          "type": [
            "string",
            "null"
          ],
          "description": "Exact fixed amount, when amount-based."
        },
        "charged_by": {
          "$ref": "#/$defs/ChargedBy",
          "description": "Charging party."
        },
        "currency": {
          "$ref": "#/$defs/Currency",
          "description": "Terms currency."
        },
        "description": {
          "type": "string",
          "description": "Plain-text fee disclosure."
        },
        "duration_years": {
          "type": [
            "string",
            "null"
          ],
          "description": "Charge duration in years, when specified."
        },
        "fee_type": {
          "$ref": "#/$defs/FeeType",
          "description": "Fee kind."
        },
        "frequency": {
          "$ref": "#/$defs/FeeFrequency",
          "description": "Timing/cadence."
        },
        "hurdle_rate": {
          "type": [
            "string",
            "null"
          ],
          "description": "Carry hurdle as a decimal fraction, when specified."
        },
        "rate": {
          "type": [
            "string",
            "null"
          ],
          "description": "Decimal fraction between zero and one, when percentage-based."
        }
      }
    },
    "SpvStatus": {
      "type": "string",
      "description": "SPV lifecycle state.",
      "enum": [
        "DRAFT",
        "OPEN",
        "CLOSED",
        "LIQUIDATING",
        "DISSOLVED"
      ]
    },
    "ValuationBasis": {
      "type": "string",
      "description": "Meaning of an indicative valuation range or an SPV valuation.",
      "enum": [
        "PRE_MONEY",
        "POST_MONEY",
        "REFERENCE",
        "IMPLIED"
      ]
    }
  }
}