{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opcmenu-com/json-schema/opcmenu-com-park-card-schema.json",
  "title": "ParkCard",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opcmenu-com-openapi.json#/components/schemas/ParkCard",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "园区 id（可传给 getPark）"
    },
    "name": {
      "type": "string"
    },
    "aliases": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "city": {
      "type": "string",
      "description": "城市（北京/上海/深圳/杭州/广州/成都）"
    },
    "district": {
      "type": "string",
      "description": "行政区"
    },
    "address": {
      "type": [
        "string",
        "null"
      ]
    },
    "lat": {
      "type": [
        "number",
        "null"
      ]
    },
    "lng": {
      "type": [
        "number",
        "null"
      ]
    },
    "operatorType": {
      "type": [
        "string",
        "null"
      ],
      "description": "运营方类型：GOV=政府主导 / SOE=国资 / PRIVATE=民营"
    },
    "operatorName": {
      "type": [
        "string",
        "null"
      ]
    },
    "tracks": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "产业赛道"
    },
    "scale": {
      "type": [
        "string",
        "null"
      ],
      "description": "规模描述（自由文本）"
    },
    "status": {
      "type": "string",
      "enum": [
        "OPERATING",
        "PLANNED"
      ]
    },
    "launchedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "启用时间（自由文本，各地口径不一）"
    },
    "benefits": {
      "type": "array",
      "description": "补贴摘要（明细与条件走 getPark）",
      "items": {
        "$ref": "#/$defs/ParkBenefit"
      }
    }
  },
  "$defs": {
    "ParkBenefit": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "补贴类型（同 listParks 的 benefit 枚举）",
          "enum": [
            "RENT_FREE",
            "RENT_SUBSIDY",
            "COMPUTE_VOUCHER",
            "MODEL_VOUCHER",
            "STARTUP_FUND",
            "SETTLEMENT",
            "FUND",
            "ORDER",
            "TALENT_HOUSING",
            "LOAN",
            "OTHER"
          ]
        },
        "label": {
          "type": "string",
          "description": "补贴描述"
        },
        "amount": {
          "type": [
            "string",
            "null"
          ],
          "description": "金额/力度（自由文本）"
        },
        "condition": {
          "type": [
            "string",
            "null"
          ],
          "description": "申领条件（仅详情接口返回）"
        }
      }
    }
  }
}