{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opcmenu-com/json-schema/opcmenu-com-signup-activity-card-schema.json",
  "title": "SignupActivityCard",
  "description": "可报名机会卡片（feed / 详情同一契约的公共部分）",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opcmenu-com-openapi.json#/components/schemas/SignupActivityCard",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "slug": {
      "type": "string",
      "description": "活动 slug（传给 getSignupActivity）"
    },
    "title": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "description": "报名类目（同 listSignupFeed 的 kind 枚举）",
      "enum": [
        "HACKATHON",
        "COMPETITION",
        "INCUBATOR",
        "FUNDING",
        "COMMUNITY",
        "EVENT",
        "OTHER"
      ]
    },
    "coverUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "organizerName": {
      "type": [
        "string",
        "null"
      ],
      "description": "主办方名称（文本，未必是站内账号）"
    },
    "organizer": {
      "type": [
        "object",
        "null"
      ],
      "description": "站内主办方账号（外部导入的赛事为 null）",
      "properties": {
        "id": {
          "type": "string"
        },
        "nickname": {
          "type": [
            "string",
            "null"
          ]
        },
        "avatarUrl": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "city": {
      "type": [
        "string",
        "null"
      ]
    },
    "track": {
      "type": [
        "string",
        "null"
      ],
      "description": "赛道 / 主题"
    },
    "rewards": {
      "type": [
        "string",
        "null"
      ],
      "description": "奖项 / 权益（自由文本）"
    },
    "startAt": {
      "type": "string",
      "format": "date-time",
      "description": "开始时间；startAtKnown=false 时是兜底值，别念给用户"
    },
    "registrationDeadline": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "报名截止时间；null=长期有效（排序时排最后）"
    },
    "pinned": {
      "type": "boolean",
      "description": "是否置顶（独行录自办/承办）"
    },
    "startAtKnown": {
      "type": "boolean",
      "description": "startAt 是不是主办方公布的真实时间；false=导入时兜底顶上的假值，不要展示那个日期"
    },
    "signup": {
      "type": "object",
      "description": "报名方式",
      "properties": {
        "canOneClick": {
          "type": "boolean",
          "description": "是否已解析出可用表单（能一键报名）"
        },
        "requiresLogin": {
          "type": "boolean",
          "description": "是否必须登录才能报"
        },
        "hostedEnabled": {
          "type": "boolean",
          "description": "是否由独行录托管报名"
        },
        "externalUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "主办方的外部报名表单地址"
        },
        "externalIsCanonical": {
          "type": "boolean",
          "description": "true=正式报名在主办方那边，站内提交只是留资＋代填"
        }
      }
    },
    "submitted": {
      "type": "boolean",
      "description": "当前用户报没报过；本 spec 匿名调用恒为 false"
    }
  }
}