@blackbelt-technology/pi-dashboard-deck3d 0.0.0-stage → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/.pi/skills/deck3d/SKILL.md +227 -0
  2. package/.pi/skills/deck3d/examples/deck.json +388 -0
  3. package/.pi/skills/deck3d/examples/fixture.md +18 -0
  4. package/.pi/skills/deck3d/examples/snapshot-after.png +0 -0
  5. package/.pi/skills/deck3d/examples/snapshot-before.png +0 -0
  6. package/.pi/skills/deck3d/reference/effects.agent.md +78 -0
  7. package/.pi/skills/deck3d/reference/effects.md +1217 -0
  8. package/.pi/skills/deck3d/reference/ir-fields.agent.md +30 -0
  9. package/.pi/skills/deck3d/reference/ir-fields.md +246 -0
  10. package/README.md +177 -2
  11. package/assets/LICENSE-Poppins.txt +99 -0
  12. package/assets/Poppins-Bold.ttf +0 -0
  13. package/assets/props/LICENSES.txt +4 -0
  14. package/assets/props/brain.glb +0 -0
  15. package/assets/props/cloud.glb +0 -0
  16. package/assets/props/cube.glb +0 -0
  17. package/assets/props/database.glb +0 -0
  18. package/assets/props/laptop.glb +0 -0
  19. package/assets/props/manifest.json +119 -0
  20. package/assets/props/robot.glb +0 -0
  21. package/assets/props/server.glb +0 -0
  22. package/assets/props/shield.glb +0 -0
  23. package/bin/deck3d +49 -0
  24. package/dist/cli.js +10228 -0
  25. package/dist/harvest/harness.js +185718 -0
  26. package/dist/runtime.js +64597 -0
  27. package/fixtures/business-2031/build-deck.mjs +60 -0
  28. package/fixtures/business-2031/build-overrides.mjs +154 -0
  29. package/fixtures/business-2031/deck.json +4220 -0
  30. package/fixtures/business-2031/deck.md +470 -0
  31. package/fixtures/business-2031/fx/closing-mark.js +43 -0
  32. package/fixtures/business-2031/fx/closing-mark.meta.json +26 -0
  33. package/fixtures/business-2031/overrides.json +903 -0
  34. package/fixtures/harvest.md +23 -0
  35. package/fixtures/strategy-lab.json +891 -0
  36. package/fixtures/strategy-lab.md +85 -0
  37. package/package.json +80 -4
  38. package/scripts/build-cli.mjs +29 -0
  39. package/scripts/build-harvest.ts +8 -0
  40. package/scripts/build-runtime.mjs +22 -0
  41. package/scripts/gen-effects.ts +14 -0
  42. package/scripts/gen-ir-fields.ts +34 -0
  43. package/src/check/index.ts +315 -0
  44. package/src/check/rules.ts +393 -0
  45. package/src/cli-io.ts +23 -0
  46. package/src/cli.ts +823 -0
  47. package/src/fx/accent-cycle.meta.json +26 -0
  48. package/src/fx/accent-cycle.ts +8 -0
  49. package/src/fx/agent-depth.meta.json +42 -0
  50. package/src/fx/agent-depth.ts +62 -0
  51. package/src/fx/ascii.meta.json +35 -0
  52. package/src/fx/ascii.ts +4 -0
  53. package/src/fx/aurora.meta.json +26 -0
  54. package/src/fx/aurora.ts +18 -0
  55. package/src/fx/billboards.meta.json +34 -0
  56. package/src/fx/billboards.ts +67 -0
  57. package/src/fx/bloom.meta.json +26 -0
  58. package/src/fx/bloom.ts +4 -0
  59. package/src/fx/camera-drift.meta.json +26 -0
  60. package/src/fx/camera-drift.ts +8 -0
  61. package/src/fx/capital-flows.meta.json +30 -0
  62. package/src/fx/capital-flows.ts +64 -0
  63. package/src/fx/catalogue.ts +89 -0
  64. package/src/fx/chromatic-aberration.meta.json +32 -0
  65. package/src/fx/chromatic-aberration.ts +4 -0
  66. package/src/fx/city-grid.meta.json +37 -0
  67. package/src/fx/city-grid.ts +51 -0
  68. package/src/fx/clipped-solids.meta.json +49 -0
  69. package/src/fx/clipped-solids.ts +171 -0
  70. package/src/fx/cohort-grid.meta.json +48 -0
  71. package/src/fx/cohort-grid.ts +63 -0
  72. package/src/fx/compose.ts +114 -0
  73. package/src/fx/constellation.meta.json +51 -0
  74. package/src/fx/constellation.ts +103 -0
  75. package/src/fx/curve-flow.meta.json +40 -0
  76. package/src/fx/curve-flow.ts +63 -0
  77. package/src/fx/dashed-flow.meta.json +27 -0
  78. package/src/fx/dashed-flow.ts +8 -0
  79. package/src/fx/data-columns.meta.json +30 -0
  80. package/src/fx/data-columns.ts +18 -0
  81. package/src/fx/defaults.ts +92 -0
  82. package/src/fx/depth-of-field.meta.json +40 -0
  83. package/src/fx/depth-of-field.ts +4 -0
  84. package/src/fx/dolly.meta.json +26 -0
  85. package/src/fx/dolly.ts +4 -0
  86. package/src/fx/dot-screen.meta.json +35 -0
  87. package/src/fx/dot-screen.ts +4 -0
  88. package/src/fx/dynamic-instances.meta.json +40 -0
  89. package/src/fx/dynamic-instances.ts +57 -0
  90. package/src/fx/emissive.meta.json +26 -0
  91. package/src/fx/emissive.ts +8 -0
  92. package/src/fx/extruded-shapes.meta.json +62 -0
  93. package/src/fx/extruded-shapes.ts +133 -0
  94. package/src/fx/fab-wafer.meta.json +42 -0
  95. package/src/fx/fab-wafer.ts +72 -0
  96. package/src/fx/fade.meta.json +26 -0
  97. package/src/fx/fade.ts +4 -0
  98. package/src/fx/film.meta.json +26 -0
  99. package/src/fx/film.ts +4 -0
  100. package/src/fx/float.meta.json +26 -0
  101. package/src/fx/float.ts +8 -0
  102. package/src/fx/flythrough.meta.json +26 -0
  103. package/src/fx/flythrough.ts +4 -0
  104. package/src/fx/fog.meta.json +26 -0
  105. package/src/fx/fog.ts +8 -0
  106. package/src/fx/geo-fragments.meta.json +48 -0
  107. package/src/fx/geo-fragments.ts +59 -0
  108. package/src/fx/glass.meta.json +26 -0
  109. package/src/fx/glass.ts +8 -0
  110. package/src/fx/globe-arcs.meta.json +36 -0
  111. package/src/fx/globe-arcs.ts +67 -0
  112. package/src/fx/glow-tube.meta.json +26 -0
  113. package/src/fx/glow-tube.ts +8 -0
  114. package/src/fx/glyph-rain.meta.json +30 -0
  115. package/src/fx/glyph-rain.ts +18 -0
  116. package/src/fx/god-rays.meta.json +40 -0
  117. package/src/fx/god-rays.ts +4 -0
  118. package/src/fx/grid-horizon.meta.json +30 -0
  119. package/src/fx/grid-horizon.ts +18 -0
  120. package/src/fx/hex-grid.meta.json +29 -0
  121. package/src/fx/hex-grid.ts +18 -0
  122. package/src/fx/holo-fresnel.meta.json +26 -0
  123. package/src/fx/holo-fresnel.ts +8 -0
  124. package/src/fx/horizon-gates.meta.json +36 -0
  125. package/src/fx/horizon-gates.ts +60 -0
  126. package/src/fx/index.ts +258 -0
  127. package/src/fx/iridescent.meta.json +26 -0
  128. package/src/fx/iridescent.ts +8 -0
  129. package/src/fx/iris.meta.json +26 -0
  130. package/src/fx/iris.ts +4 -0
  131. package/src/fx/lightformers.meta.json +26 -0
  132. package/src/fx/lightformers.ts +8 -0
  133. package/src/fx/local.ts +200 -0
  134. package/src/fx/market-tape.meta.json +53 -0
  135. package/src/fx/market-tape.ts +97 -0
  136. package/src/fx/matcap.meta.json +26 -0
  137. package/src/fx/matcap.ts +8 -0
  138. package/src/fx/meta.schema.json +49 -0
  139. package/src/fx/metal.meta.json +26 -0
  140. package/src/fx/metal.ts +8 -0
  141. package/src/fx/mirror-floor.meta.json +26 -0
  142. package/src/fx/mirror-floor.ts +8 -0
  143. package/src/fx/neural-mesh.meta.json +54 -0
  144. package/src/fx/neural-mesh.ts +110 -0
  145. package/src/fx/orbit-agents.meta.json +36 -0
  146. package/src/fx/orbit-agents.ts +63 -0
  147. package/src/fx/orbit.meta.json +27 -0
  148. package/src/fx/orbit.ts +8 -0
  149. package/src/fx/outline.meta.json +43 -0
  150. package/src/fx/outline.ts +4 -0
  151. package/src/fx/paper-stack.meta.json +36 -0
  152. package/src/fx/paper-stack.ts +61 -0
  153. package/src/fx/particle-stream.meta.json +27 -0
  154. package/src/fx/particle-stream.ts +8 -0
  155. package/src/fx/particles.meta.json +26 -0
  156. package/src/fx/particles.ts +8 -0
  157. package/src/fx/pixelate.meta.json +28 -0
  158. package/src/fx/pixelate.ts +4 -0
  159. package/src/fx/points-on-geometry.meta.json +61 -0
  160. package/src/fx/points-on-geometry.ts +71 -0
  161. package/src/fx/proof-gate.meta.json +30 -0
  162. package/src/fx/proof-gate.ts +67 -0
  163. package/src/fx/rings.meta.json +27 -0
  164. package/src/fx/rings.ts +8 -0
  165. package/src/fx/room-ibl.meta.json +26 -0
  166. package/src/fx/room-ibl.ts +8 -0
  167. package/src/fx/sao.meta.json +32 -0
  168. package/src/fx/sao.ts +4 -0
  169. package/src/fx/scaffold.ts +172 -0
  170. package/src/fx/scatter.meta.json +49 -0
  171. package/src/fx/scatter.ts +74 -0
  172. package/src/fx/selective-bloom.meta.json +36 -0
  173. package/src/fx/selective-bloom.ts +4 -0
  174. package/src/fx/server-racks.meta.json +36 -0
  175. package/src/fx/server-racks.ts +54 -0
  176. package/src/fx/shader-particles.meta.json +46 -0
  177. package/src/fx/shader-particles.ts +75 -0
  178. package/src/fx/signal-pulse.meta.json +27 -0
  179. package/src/fx/signal-pulse.ts +8 -0
  180. package/src/fx/smaa.meta.json +19 -0
  181. package/src/fx/smaa.ts +4 -0
  182. package/src/fx/sobel.meta.json +24 -0
  183. package/src/fx/sobel.ts +4 -0
  184. package/src/fx/soft-shadows.meta.json +26 -0
  185. package/src/fx/soft-shadows.ts +8 -0
  186. package/src/fx/sprites.meta.json +40 -0
  187. package/src/fx/sprites.ts +57 -0
  188. package/src/fx/stagger-reveal.meta.json +26 -0
  189. package/src/fx/stagger-reveal.ts +8 -0
  190. package/src/fx/starfield.meta.json +32 -0
  191. package/src/fx/starfield.ts +18 -0
  192. package/src/fx/swarm.meta.json +27 -0
  193. package/src/fx/swarm.ts +8 -0
  194. package/src/fx/tessellate.meta.json +39 -0
  195. package/src/fx/tessellate.ts +79 -0
  196. package/src/fx/tokens.meta.json +27 -0
  197. package/src/fx/tokens.ts +8 -0
  198. package/src/fx/trail.meta.json +27 -0
  199. package/src/fx/trail.ts +8 -0
  200. package/src/fx/trust-ledger.meta.json +30 -0
  201. package/src/fx/trust-ledger.ts +47 -0
  202. package/src/fx/types.ts +83 -0
  203. package/src/fx/util.ts +108 -0
  204. package/src/fx/vault-glyphs.meta.json +37 -0
  205. package/src/fx/vault-glyphs.ts +55 -0
  206. package/src/fx/video-screen.meta.json +57 -0
  207. package/src/fx/video-screen.ts +99 -0
  208. package/src/fx/vignette.meta.json +32 -0
  209. package/src/fx/vignette.ts +4 -0
  210. package/src/fx/volume-cloud.meta.json +58 -0
  211. package/src/fx/volume-cloud.ts +87 -0
  212. package/src/fx/volume-perlin.meta.json +46 -0
  213. package/src/fx/volume-perlin.ts +82 -0
  214. package/src/fx/volumetric-spot.meta.json +26 -0
  215. package/src/fx/volumetric-spot.ts +8 -0
  216. package/src/fx/wireframe-overlay.meta.json +27 -0
  217. package/src/fx/wireframe-overlay.ts +8 -0
  218. package/src/ir/defaults.ts +62 -0
  219. package/src/ir/field-reference.ts +96 -0
  220. package/src/ir/hash.ts +34 -0
  221. package/src/ir/ids.ts +65 -0
  222. package/src/ir/merge.ts +155 -0
  223. package/src/ir/schema.json +1211 -0
  224. package/src/ir/types.ts +333 -0
  225. package/src/ir/validate.ts +196 -0
  226. package/src/parse/derive.ts +205 -0
  227. package/src/parse/harvest/bundle.ts +56 -0
  228. package/src/parse/harvest/harness.html +22 -0
  229. package/src/parse/harvest/harness.ts +191 -0
  230. package/src/parse/harvest/index.ts +169 -0
  231. package/src/parse/harvest/shapes.ts +75 -0
  232. package/src/parse/markdown.ts +215 -0
  233. package/src/props/embed.ts +92 -0
  234. package/src/props/fetch.ts +97 -0
  235. package/src/props/generate.ts +152 -0
  236. package/src/props/key.ts +13 -0
  237. package/src/props/search.ts +180 -0
  238. package/src/render/embed-video.ts +80 -0
  239. package/src/render/font.ts +86 -0
  240. package/src/render/index.ts +149 -0
  241. package/src/render/template.html +87 -0
  242. package/src/runtime/backgrounds.ts +146 -0
  243. package/src/runtime/builders.ts +808 -0
  244. package/src/runtime/camera.ts +73 -0
  245. package/src/runtime/hud.ts +887 -0
  246. package/src/runtime/index.ts +1168 -0
  247. package/src/runtime/local-fx.ts +151 -0
  248. package/src/runtime/materials.ts +136 -0
  249. package/src/runtime/measure.ts +73 -0
  250. package/src/runtime/node-geometry.ts +26 -0
  251. package/src/runtime/palette.ts +111 -0
  252. package/src/runtime/post.ts +649 -0
  253. package/src/runtime/props.ts +292 -0
  254. package/src/runtime/quality.ts +20 -0
  255. package/src/runtime/rng.ts +8 -0
  256. package/src/runtime/scene.ts +644 -0
  257. package/src/runtime/text.ts +174 -0
  258. package/src/runtime/types.ts +118 -0
  259. package/src/serve/index.ts +376 -0
  260. package/src/util/paths.ts +35 -0
