{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opcmenu-com/json-schema/opcmenu-com-project-card-schema.json",
  "title": "ProjectCard",
  "description": "在融项目卡片",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opcmenu-com-openapi.json#/components/schemas/ProjectCard",
  "type": "object",
  "properties": {
    "user": {
      "$ref": "#/$defs/FundingUserSummary"
    },
    "fundraising": {
      "type": [
        "object",
        "null"
      ],
      "description": "自报的融资信息；null=这条是「发了融资需求」补量进来的，看 financingNeed",
      "properties": {
        "active": {
          "type": "boolean",
          "description": "是否在融资"
        },
        "round": {
          "type": [
            "string",
            "null"
          ],
          "description": "轮次（自由文本：种子/天使/Pre-A/A…）"
        },
        "amount": {
          "type": [
            "string",
            "null"
          ],
          "description": "目标金额（自由文本）"
        },
        "requirements": {
          "type": [
            "string",
            "null"
          ],
          "description": "想找什么样的钱"
        },
        "updatedAt": {
          "type": [
            "string",
            "null"
          ],
          "description": "融资信息更新时间（ISO）"
        },
        "hasBp": {
          "type": "boolean",
          "description": "是否传过 BP。**BP 文件地址永不下发**，要 BP 让用户去跟对方开聊要，别猜 URL"
        }
      }
    },
    "financingNeed": {
      "type": [
        "object",
        "null"
      ],
      "description": "该主理人在架的融资类需求（可接 getNeed 看全文）",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "detail": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "company": {
      "$ref": "#/$defs/FundingCompanySummary"
    },
    "product": {
      "type": [
        "object",
        "null"
      ],
      "description": "代表产品（浏览量最高的一个在架产品）",
      "properties": {
        "id": {
          "type": "string",
          "description": "产品 id（可传给 getProduct）"
        },
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "tagline": {
          "type": "string"
        },
        "logoUrl": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  },
  "$defs": {
    "FundingCompanySummary": {
      "type": [
        "object",
        "null"
      ],
      "description": "所属一人公司摘要（无公司或公司未发布时为 null）",
      "properties": {
        "slug": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "tagline": {
          "type": [
            "string",
            "null"
          ]
        },
        "logoUrl": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "FundingUserSummary": {
      "type": "object",
      "description": "融资双透镜里的人（展示的是个人页 / 公司页，不是产品页）",
      "properties": {
        "id": {
          "type": "string",
          "description": "用户 id"
        },
        "nickname": {
          "type": "string"
        },
        "avatarUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "isVerified": {
          "type": "boolean"
        },
        "canOffer": {
          "type": [
            "string",
            "null"
          ],
          "description": "能提供什么价值（供给侧自述）"
        },
        "bio": {
          "type": [
            "string",
            "null"
          ]
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "personaTags": {
          "type": "array",
          "description": "身份标签",
          "items": {
            "type": "string"
          }
        },
        "isCloud": {
          "type": "boolean",
          "description": "云用户（还没用独行录 App 的社群成员）；只出现在登录后的人才目录末尾，免登录接口恒为 false"
        }
      }
    }
  }
}