{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clearstreet8e71/json-schema/clearstreet8e71-offering-detail-schema.json",
  "title": "OfferingDetail",
  "description": "One offering with everything needed to render its detail payload.",
  "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/OfferingDetail",
  "allOf": [
    {
      "$ref": "#/$defs/OfferingCard",
      "description": "The card fields, flattened onto the detail object."
    },
    {
      "type": "object",
      "properties": {
        "disclosures": {
          "type": [
            "string",
            "null"
          ],
          "description": "Important disclosures."
        },
        "documents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OfferingDocumentResource"
          },
          "description": "Campaign documents in display order."
        },
        "highlights": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OfferingHighlight"
          },
          "description": "Ordered resolved highlights."
        },
        "investment_thesis": {
          "type": [
            "string",
            "null"
          ],
          "description": "Campaign-specific investment framing."
        },
        "key_risks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OfferingKeyRisk"
          },
          "description": "Ordered key risks."
        },
        "participants": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/OfferingParticipantResource"
          },
          "description": "Campaign participants in display order."
        },
        "structure_description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Vehicle/structure framing shown before typed SPV terms exist."
        },
        "why_now": {
          "type": [
            "string",
            "null"
          ],
          "description": "Why-now framing."
        }
      }
    }
  ],
  "$defs": {
    "Currency": {
      "type": "string",
      "description": "Terms currency.",
      "enum": [
        "USD"
      ]
    },
    "MetricUnit": {
      "type": "string",
      "description": "Unit for a resolved highlight metric.",
      "enum": [
        "USD",
        "PERCENT",
        "COUNT",
        "RANK"
      ]
    },
    "MetricValueType": {
      "type": "string",
      "description": "Whether a resolved highlight value is observed or estimated.",
      "enum": [
        "HISTORICAL",
        "ESTIMATED"
      ]
    },
    "NdaAgreementResource": {
      "type": "object",
      "description": "Current NDA agreement for an SPV-backed deal.",
      "required": [
        "agreement_id",
        "version",
        "document_reference",
        "document_sha256",
        "acceptance_text",
        "acceptance_text_version",
        "effective_at"
      ],
      "properties": {
        "acceptance_text": {
          "type": "string",
          "description": "Exact assent and authority representation shown to the signer."
        },
        "acceptance_text_version": {
          "type": "integer",
          "format": "int32",
          "description": "Version of the acceptance representation."
        },
        "agreement_id": {
          "type": "string",
          "format": "uuid",
          "description": "Stable agreement identifier submitted with an IOI acceptance."
        },
        "document_reference": {
          "type": "string",
          "description": "Durable reference to the immutable NDA artifact."
        },
        "document_sha256": {
          "type": "string",
          "description": "Lowercase SHA-256 digest of the artifact bytes."
        },
        "effective_at": {
          "type": "string",
          "format": "date-time",
          "description": "Time this version became effective."
        },
        "version": {
          "type": "integer",
          "format": "int32",
          "description": "Strictly increasing SPV-local agreement version."
        }
      }
    },
    "OfferingCard": {
      "type": "object",
      "description": "One offering as it appears in a list: its derived class, indicative terms,\na company identity summary, and any attached SPV.",
      "required": [
        "id",
        "class",
        "headline",
        "summary",
        "company",
        "currency"
      ],
      "properties": {
        "class": {
          "$ref": "#/$defs/OfferingClass",
          "description": "Derived classification."
        },
        "company": {
          "$ref": "#/$defs/OfferingCompany",
          "description": "Owning company identity."
        },
        "currency": {
          "$ref": "#/$defs/Currency",
          "description": "Terms currency."
        },
        "headline": {
          "type": "string",
          "description": "Card/detail headline."
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Stable public identifier; IOIs and history hang off it."
        },
        "indicative_price_high": {
          "type": [
            "string",
            "null"
          ],
          "description": "Indicative price-per-share range, high endpoint."
        },
        "indicative_price_low": {
          "type": [
            "string",
            "null"
          ],
          "description": "Indicative price-per-share range, low endpoint."
        },
        "indicative_valuation_basis": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/ValuationBasis",
              "description": "Meaning of the indicative valuation range."
            }
          ]
        },
        "indicative_valuation_high": {
          "type": [
            "string",
            "null"
          ],
          "description": "Indicative valuation range, high endpoint."
        },
        "indicative_valuation_low": {
          "type": [
            "string",
            "null"
          ],
          "description": "Indicative valuation range, low endpoint."
        },
        "ioi_deadline": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Deadline for indications of interest."
        },
        "minimum_ioi_amount": {
          "type": [
            "string",
            "null"
          ],
          "description": "Minimum indication-of-interest amount."
        },
        "spv": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/OfferingSpv",
              "description": "Attached SPV identity and lifecycle, once one exists."
            }
          ]
        },
        "summary": {
          "type": "string",
          "description": "Top opportunity paragraph."
        }
      }
    },
    "OfferingClass": {
      "type": "string",
      "description": "Derived offering classification.",
      "enum": [
        "UPCOMING",
        "ACTIVE"
      ]
    },
    "OfferingCompany": {
      "type": "object",
      "description": "Company identity carried on an offering card/detail.",
      "required": [
        "id",
        "name",
        "slug",
        "short_description"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Stable company identifier."
        },
        "logo_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Company logo URL, when known."
        },
        "name": {
          "type": "string",
          "description": "Display name."
        },
        "primary_domain": {
          "type": [
            "string",
            "null"
          ],
          "description": "Canonical lowercase domain, when known."
        },
        "short_description": {
          "type": "string",
          "description": "Short card/search description."
        },
        "slug": {
          "type": "string",
          "description": "Lowercase URL slug."
        }
      }
    },
    "OfferingDocumentResource": {
      "type": "object",
      "description": "A campaign document's display metadata. Exactly one of `url`/`object_key`\nis set; an object key is resolved and signed elsewhere.",
      "required": [
        "id",
        "document_type",
        "title",
        "display_order"
      ],
      "properties": {
        "display_order": {
          "type": "integer",
          "format": "int32",
          "description": "Stable display position."
        },
        "document_type": {
          "$ref": "#/$defs/OfferingDocumentType",
          "description": "Document kind."
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Stable identifier."
        },
        "object_key": {
          "type": [
            "string",
            "null"
          ],
          "description": "Object-store key, when the document is stored internally."
        },
        "published_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Publication time, when known."
        },
        "source": {
          "type": [
            "string",
            "null"
          ],
          "description": "Source publisher/provider."
        },
        "source_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Source URL."
        },
        "title": {
          "type": "string",
          "description": "Display title."
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Externally reachable URL, when the document lives at one."
        }
      }
    },
    "OfferingDocumentType": {
      "type": "string",
      "description": "Kind of campaign document.",
      "enum": [
        "TEARSHEET",
        "KEY_TERMS",
        "RISK_FACTORS",
        "PPM",
        "OTHER"
      ]
    },
    "OfferingHighlight": {
      "type": "object",
      "description": "A curated highlight, resolved against the company profile's metric series.",
      "required": [
        "metric_key",
        "label",
        "unit"
      ],
      "properties": {
        "label": {
          "type": "string",
          "description": "Display label (the highlight's override, else the series' own label)."
        },
        "metric_key": {
          "type": "string",
          "description": "Canonical metric key selected by the highlight (e.g. `REVENUE_GROWTH`)."
        },
        "observed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Observation time of the latest value."
        },
        "unit": {
          "$ref": "#/$defs/MetricUnit",
          "description": "Value unit."
        },
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "Latest observed value, when the series carries any points."
        },
        "value_type": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/MetricValueType",
              "description": "Whether the latest value is historical or estimated."
            }
          ]
        }
      }
    },
    "OfferingKeyRisk": {
      "type": "object",
      "description": "One ordered key-risk block.",
      "required": [
        "title",
        "body"
      ],
      "properties": {
        "body": {
          "type": "string",
          "description": "Plain-text risk body."
        },
        "citation_ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Profile-local citation ids supporting the risk."
        },
        "title": {
          "type": "string",
          "description": "Risk heading."
        }
      }
    },
    "OfferingParticipantResource": {
      "type": "object",
      "description": "An offering participant's display data.",
      "required": [
        "id",
        "role",
        "name",
        "display_order"
      ],
      "properties": {
        "display_order": {
          "type": "integer",
          "format": "int32",
          "description": "Stable display position."
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Stable identifier."
        },
        "name": {
          "type": "string",
          "description": "Display name."
        },
        "role": {
          "$ref": "#/$defs/ParticipantRole",
          "description": "Presentation role."
        }
      }
    },
    "OfferingSpv": {
      "type": "object",
      "description": "The attached SPV's identity and lifecycle. Exact economics surface once the\nSPV opens; an upcoming offering's indicative ranges describe the terms until\nthen.",
      "required": [
        "id",
        "name",
        "status"
      ],
      "properties": {
        "custodian_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Custodian."
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Stable SPV identifier."
        },
        "manager_name": {
          "type": [
            "string",
            "null"
          ],
          "description": "SPV manager."
        },
        "name": {
          "type": "string",
          "description": "Legal/display name."
        },
        "nda_agreement": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/NdaAgreementResource",
              "description": "Current NDA agreement. Absent when this SPV does not require one."
            }
          ]
        },
        "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."
        }
      }
    },
    "ParticipantRole": {
      "type": "string",
      "description": "Presentation role of an offering participant.",
      "enum": [
        "LEAD_INVESTOR",
        "CO_LEAD",
        "FUND_MANAGER",
        "PLACEMENT_AGENT"
      ]
    },
    "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"
      ]
    }
  }
}