{
  "id": "coloring",
  "name": "填色互动广告",
  "description": "WebGL 填色核心玩法，点击区域上色，完成后展示宣传界面与 CTA 引导下载",
  "version": "1.0.0",
  "assets": {
    "uploadFormat": "zip",
    "required": [
      { "key": "config", "file": "config.json", "label": "区域配置文件", "accept": ".json" },
      { "key": "page",    "file": "page.png",    "label": "线稿图",       "accept": ".png,.jpg,.jpeg" },
      { "key": "map",     "file": "map.png",     "label": "映射图",       "accept": ".png" }
    ],
    "optional": [
      { "key": "special", "file": "special.jpeg", "label": "着色参考图（推荐，无则自动生成）", "accept": ".jpeg,.jpg,.png" }
    ]
  },
  "theme": {
    "properties": [
      { "key": "bgGradient",    "label": "背景渐变",      "type": "css-gradient", "default": "linear-gradient(160deg, #fff9f2 0%, #ffeedd 100%)" },
      { "key": "ctaGradient",   "label": "CTA 按钮渐变",  "type": "css-gradient", "default": "linear-gradient(135deg, #ff5f1f 0%, #ffb300 100%)" },
      { "key": "ctaText",       "label": "CTA 按钮文案",  "type": "text",         "default": "PLAY NOW", "maxLength": 30 },
      { "key": "progressColor", "label": "进度条颜色",     "type": "color",        "default": "#07ce07" }
    ]
  },
  "platforms": {
    "available": ["google", "applovin", "unity", "playturbo", "mintegral"],
    "defaults": ["google", "applovin"]
  },
  "build": {
    "command": "npx vite build",
    "cwd": "templates/coloring",
    "outputPatterns": [
      { "platform": "google",    "path": "dist/google/index.html" },
      { "platform": "applovin",  "path": "dist/applovin/index.html" },
      { "platform": "unity",     "path": "dist/unity/index.html" },
      { "platform": "playturbo", "path": "dist/playturbo/index.html" },
      { "platform": "mintegral", "path": "dist/mintegral/index.html" }
    ],
    "adConfigAlias": "#ad-config",
    "adConfigPath": "src/filler/_ad_config_.ts",
    "adConfigDefault": "src/filler/ad-config.ts",
    "assetsSymlink": {
      "source": "assets/user",
      "target": "../../storage/creatives/{creativeId}/assets"
    }
  }
}
