{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/connections-icu/json-schema/connections-icu-introduction-request-response-schema.json",
  "title": "IntroductionRequestResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/connections-icu-introduction-requests-api-openapi.yml#/components/schemas/IntroductionRequestResponse",
  "type": "object",
  "required": [
    "introduction_request"
  ],
  "properties": {
    "introduction_request": {
      "$ref": "#/$defs/IntroductionRequest"
    }
  },
  "$defs": {
    "IntroductionRequest": {
      "type": "object",
      "description": "Consent-preserving introduction request returned by the Connections Developer API.",
      "properties": {
        "id": {
          "type": "string"
        },
        "requester_profile_id": {
          "type": "string"
        },
        "target_contact_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "broker_profile_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "broker_contact_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "query": {
          "type": "string"
        },
        "request_kind": {
          "type": "string",
          "enum": [
            "direct",
            "brokered",
            "unmatched",
            "owner_brokered",
            "co_attended"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "approved",
            "declined",
            "expired",
            "completed"
          ]
        },
        "routing_mode": {
          "type": "string",
          "enum": [
            "direct",
            "warm_path",
            "unresolved",
            "admin_review"
          ]
        },
        "target_visibility": {
          "type": "string",
          "enum": [
            "broker_only",
            "requester_visible",
            "fully_redacted"
          ]
        },
        "routing_metadata": {
          "type": "object"
        },
        "request_note": {
          "type": "string"
        },
        "broker_note": {
          "type": "string"
        },
        "redacted_summary": {
          "type": "string"
        },
        "approved_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "declined_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "expires_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "completed_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "created_at": {
          "type": "string"
        },
        "updated_at": {
          "type": "string"
        }
      }
    }
  }
}