{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opcmenu-com/json-schema/opcmenu-com-service-product-card-schema.json",
  "title": "ServiceProductCard",
  "description": "服务商目录卡片（产品卡 + 服务域）",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opcmenu-com-openapi.json#/components/schemas/ServiceProductCard",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "产品 id（可传给 getProduct）"
    },
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "tagline": {
      "type": "string",
      "description": "一句话简介，挑服务商主要看它"
    },
    "logoUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "coverUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "category": {
      "type": "string",
      "description": "产品形态（SaaS / App / AI_AGENT…），与服务域正交"
    },
    "serviceDomain": {
      "type": [
        "string",
        "null"
      ],
      "description": "服务域（同 listServiceProducts 的 sub 枚举）"
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "views": {
      "type": "integer",
      "description": "浏览量"
    },
    "boosted": {
      "type": "boolean",
      "description": "是否占着站内推广位（影响排序，不代表更匹配）"
    },
    "owner": {
      "type": [
        "object",
        "null"
      ],
      "description": "服务商主理人（null=未认领的收录条目）",
      "properties": {
        "id": {
          "type": "string"
        },
        "nickname": {
          "type": "string"
        },
        "avatarUrl": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}