{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clearstreet8e71/json-schema/clearstreet8e71-create-ioi-request-schema.json",
  "title": "CreateIoiRequest",
  "description": "Create an indication of interest.",
  "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/CreateIoiRequest",
  "type": "object",
  "required": [
    "offering_id",
    "notional_amount"
  ],
  "properties": {
    "nda_acceptance": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/NdaAcceptanceRequest",
          "description": "Required only when the offering's attached SPV has an NDA agreement."
        }
      ]
    },
    "notional_amount": {
      "type": "string"
    },
    "offering_id": {
      "type": "string",
      "format": "uuid"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "NdaAcceptanceRequest": {
      "type": "object",
      "description": "Explicit electronic acceptance of the NDA rendered by the client.",
      "required": [
        "agreement_id",
        "accepted",
        "authority_confirmed"
      ],
      "properties": {
        "accepted": {
          "type": "boolean",
          "description": "Must be true; confirms affirmative assent."
        },
        "agreement_id": {
          "type": "string",
          "format": "uuid",
          "description": "Exact agreement id returned by offering detail."
        },
        "authority_confirmed": {
          "type": "boolean",
          "description": "Must be true; confirms the signer may bind the account-holder entity."
        }
      },
      "additionalProperties": false
    }
  }
}