classic-sequential.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. {
  2. "schemaVersion": "1",
  3. "version": "2026.03.25",
  4. "app": {
  5. "id": "sample-classic-001",
  6. "title": "顺序赛示例",
  7. "locale": "zh-CN"
  8. },
  9. "map": {
  10. "tiles": "../map/lxcb-001/tiles/",
  11. "mapmeta": "../map/lxcb-001/tiles/meta.json",
  12. "declination": 6.91,
  13. "initialView": {
  14. "zoom": 17
  15. }
  16. },
  17. "playfield": {
  18. "kind": "course",
  19. "source": {
  20. "type": "kml",
  21. "url": "../kml/lxcb-001/10/c01.kml"
  22. },
  23. "CPRadius": 6,
  24. "controlOverrides": {
  25. "start-1": {
  26. "template": "focus",
  27. "title": "比赛开始",
  28. "body": "从这里出发,先熟悉地图方向,再推进到第一个目标点。点击“查看详情”可打开 H5 详情页。",
  29. "autoPopup": true,
  30. "once": true,
  31. "priority": 1,
  32. "contentExperience": {
  33. "type": "h5",
  34. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  35. "bridge": "content-v1",
  36. "presentation": "dialog"
  37. },
  38. "clickTitle": "起点说明",
  39. "clickBody": "点击起点可再次查看起跑说明与路线背景。",
  40. "clickExperience": {
  41. "type": "h5",
  42. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  43. "bridge": "content-v1",
  44. "presentation": "dialog"
  45. }
  46. },
  47. "control-1": {
  48. "template": "story",
  49. "title": "图书馆前广场",
  50. "body": "这是第一检查点,完成后沿主路继续前进。卡片先原生弹出,再可进入 H5 详情。",
  51. "autoPopup": true,
  52. "once": false,
  53. "priority": 1,
  54. "clickTitle": "图书馆前广场",
  55. "clickBody": "这里是顺序赛的首个关键点位,适合确认路线方向。",
  56. "contentExperience": {
  57. "type": "h5",
  58. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  59. "bridge": "content-v1",
  60. "presentation": "dialog"
  61. },
  62. "clickExperience": {
  63. "type": "h5",
  64. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  65. "bridge": "content-v1",
  66. "presentation": "dialog"
  67. }
  68. },
  69. "control-2": {
  70. "template": "minimal",
  71. "title": "教学楼南侧",
  72. "body": "注意这里地形开阔,适合快速判断下一段方向。这个点配置成手动查看后可进 H5。",
  73. "autoPopup": false,
  74. "once": true,
  75. "priority": 1,
  76. "clickTitle": "教学楼南侧",
  77. "clickBody": "这个点配置成点击查看,经过时不会自动弹出。",
  78. "clickExperience": {
  79. "type": "h5",
  80. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  81. "bridge": "content-v1",
  82. "presentation": "dialog"
  83. }
  84. },
  85. "control-3": {
  86. "template": "story",
  87. "title": "湖边步道",
  88. "body": "经过这里时可以观察水边和林带的边界关系。",
  89. "autoPopup": true,
  90. "once": false,
  91. "priority": 1,
  92. "clickTitle": "湖边步道",
  93. "clickBody": "点击可查看更详细的路线观察建议。"
  94. },
  95. "finish-1": {
  96. "template": "focus",
  97. "title": "终点到达",
  98. "body": "恭喜完成本次顺序赛,准备查看结果。这里也保留 H5 详情入口用于测试。",
  99. "autoPopup": true,
  100. "once": true,
  101. "priority": 2,
  102. "clickTitle": "终点说明",
  103. "clickBody": "点击终点可再次查看本局结束说明。",
  104. "clickExperience": {
  105. "type": "h5",
  106. "url": "https://oss-mbh5.colormaprun.com/gotomars/h5/content-h5-test-template.html",
  107. "bridge": "content-v1",
  108. "presentation": "dialog"
  109. }
  110. }
  111. },
  112. "metadata": {
  113. "title": "顺序赛路线示例",
  114. "code": "classic-001"
  115. }
  116. },
  117. "game": {
  118. "mode": "classic-sequential",
  119. "rulesVersion": "1",
  120. "session": {
  121. "startManually": true,
  122. "requiresStartPunch": true,
  123. "requiresFinishPunch": true,
  124. "autoFinishOnLastControl": false,
  125. "maxDurationSec": 5400
  126. },
  127. "punch": {
  128. "policy": "enter-confirm",
  129. "radiusMeters": 5
  130. },
  131. "sequence": {
  132. "skip": {
  133. "enabled": true,
  134. "radiusMeters": 30,
  135. "requiresConfirm": true
  136. }
  137. },
  138. "guidance": {
  139. "showLegs": true,
  140. "legAnimation": true,
  141. "allowFocusSelection": false
  142. },
  143. "visibility": {
  144. "revealFullPlayfieldAfterStartPunch": true
  145. },
  146. "finish": {
  147. "finishControlAlwaysSelectable": false
  148. },
  149. "telemetry": {
  150. "heartRate": {
  151. "age": 30,
  152. "restingHeartRateBpm": 62,
  153. "userWeightKg": 65
  154. }
  155. },
  156. "feedback": {
  157. "audioProfile": "default",
  158. "hapticsProfile": "default",
  159. "uiEffectsProfile": "default"
  160. }
  161. },
  162. "resources": {
  163. "audioProfile": "default",
  164. "contentProfile": "default",
  165. "themeProfile": "default-race"
  166. },
  167. "debug": {
  168. "allowModeSwitch": false,
  169. "allowMockInput": false,
  170. "allowSimulator": false
  171. }
  172. }