@@ -0,0 +1,1211 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://blackbelt.technology/pi-dashboard/deck3d/schema.json",
4
+ "title": "Deck IR",
5
+ "description": "Deck IR (deck.json) \u2014 the documented intermediate representation between a markdown slide source and the rendered 3D deck. `defaults` and `slides[]` are DERIVED by `parse` (regenerated every parse). `overrides` is the ONLY region a human or LLM may write; it survives re-parse.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "meta",
10
+ "defaults",
11
+ "slides",
12
+ "overrides"
13
+ ],
14
+ "properties": {
15
+ "meta": {
16
+ "type": "object",
17
+ "description": "Provenance and integrity metadata. Written by parse; not a tuning surface.",
18
+ "additionalProperties": false,
19
+ "properties": {
20
+ "source": {
21
+ "type": "string",
22
+ "description": "Path to the markdown source this IR was derived from. Relative to the deck.json location when possible."
23
+ },
24
+ "engine": {
25
+ "type": "string",
26
+ "description": "deck3d engine version that produced the derived fields."
27
+ },
28
+ "mermaid": {
29
+ "type": "string",
30
+ "description": "Exact pinned mermaid version used for harvesting diagram layout."
31
+ },
32
+ "derivedHash": {
33
+ "type": "string",
34
+ "description": "sha256 over the canonical derived fields (defaults + slides). `validate` recomputes it to detect edits made outside `overrides`."
35
+ }
36
+ }
37
+ },
38
+ "defaults": {
39
+ "$ref": "#/definitions/defaults"
40
+ },
41
+ "slides": {
42
+ "type": "array",
43
+ "description": "Derived per-slide content, in presentation order. Regenerated by parse; edit `overrides.slides` instead.",
44
+ "items": {
45
+ "$ref": "#/definitions/slide"
46
+ }
47
+ },
48
+ "overrides": {
49
+ "$ref": "#/definitions/overrides"
50
+ }
51
+ },
52
+ "definitions": {
53
+ "defaults": {
54
+ "type": "object",
55
+ "description": "Deck-level visual defaults applied to every slide unless a slide overrides them.",
56
+ "additionalProperties": false,
57
+ "properties": {
58
+ "mode": {
59
+ "type": "string",
60
+ "enum": [
61
+ "dark",
62
+ "light"
63
+ ],
64
+ "default": "dark",
65
+ "description": "Dark or light palette variant. Switches background, card and text colours together."
66
+ },
67
+ "palette": {
68
+ "type": "string",
69
+ "enum": [
70
+ "blackbelt",
71
+ "zenit",
72
+ "dapp",
73
+ "midnight",
74
+ "ember",
75
+ "arctic",
76
+ "forest",
77
+ "mono",
78
+ "neon",
79
+ "custom"
80
+ ],
81
+ "default": "blackbelt",
82
+ "description": "Named colour palette. `custom` reads `colors` below."
83
+ },
84
+ "colors": {
85
+ "type": "object",
86
+ "description": "Colour overrides used when palette is `custom` (CSS hex).",
87
+ "additionalProperties": false,
88
+ "properties": {
89
+ "card": {
90
+ "type": "string",
91
+ "description": "Card/surface colour for the custom palette."
92
+ },
93
+ "accent": {
94
+ "type": "string",
95
+ "description": "Accent (primary highlight) colour."
96
+ },
97
+ "secondary": {
98
+ "type": "string",
99
+ "description": "Secondary colour for edges and secondary meshes."
100
+ }
101
+ }
102
+ },
103
+ "material": {
104
+ "type": "string",
105
+ "enum": [
106
+ "glass",
107
+ "metal",
108
+ "matte"
109
+ ],
110
+ "default": "glass",
111
+ "description": "PBR material family for node cards and diagram primitives."
112
+ },
113
+ "envReflections": {
114
+ "type": "boolean",
115
+ "default": true,
116
+ "description": "Enable environment-map reflections on metallic/glass materials."
117
+ },
118
+ "mirrorFloor": {
119
+ "type": "boolean",
120
+ "default": true,
121
+ "description": "Show the reflective floor plane."
122
+ },
123
+ "floor": {
124
+ "enum": [
125
+ "mirror",
126
+ "water"
127
+ ],
128
+ "default": "mirror",
129
+ "description": "Floor surface: the reflective plane, or an animated water surface (three shaders_ocean) driven by the deck clock."
130
+ },
131
+ "reflectBackdrop": {
132
+ "type": "boolean",
133
+ "default": true,
134
+ "description": "Include backdrop geometry (scene backgrounds and local effects) in the floor reflection. Off reflects slide content only, which costs one less pass over the backdrop per frame."
135
+ },
136
+ "floorReflectivity": {
137
+ "type": "number",
138
+ "minimum": 0,
139
+ "maximum": 1,
140
+ "default": 1,
141
+ "description": "How strong the floor reflection reads: 1 = the full mirror, 0 = none (the reflection fades into the floor colour). `mirrorFloor: false` is the hard off switch and also skips the reflector pass."
142
+ },
143
+ "floorMatte": {
144
+ "type": "number",
145
+ "minimum": 0,
146
+ "maximum": 1,
147
+ "default": 0,
148
+ "description": "How rough the reflective floor reads: 0 = a perfect mirror, 1 = fully scattered. Distorts the reflection with seeded noise, blurs it with a multi-tap sample, and fades it toward the floor colour as it rises."
149
+ },
150
+ "softShadows": {
151
+ "type": "boolean",
152
+ "default": true,
153
+ "description": "Enable soft (PCF) shadows under objects."
154
+ },
155
+ "bloom": {
156
+ "type": "boolean",
157
+ "default": true,
158
+ "description": "Enable the bloom post pass (titles glow). Disabled at `quality: low`."
159
+ },
160
+ "rimLight": {
161
+ "type": "boolean",
162
+ "default": true,
163
+ "description": "Enable the rim light that outlines silhouettes."
164
+ },
165
+ "fog": {
166
+ "type": "boolean",
167
+ "default": true,
168
+ "description": "Enable depth fog so distant slides fade into the background."
169
+ },
170
+ "backgroundIntensity": {
171
+ "type": "number",
172
+ "minimum": 0,
173
+ "maximum": 1,
174
+ "default": 0.7,
175
+ "description": "Opacity of the animated background scene (0 = hidden, 1 = full)."
176
+ },
177
+ "transition": {
178
+ "type": "string",
179
+ "default": "dolly",
180
+ "description": "Transition effect id (from the `transition` kind of the fx corpus) played on slide change."
181
+ },
182
+ "durationSec": {
183
+ "type": "number",
184
+ "exclusiveMinimum": 0,
185
+ "default": 1.4,
186
+ "description": "Transition duration in seconds."
187
+ },
188
+ "depthRelief": {
189
+ "type": "number",
190
+ "minimum": 0,
191
+ "default": 0.7,
192
+ "description": "Depth offset (world units) applied per diagram rank so a 2D layout reads as a 3D staircase. Higher = more relief."
193
+ },
194
+ "quality": {
195
+ "type": "string",
196
+ "enum": [
197
+ "low",
198
+ "medium",
199
+ "high"
200
+ ],
201
+ "default": "high",
202
+ "description": "Quality tier: scales bloom, reflections, shadow resolution and particle count, and sets the effect cost budget (low 6 / medium 12 / high 20)."
203
+ },
204
+ "extrudeDepth": {
205
+ "type": "number",
206
+ "minimum": 0,
207
+ "default": 0.18,
208
+ "description": "Extrusion depth of 3D title glyphs."
209
+ },
210
+ "titleEdge": {
211
+ "type": "string",
212
+ "enum": [
213
+ "none",
214
+ "contrast"
215
+ ],
216
+ "default": "none",
217
+ "description": "Contour on extruded title glyphs. `contrast` paints the SIDE walls (ExtrudeGeometry material group 1) in the palette text colour, so each character keeps a readable outline against its own lit face; `none` uses one material throughout."
218
+ },
219
+ "autoStyle": {
220
+ "type": "boolean",
221
+ "default": true,
222
+ "description": "Let parse pick a built diagram kind and a topic-matched background per slide. `false` restores the v1 fallback routing (no built kinds, `particles` background)."
223
+ },
224
+ "layout": {
225
+ "type": "string",
226
+ "enum": [
227
+ "split",
228
+ "split-reverse"
229
+ ],
230
+ "default": "split",
231
+ "description": "Slide composition preset. `split` = title and card left, diagram right; `split-reverse` mirrors it."
232
+ },
233
+ "rail": {
234
+ "type": "string",
235
+ "enum": [
236
+ "line",
237
+ "orbit",
238
+ "tunnel",
239
+ "helix",
240
+ "grid"
241
+ ],
242
+ "default": "line",
243
+ "description": "Topology the slides are strung along. `line` dollies along a straight rail; `orbit` rings them facing outward; `tunnel` recedes along -Z; `helix` is an ascending orbit; `grid` wraps into rows and columns. Deck-level only."
244
+ },
245
+ "spacing": {
246
+ "type": "number",
247
+ "exclusiveMinimum": 0,
248
+ "default": 40,
249
+ "description": "World-unit gap between consecutive slide anchors on the rail. Deck-level only; also scales the cull radius."
250
+ },
251
+ "camera": {
252
+ "type": "object",
253
+ "description": "Default camera framing.",
254
+ "additionalProperties": false,
255
+ "properties": {
256
+ "distance": {
257
+ "type": "number",
258
+ "exclusiveMinimum": 0,
259
+ "default": 9,
260
+ "description": "Distance from the slide's focal plane. Larger = more content in frame but smaller labels."
261
+ }
262
+ }
263
+ },
264
+ "labels": {
265
+ "type": "object",
266
+ "description": "Default diagram-label treatment.",
267
+ "additionalProperties": false,
268
+ "properties": {
269
+ "size": {
270
+ "type": "number",
271
+ "exclusiveMinimum": 0,
272
+ "default": 0.28,
273
+ "description": "World-space cap height of diagram label planes. Projected cap height must stay \u2265 14 px at 1920\u00d71080."
274
+ }
275
+ }
276
+ },
277
+ "check": {
278
+ "$ref": "#/definitions/check"
279
+ }
280
+ }
281
+ },
282
+ "check": {
283
+ "type": "object",
284
+ "description": "Per-slide check configuration.",
285
+ "additionalProperties": false,
286
+ "properties": {
287
+ "ignore": {
288
+ "type": "array",
289
+ "description": "Object ids the fit/legibility check should skip (reported as `skipped`, never silently).",
290
+ "items": {
291
+ "type": "string"
292
+ }
293
+ }
294
+ }
295
+ },
296
+ "slide": {
297
+ "type": "object",
298
+ "description": "A single derived slide. Regenerated by parse.",
299
+ "additionalProperties": false,
300
+ "required": [
301
+ "index",
302
+ "id",
303
+ "title",
304
+ "bullets",
305
+ "scene",
306
+ "diagram"
307
+ ],
308
+ "properties": {
309
+ "index": {
310
+ "type": "integer",
311
+ "minimum": 1,
312
+ "description": "1-based position used by the `#<n>` deep link."
313
+ },
314
+ "id": {
315
+ "type": "string",
316
+ "pattern": "^(?!deck3d-)[a-z0-9-]+$",
317
+ "description": "Stable slide id: ASCII-folded title slug, `-<ordinal>` on collision, or the `{#id}` pin from the heading. Never starts with `deck3d-` (reserved for generated slides)."
318
+ },
319
+ "kind": {
320
+ "type": "string",
321
+ "enum": [
322
+ "title",
323
+ "content",
324
+ "section",
325
+ "credits"
326
+ ],
327
+ "default": "content",
328
+ "description": "Slide role. Governs title treatment and layout; `credits` is appended by render, never authored."
329
+ },
330
+ "title": {
331
+ "type": "string",
332
+ "description": "Slide title, rendered as extruded 3D text."
333
+ },
334
+ "subtitle": {
335
+ "type": "string",
336
+ "description": "Optional subtitle paragraph shown under the title."
337
+ },
338
+ "bullets": {
339
+ "type": "array",
340
+ "description": "Bullet lines shown in the side panel.",
341
+ "items": {
342
+ "type": "string"
343
+ }
344
+ },
345
+ "scene": {
346
+ "type": "string",
347
+ "description": "Background scene id (e.g. `tokens`, `rings`, `swarm`, `aurora`, `none`)."
348
+ },
349
+ "diagram": {
350
+ "$ref": "#/definitions/diagram"
351
+ },
352
+ "layout": {
353
+ "type": "string",
354
+ "enum": [
355
+ "split",
356
+ "split-reverse"
357
+ ],
358
+ "description": "Composition preset for this slide. Falls back to `defaults.layout`."
359
+ },
360
+ "cardOffset": {
361
+ "$ref": "#/definitions/cardOffset"
362
+ },
363
+ "camera": {
364
+ "$ref": "#/definitions/camera"
365
+ },
366
+ "labels": {
367
+ "$ref": "#/definitions/labels"
368
+ },
369
+ "check": {
370
+ "$ref": "#/definitions/check"
371
+ },
372
+ "effects": {
373
+ "type": "array",
374
+ "description": "Derived default effect list for this slide (replaced wholesale by `overrides.slides[id].effects`).",
375
+ "items": {
376
+ "$ref": "#/definitions/effectRef"
377
+ }
378
+ }
379
+ }
380
+ },
381
+ "cardOffset": {
382
+ "type": "object",
383
+ "description": "World-unit nudge applied to the text card AFTER the layout preset places it. Leaves the title, diagram and background where they are.",
384
+ "additionalProperties": false,
385
+ "properties": {
386
+ "x": {
387
+ "type": "number",
388
+ "description": "Horizontal nudge, positive = right."
389
+ },
390
+ "y": {
391
+ "type": "number",
392
+ "description": "Vertical nudge, positive = up."
393
+ }
394
+ }
395
+ },
396
+ "camera": {
397
+ "type": "object",
398
+ "description": "Camera framing for this slide.",
399
+ "additionalProperties": false,
400
+ "properties": {
401
+ "distance": {
402
+ "type": "number",
403
+ "exclusiveMinimum": 0,
404
+ "description": "Distance from the focal plane. Larger pulls back and shrinks labels."
405
+ }
406
+ }
407
+ },
408
+ "labels": {
409
+ "type": "object",
410
+ "description": "Diagram-label treatment for this slide.",
411
+ "additionalProperties": false,
412
+ "properties": {
413
+ "size": {
414
+ "type": "number",
415
+ "exclusiveMinimum": 0,
416
+ "description": "World-space cap height of diagram label planes."
417
+ }
418
+ }
419
+ },
420
+ "diagram": {
421
+ "type": "object",
422
+ "description": "Derived diagram geometry. `kind: none` means no diagram (unsupported or absent).",
423
+ "additionalProperties": false,
424
+ "required": [
425
+ "kind"
426
+ ],
427
+ "properties": {
428
+ "kind": {
429
+ "type": "string",
430
+ "enum": [
431
+ "none",
432
+ "flowchart",
433
+ "sequence",
434
+ "brain",
435
+ "loop",
436
+ "swarm",
437
+ "bars",
438
+ "funnel",
439
+ "timeline-rail",
440
+ "globe",
441
+ "orbit-cluster",
442
+ "stack"
443
+ ],
444
+ "description": "Diagram builder to use. `none` = no diagram."
445
+ },
446
+ "data": {
447
+ "$ref": "#/definitions/diagramData"
448
+ },
449
+ "dir": {
450
+ "type": "string",
451
+ "enum": [
452
+ "TD",
453
+ "TB",
454
+ "BT",
455
+ "LR",
456
+ "RL"
457
+ ],
458
+ "description": "Flowchart rank direction as declared in the source."
459
+ },
460
+ "scale": {
461
+ "type": "number",
462
+ "exclusiveMinimum": 0,
463
+ "default": 1,
464
+ "description": "Overall diagram scale in world units (override: `overrides.slides[id].diagram.scale`)."
465
+ },
466
+ "offset": {
467
+ "type": "object",
468
+ "description": "Diagram translation in world units (override: `overrides.slides[id].diagram.offset`).",
469
+ "additionalProperties": false,
470
+ "properties": {
471
+ "x": {
472
+ "type": "number",
473
+ "description": "Horizontal offset (+ right)."
474
+ },
475
+ "y": {
476
+ "type": "number",
477
+ "description": "Vertical offset (+ up)."
478
+ }
479
+ }
480
+ },
481
+ "nodes": {
482
+ "type": "array",
483
+ "description": "Flowchart nodes with engine layout.",
484
+ "items": {
485
+ "$ref": "#/definitions/node"
486
+ }
487
+ },
488
+ "edges": {
489
+ "type": "array",
490
+ "description": "Flowchart edges with sampled path geometry.",
491
+ "items": {
492
+ "$ref": "#/definitions/edge"
493
+ }
494
+ },
495
+ "groups": {
496
+ "type": "array",
497
+ "description": "Flowchart subgraphs.",
498
+ "items": {
499
+ "$ref": "#/definitions/group"
500
+ }
501
+ },
502
+ "actors": {
503
+ "type": "array",
504
+ "description": "Sequence-diagram actors in declaration order.",
505
+ "items": {
506
+ "$ref": "#/definitions/actor"
507
+ }
508
+ },
509
+ "messages": {
510
+ "type": "array",
511
+ "description": "Sequence-diagram messages in source order.",
512
+ "items": {
513
+ "$ref": "#/definitions/message"
514
+ }
515
+ }
516
+ }
517
+ },
518
+ "node": {
519
+ "type": "object",
520
+ "description": "A flowchart node.",
521
+ "additionalProperties": false,
522
+ "required": [
523
+ "id",
524
+ "label",
525
+ "shape",
526
+ "x",
527
+ "y",
528
+ "w",
529
+ "h"
530
+ ],
531
+ "properties": {
532
+ "id": {
533
+ "type": "string",
534
+ "description": "Mermaid node id (author-chosen, stable)."
535
+ },
536
+ "label": {
537
+ "type": "string",
538
+ "description": "Displayed label text."
539
+ },
540
+ "shape": {
541
+ "type": "string",
542
+ "enum": [
543
+ "rect",
544
+ "stadium",
545
+ "round",
546
+ "hexagon",
547
+ "circle",
548
+ "doublecircle",
549
+ "diamond",
550
+ "cylinder"
551
+ ],
552
+ "description": "3D primitive to build for this node."
553
+ },
554
+ "x": {
555
+ "type": "number",
556
+ "description": "X position from the engine layout (layout units)."
557
+ },
558
+ "y": {
559
+ "type": "number",
560
+ "description": "Y position from the engine layout (layout units)."
561
+ },
562
+ "w": {
563
+ "type": "number",
564
+ "description": "Node width from the engine layout."
565
+ },
566
+ "h": {
567
+ "type": "number",
568
+ "description": "Node height from the engine layout."
569
+ },
570
+ "group": {
571
+ "type": "string",
572
+ "description": "Subgraph title this node belongs to, when any."
573
+ }
574
+ }
575
+ },
576
+ "edge": {
577
+ "type": "object",
578
+ "description": "A flowchart edge.",
579
+ "additionalProperties": false,
580
+ "required": [
581
+ "id",
582
+ "from",
583
+ "to",
584
+ "kind",
585
+ "path"
586
+ ],
587
+ "properties": {
588
+ "id": {
589
+ "type": "string",
590
+ "description": "Stable edge id `<from>-><to>#<k>` (k = ordinal among parallel edges in source order)."
591
+ },
592
+ "from": {
593
+ "type": "string",
594
+ "description": "Source node id (must exist in `nodes`)."
595
+ },
596
+ "to": {
597
+ "type": "string",
598
+ "description": "Target node id (must exist in `nodes`)."
599
+ },
600
+ "kind": {
601
+ "type": "string",
602
+ "enum": [
603
+ "normal",
604
+ "dotted",
605
+ "thick"
606
+ ],
607
+ "description": "Edge stroke kind: solid arrow, dotted, or thick labelled."
608
+ },
609
+ "label": {
610
+ "type": "string",
611
+ "description": "Edge label text, when present."
612
+ },
613
+ "path": {
614
+ "type": "array",
615
+ "description": "Sampled points along the rendered edge curve, as [x, y] pairs.",
616
+ "items": {
617
+ "type": "array",
618
+ "minItems": 2,
619
+ "maxItems": 2,
620
+ "items": {
621
+ "type": "number"
622
+ }
623
+ }
624
+ }
625
+ }
626
+ },
627
+ "group": {
628
+ "type": "object",
629
+ "description": "A flowchart subgraph.",
630
+ "additionalProperties": false,
631
+ "required": [
632
+ "id",
633
+ "title",
634
+ "nodes"
635
+ ],
636
+ "properties": {
637
+ "id": {
638
+ "type": "string",
639
+ "description": "Subgraph id from the source."
640
+ },
641
+ "title": {
642
+ "type": "string",
643
+ "description": "Subgraph title."
644
+ },
645
+ "nodes": {
646
+ "type": "array",
647
+ "description": "Member node ids.",
648
+ "items": {
649
+ "type": "string"
650
+ }
651
+ }
652
+ }
653
+ },
654
+ "actor": {
655
+ "type": "object",
656
+ "description": "A sequence-diagram actor.",
657
+ "additionalProperties": false,
658
+ "required": [
659
+ "id",
660
+ "label"
661
+ ],
662
+ "properties": {
663
+ "id": {
664
+ "type": "string",
665
+ "description": "Actor name from the source (stable)."
666
+ },
667
+ "label": {
668
+ "type": "string",
669
+ "description": "Display label (description or name)."
670
+ }
671
+ }
672
+ },
673
+ "message": {
674
+ "type": "object",
675
+ "description": "A sequence-diagram message.",
676
+ "additionalProperties": false,
677
+ "required": [
678
+ "id",
679
+ "from",
680
+ "to",
681
+ "text",
682
+ "kind"
683
+ ],
684
+ "properties": {
685
+ "id": {
686
+ "type": "string",
687
+ "pattern": "^m\\d+$",
688
+ "description": "Stable message id `m<index>` in source order."
689
+ },
690
+ "from": {
691
+ "type": "string",
692
+ "description": "Sender actor id."
693
+ },
694
+ "to": {
695
+ "type": "string",
696
+ "description": "Receiver actor id (equal to `from` for self-messages)."
697
+ },
698
+ "text": {
699
+ "type": "string",
700
+ "description": "Message label text."
701
+ },
702
+ "kind": {
703
+ "type": "string",
704
+ "enum": [
705
+ "solid",
706
+ "dotted"
707
+ ],
708
+ "description": "Solid request/response vs dotted reply."
709
+ }
710
+ }
711
+ },
712
+ "diagramData": {
713
+ "type": "object",
714
+ "description": "Label/value series driving a built diagram topology. Replaced as a whole object by an override \u2014 never deep-merged, so labels and values cannot mix provenance.",
715
+ "additionalProperties": false,
716
+ "properties": {
717
+ "labels": {
718
+ "type": "array",
719
+ "description": "One caption per series entry, in source order.",
720
+ "items": {
721
+ "type": "string"
722
+ }
723
+ },
724
+ "values": {
725
+ "type": "array",
726
+ "description": "One magnitude per series entry. Absent \u2192 the builder uses equal magnitudes.",
727
+ "items": {
728
+ "type": "number",
729
+ "minimum": 0
730
+ }
731
+ }
732
+ }
733
+ },
734
+ "effectRef": {
735
+ "type": "object",
736
+ "description": "Reference to an effect in the fx corpus (`{id, params}`), or to a per-deck module in `fx/` beside the deck (`{id: \"local:<name>\", sha256, params}`).",
737
+ "additionalProperties": false,
738
+ "required": [
739
+ "id"
740
+ ],
741
+ "properties": {
742
+ "id": {
743
+ "type": "string",
744
+ "description": "Effect id from `fx list` (e.g. `bloom`, `starfield`), or `local:<name>` for a module in `fx/` beside the deck."
745
+ },
746
+ "sha256": {
747
+ "type": "string",
748
+ "pattern": "^[0-9a-f]{64}$",
749
+ "description": "Lowercase hex sha256 of the `fx/<name>.js` bytes. Required for `local:` ids, forbidden for corpus ids."
750
+ },
751
+ "params": {
752
+ "type": "object",
753
+ "description": "Effect parameters; each is bounded by the effect's card schema and validated by `validate`.",
754
+ "additionalProperties": true
755
+ }
756
+ },
757
+ "allOf": [
758
+ {
759
+ "if": {
760
+ "required": [
761
+ "id"
762
+ ],
763
+ "properties": {
764
+ "id": {
765
+ "pattern": "^local:"
766
+ }
767
+ }
768
+ },
769
+ "then": {
770
+ "required": [
771
+ "sha256"
772
+ ],
773
+ "properties": {
774
+ "id": {
775
+ "pattern": "^local:[a-z][a-z0-9-]{0,63}$"
776
+ }
777
+ }
778
+ },
779
+ "else": {
780
+ "not": {
781
+ "required": [
782
+ "sha256"
783
+ ]
784
+ }
785
+ }
786
+ }
787
+ ]
788
+ },
789
+ "prop": {
790
+ "type": "object",
791
+ "description": "A glTF model placed on a slide. Selection is the LLM's job; code fetches, hash-pins and renders it.",
792
+ "additionalProperties": false,
793
+ "required": [
794
+ "source",
795
+ "id",
796
+ "licence",
797
+ "author",
798
+ "sha256",
799
+ "slide",
800
+ "role"
801
+ ],
802
+ "properties": {
803
+ "source": {
804
+ "type": "string",
805
+ "enum": [
806
+ "vendored",
807
+ "poly-pizza",
808
+ "generated"
809
+ ],
810
+ "description": "Where the model came from."
811
+ },
812
+ "id": {
813
+ "type": "string",
814
+ "description": "Source-specific model id."
815
+ },
816
+ "licence": {
817
+ "type": "string",
818
+ "description": "SPDX licence id (e.g. `CC0-1.0`, `CC-BY-4.0`, or `generated`)."
819
+ },
820
+ "author": {
821
+ "type": "string",
822
+ "description": "Attribution string for the credits slide."
823
+ },
824
+ "sha256": {
825
+ "type": "string",
826
+ "pattern": "^[0-9a-f]{64}$",
827
+ "description": "sha256 of the cached normalised GLB. `render` refuses a mismatch."
828
+ },
829
+ "slide": {
830
+ "type": "string",
831
+ "description": "Target slide id."
832
+ },
833
+ "role": {
834
+ "type": "string",
835
+ "pattern": "^(hero|illustration|ambient|node:.+)$",
836
+ "description": "Placement: `hero`, `illustration`, `ambient` (background instances), or `node:<nodeId>` (replaces a diagram node)."
837
+ },
838
+ "size": {
839
+ "type": "number",
840
+ "exclusiveMinimum": 0,
841
+ "description": "Target world-space bounding-box size (longest axis)."
842
+ },
843
+ "count": {
844
+ "type": "integer",
845
+ "minimum": 1,
846
+ "description": "Instance count for the `ambient` role."
847
+ },
848
+ "restyle": {
849
+ "type": "string",
850
+ "enum": [
851
+ "palette",
852
+ "original"
853
+ ],
854
+ "description": "`palette` swaps materials for the deck PBR palette; `original` keeps the source materials."
855
+ },
856
+ "anim": {
857
+ "type": "string",
858
+ "enum": [
859
+ "none",
860
+ "float",
861
+ "orbit",
862
+ "spin"
863
+ ],
864
+ "description": "Animation preset applied to the prop group."
865
+ }
866
+ }
867
+ },
868
+ "overrides": {
869
+ "type": "object",
870
+ "description": "The ONLY user-writable region. Objects deep-merge over derived values; arrays replace.",
871
+ "additionalProperties": false,
872
+ "properties": {
873
+ "deck": {
874
+ "$ref": "#/definitions/defaults"
875
+ },
876
+ "effects": {
877
+ "type": "array",
878
+ "description": "Deck-level effect list (replaces the deck default list).",
879
+ "items": {
880
+ "$ref": "#/definitions/effectRef"
881
+ }
882
+ },
883
+ "props": {
884
+ "type": "array",
885
+ "description": "Models placed on slides.",
886
+ "items": {
887
+ "$ref": "#/definitions/prop"
888
+ }
889
+ },
890
+ "slides": {
891
+ "type": "object",
892
+ "description": "Per-slide overrides keyed by slide id.",
893
+ "propertyNames": {
894
+ "pattern": "^[a-z0-9-]+$"
895
+ },
896
+ "additionalProperties": {
897
+ "type": "object",
898
+ "description": "Per-slide overrides. Look knobs mirror `defaults` by $ref so the scopes cannot drift; `rail`/`spacing` stay deck-only because they position every anchor on the rail.",
899
+ "additionalProperties": false,
900
+ "properties": {
901
+ "backgroundIntensity": {
902
+ "type": "number",
903
+ "minimum": 0,
904
+ "maximum": 1,
905
+ "description": "Override the background scene opacity."
906
+ },
907
+ "bloom": {
908
+ "$ref": "#/definitions/defaults/properties/bloom"
909
+ },
910
+ "camera": {
911
+ "type": "object",
912
+ "description": "Camera framing override.",
913
+ "additionalProperties": false,
914
+ "properties": {
915
+ "distance": {
916
+ "type": "number",
917
+ "exclusiveMinimum": 0,
918
+ "description": "Pull the camera closer/further to fix fit or label size."
919
+ }
920
+ }
921
+ },
922
+ "cardOffset": {
923
+ "$ref": "#/definitions/cardOffset"
924
+ },
925
+ "check": {
926
+ "$ref": "#/definitions/check"
927
+ },
928
+ "colors": {
929
+ "$ref": "#/definitions/defaults/properties/colors"
930
+ },
931
+ "depthRelief": {
932
+ "$ref": "#/definitions/defaults/properties/depthRelief"
933
+ },
934
+ "diagram": {
935
+ "type": "object",
936
+ "description": "Diagram framing overrides.",
937
+ "additionalProperties": false,
938
+ "properties": {
939
+ "kind": {
940
+ "type": "string",
941
+ "enum": [
942
+ "none",
943
+ "brain",
944
+ "loop",
945
+ "swarm",
946
+ "bars",
947
+ "funnel",
948
+ "timeline-rail",
949
+ "globe",
950
+ "orbit-cluster",
951
+ "stack"
952
+ ],
953
+ "description": "Force a built topology on a slide without a mermaid block. `flowchart`/`sequence` are derived from markdown and cannot be set here."
954
+ },
955
+ "data": {
956
+ "$ref": "#/definitions/diagramData"
957
+ },
958
+ "scale": {
959
+ "type": "number",
960
+ "exclusiveMinimum": 0,
961
+ "description": "Scale the diagram up/down to fit."
962
+ },
963
+ "offset": {
964
+ "type": "object",
965
+ "description": "Translate the diagram.",
966
+ "additionalProperties": false,
967
+ "properties": {
968
+ "x": {
969
+ "type": "number",
970
+ "description": "Horizontal offset."
971
+ },
972
+ "y": {
973
+ "type": "number",
974
+ "description": "Vertical offset."
975
+ }
976
+ }
977
+ }
978
+ }
979
+ },
980
+ "durationSec": {
981
+ "$ref": "#/definitions/defaults/properties/durationSec"
982
+ },
983
+ "effects": {
984
+ "type": "array",
985
+ "description": "Replaces the slide's derived default effect list.",
986
+ "items": {
987
+ "$ref": "#/definitions/effectRef"
988
+ }
989
+ },
990
+ "envReflections": {
991
+ "$ref": "#/definitions/defaults/properties/envReflections"
992
+ },
993
+ "extrudeDepth": {
994
+ "$ref": "#/definitions/defaults/properties/extrudeDepth"
995
+ },
996
+ "floor": {
997
+ "$ref": "#/definitions/defaults/properties/floor"
998
+ },
999
+ "floorMatte": {
1000
+ "$ref": "#/definitions/defaults/properties/floorMatte"
1001
+ },
1002
+ "floorReflectivity": {
1003
+ "$ref": "#/definitions/defaults/properties/floorReflectivity"
1004
+ },
1005
+ "fog": {
1006
+ "$ref": "#/definitions/defaults/properties/fog"
1007
+ },
1008
+ "labels": {
1009
+ "type": "object",
1010
+ "description": "Label treatment override.",
1011
+ "additionalProperties": false,
1012
+ "properties": {
1013
+ "size": {
1014
+ "type": "number",
1015
+ "exclusiveMinimum": 0,
1016
+ "description": "Grow labels to fix legibility."
1017
+ }
1018
+ }
1019
+ },
1020
+ "layout": {
1021
+ "type": "string",
1022
+ "enum": [
1023
+ "split",
1024
+ "split-reverse"
1025
+ ],
1026
+ "description": "Override the composition preset for this slide."
1027
+ },
1028
+ "material": {
1029
+ "type": "string",
1030
+ "enum": [
1031
+ "glass",
1032
+ "metal",
1033
+ "matte"
1034
+ ],
1035
+ "description": "Override the slide's material family."
1036
+ },
1037
+ "mirrorFloor": {
1038
+ "$ref": "#/definitions/defaults/properties/mirrorFloor"
1039
+ },
1040
+ "mode": {
1041
+ "type": "string",
1042
+ "enum": [
1043
+ "dark",
1044
+ "light"
1045
+ ],
1046
+ "description": "Override the slide's palette mode."
1047
+ },
1048
+ "palette": {
1049
+ "type": "string",
1050
+ "enum": [
1051
+ "blackbelt",
1052
+ "zenit",
1053
+ "dapp",
1054
+ "midnight",
1055
+ "ember",
1056
+ "arctic",
1057
+ "forest",
1058
+ "mono",
1059
+ "neon",
1060
+ "custom"
1061
+ ],
1062
+ "description": "Override the slide's palette."
1063
+ },
1064
+ "quality": {
1065
+ "type": "string",
1066
+ "enum": [
1067
+ "low",
1068
+ "medium",
1069
+ "high"
1070
+ ],
1071
+ "description": "Override the quality tier for this slide."
1072
+ },
1073
+ "reflectBackdrop": {
1074
+ "$ref": "#/definitions/defaults/properties/reflectBackdrop"
1075
+ },
1076
+ "rimLight": {
1077
+ "$ref": "#/definitions/defaults/properties/rimLight"
1078
+ },
1079
+ "scene": {
1080
+ "type": "string",
1081
+ "description": "Override the background scene id."
1082
+ },
1083
+ "softShadows": {
1084
+ "$ref": "#/definitions/defaults/properties/softShadows"
1085
+ },
1086
+ "titleEdge": {
1087
+ "type": "string",
1088
+ "enum": [
1089
+ "none",
1090
+ "contrast"
1091
+ ],
1092
+ "description": "Override the title contour for this slide."
1093
+ },
1094
+ "transition": {
1095
+ "type": "string",
1096
+ "description": "Override the transition effect id for entering this slide."
1097
+ }
1098
+ }
1099
+ }
1100
+ },
1101
+ "nodes": {
1102
+ "type": "object",
1103
+ "description": "Per-node overrides keyed by `<slideId>/<nodeId>`.",
1104
+ "propertyNames": {
1105
+ "pattern": "^[^/]+/[^/]+$"
1106
+ },
1107
+ "additionalProperties": {
1108
+ "type": "object",
1109
+ "additionalProperties": false,
1110
+ "properties": {
1111
+ "shape": {
1112
+ "type": "string",
1113
+ "enum": [
1114
+ "rect",
1115
+ "stadium",
1116
+ "round",
1117
+ "hexagon",
1118
+ "circle",
1119
+ "doublecircle",
1120
+ "diamond",
1121
+ "cylinder"
1122
+ ],
1123
+ "description": "Change the node's 3D primitive."
1124
+ },
1125
+ "label": {
1126
+ "type": "string",
1127
+ "description": "Reword the node's label."
1128
+ },
1129
+ "position": {
1130
+ "type": "object",
1131
+ "description": "Nudge the node in world units.",
1132
+ "additionalProperties": false,
1133
+ "properties": {
1134
+ "x": {
1135
+ "type": "number",
1136
+ "description": "Horizontal nudge."
1137
+ },
1138
+ "y": {
1139
+ "type": "number",
1140
+ "description": "Vertical nudge."
1141
+ },
1142
+ "z": {
1143
+ "type": "number",
1144
+ "description": "Depth nudge."
1145
+ }
1146
+ }
1147
+ },
1148
+ "size": {
1149
+ "type": "object",
1150
+ "description": "Override the node's box size.",
1151
+ "additionalProperties": false,
1152
+ "properties": {
1153
+ "w": {
1154
+ "type": "number",
1155
+ "exclusiveMinimum": 0,
1156
+ "description": "Width."
1157
+ },
1158
+ "h": {
1159
+ "type": "number",
1160
+ "exclusiveMinimum": 0,
1161
+ "description": "Height."
1162
+ }
1163
+ }
1164
+ },
1165
+ "material": {
1166
+ "type": "string",
1167
+ "enum": [
1168
+ "glass",
1169
+ "metal",
1170
+ "matte"
1171
+ ],
1172
+ "description": "Override the node's material family."
1173
+ }
1174
+ }
1175
+ }
1176
+ },
1177
+ "edges": {
1178
+ "type": "object",
1179
+ "description": "Per-edge overrides keyed by `<slideId>/<edgeId>`.",
1180
+ "propertyNames": {
1181
+ "pattern": "^[^/]+/.+$"
1182
+ },
1183
+ "additionalProperties": {
1184
+ "type": "object",
1185
+ "additionalProperties": false,
1186
+ "properties": {
1187
+ "kind": {
1188
+ "type": "string",
1189
+ "enum": [
1190
+ "normal",
1191
+ "dotted",
1192
+ "thick"
1193
+ ],
1194
+ "description": "Change the edge stroke kind."
1195
+ },
1196
+ "material": {
1197
+ "type": "string",
1198
+ "enum": [
1199
+ "glass",
1200
+ "metal",
1201
+ "matte"
1202
+ ],
1203
+ "description": "Override the edge material family."
1204
+ }
1205
+ }
1206
+ }
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ }