{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "list_intro_opportunities response",
  "type": "object",
  "properties": {
    "opportunities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "opportunity_id": { "type": "string" },
          "investor_id": { "type": "string" },
          "investor_name": { "type": "string" },
          "connector": {
            "type": "object",
            "description": "Community member who can make the introduction.",
            "properties": {
              "member_id": { "type": "string" },
              "display_name": { "type": "string" },
              "community_slug": { "type": "string" },
              "relationship_basis": {
                "type": "string",
                "description": "How the connector knows the investor (e.g. 'direct_interaction', 'related_targets')."
              }
            }
          },
          "strength": {
            "type": "string",
            "enum": ["strong", "moderate", "weak"],
            "description": "Estimated strength of the intro path."
          }
        },
        "required": ["opportunity_id", "investor_id", "investor_name", "connector"]
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "page": { "type": "integer" },
        "page_size": { "type": "integer" },
        "total": { "type": "integer" }
      }
    }
  },
  "required": ["opportunities", "pagination"]
}
