@openpresentation/opf 0.13.0 → 0.14.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.
- package/README.md +28 -23
- package/dist/{catalogs-ywCamd8C.d.ts → catalogs-D-yyQWCQ.d.ts} +86 -208
- package/dist/catalogs.d.ts +2 -2
- package/dist/catalogs.js +1 -1
- package/dist/{chart-data-Cdr6rRVV.d.ts → chart-data-B_3z9VTb.d.ts} +16 -5
- package/dist/chunk-4LDGKLUC.js +192 -0
- package/dist/{chunk-II5EYKZU.js → chunk-4VJDTF55.js} +2 -92
- package/dist/chunk-5ZU6JAPP.js +83 -0
- package/dist/{chunk-MPM7NRG7.js → chunk-6OXY2CP3.js} +1716 -744
- package/dist/{chunk-IS2CPNVJ.js → chunk-BFLVSVA7.js} +26 -26
- package/dist/chunk-CSQHPVGL.js +94 -0
- package/dist/{chunk-GJKJL4YY.js → chunk-D3TY4TT6.js} +34 -412
- package/dist/chunk-JDJBDYSR.js +4167 -0
- package/dist/{chunk-7QBCWNWL.js → chunk-LS2FMPI5.js} +1086 -1092
- package/dist/{chunk-ATGDDJPX.js → chunk-Q2TCMN56.js} +3 -3
- package/dist/chunk-UPQQD7MA.js +1840 -0
- package/dist/{chunk-RAYB46AB.js → chunk-XIZUK2XM.js} +32 -30
- package/dist/{chunk-E34DJ5LL.js → chunk-XOZ4KMSR.js} +2427 -10820
- package/dist/chunk-Z65B2B77.js +601 -0
- package/dist/{composition-D7we69Tr.d.ts → composition-_WEwBe2a.d.ts} +738 -27
- package/dist/composition.d.ts +2 -2
- package/dist/composition.js +2 -2
- package/dist/convert.d.ts +9 -7
- package/dist/convert.js +33 -19
- package/dist/data.d.ts +4 -4
- package/dist/data.js +3 -3
- package/dist/diff.d.ts +4 -4
- package/dist/diff.js +6 -604
- package/dist/docs.js +54 -42
- package/dist/examples.d.ts +1 -1
- package/dist/examples.js +1366 -2908
- package/dist/finding-C_por275.d.ts +212 -0
- package/dist/format.d.ts +4 -4
- package/dist/format.js +2 -83
- package/dist/index.d.ts +318 -284
- package/dist/index.js +530 -943
- package/dist/markdown.d.ts +28 -27
- package/dist/markdown.js +8 -1940
- package/dist/pagination-BZpXLvFL.d.ts +119 -0
- package/dist/pagination.d.ts +5 -61
- package/dist/pagination.js +5 -5
- package/dist/patch.d.ts +12 -23
- package/dist/patch.js +5 -5
- package/dist/{presentation-mG-IYErQ.d.ts → presentation-C5eHkevA.d.ts} +350 -506
- package/dist/repo-readme.js +1 -1
- package/dist/{schemas-BbPonsTz.d.ts → schemas-DDpqAgyS.d.ts} +31 -17
- package/dist/schemas.d.ts +1 -1
- package/dist/schemas.js +1 -1
- package/dist/spec/README.md +10 -5
- package/dist/spec/catalogs/audiences/index.json +2 -50
- package/dist/spec/catalogs/chart-types/100pct-stacked-area.json +21 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar.json +22 -0
- package/dist/spec/catalogs/chart-types/100pct-stacked-column.json +22 -0
- package/dist/spec/catalogs/chart-types/area.json +2 -60
- package/dist/spec/catalogs/chart-types/bar.json +2 -48
- package/dist/spec/catalogs/chart-types/box-and-whisker.json +2 -132
- package/dist/spec/catalogs/chart-types/column.json +2 -52
- package/dist/spec/catalogs/chart-types/combo.json +37 -0
- package/dist/spec/catalogs/chart-types/doughnut.json +2 -40
- package/dist/spec/catalogs/chart-types/filled-radar.json +2 -52
- package/dist/spec/catalogs/chart-types/funnel.json +2 -46
- package/dist/spec/catalogs/chart-types/histogram.json +2 -149
- package/dist/spec/catalogs/chart-types/index.json +50 -520
- package/dist/spec/catalogs/chart-types/line-with-markers.json +2 -60
- package/dist/spec/catalogs/chart-types/line.json +2 -60
- package/dist/spec/catalogs/chart-types/pareto.json +2 -50
- package/dist/spec/catalogs/chart-types/pie.json +2 -40
- package/dist/spec/catalogs/chart-types/radar-with-markers.json +2 -52
- package/dist/spec/catalogs/chart-types/radar.json +2 -52
- package/dist/spec/catalogs/chart-types/scatter.json +2 -73
- package/dist/spec/catalogs/chart-types/stacked-area.json +21 -0
- package/dist/spec/catalogs/chart-types/stacked-bar.json +22 -0
- package/dist/spec/catalogs/chart-types/stacked-column.json +22 -0
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers.json +22 -0
- package/dist/spec/catalogs/chart-types/stacked-line.json +21 -0
- package/dist/spec/catalogs/chart-types/treemap.json +2 -48
- package/dist/spec/catalogs/chart-types/waterfall.json +2 -52
- package/dist/spec/catalogs/chart-types/world.json +2 -64
- package/dist/spec/catalogs/font-schemes/angsana-new.json +2 -2
- package/dist/spec/catalogs/font-schemes/aparajita.json +3 -3
- package/dist/spec/catalogs/font-schemes/aptos.json +1 -1
- package/dist/spec/catalogs/font-schemes/arabic-typesetting.json +2 -2
- package/dist/spec/catalogs/font-schemes/arial.json +1 -1
- package/dist/spec/catalogs/font-schemes/batang.json +2 -2
- package/dist/spec/catalogs/font-schemes/bookman.json +1 -1
- package/dist/spec/catalogs/font-schemes/calibri.json +1 -1
- package/dist/spec/catalogs/font-schemes/century-schoolbook.json +1 -1
- package/dist/spec/catalogs/font-schemes/consolas.json +2 -4
- package/dist/spec/catalogs/font-schemes/constantia.json +1 -1
- package/dist/spec/catalogs/font-schemes/courier-new.json +2 -4
- package/dist/spec/catalogs/font-schemes/daunpenh.json +2 -2
- package/dist/spec/catalogs/font-schemes/david.json +2 -2
- package/dist/spec/catalogs/font-schemes/dilleniaupc.json +2 -2
- package/dist/spec/catalogs/font-schemes/fangsong.json +2 -2
- package/dist/spec/catalogs/font-schemes/garamond.json +1 -1
- package/dist/spec/catalogs/font-schemes/gautami.json +2 -2
- package/dist/spec/catalogs/font-schemes/georgia.json +1 -1
- package/dist/spec/catalogs/font-schemes/gisha.json +3 -3
- package/dist/spec/catalogs/font-schemes/grandview.json +1 -1
- package/dist/spec/catalogs/font-schemes/gungsuh.json +2 -2
- package/dist/spec/catalogs/font-schemes/impact.json +1 -1
- package/dist/spec/catalogs/font-schemes/index.json +1 -1
- package/dist/spec/catalogs/font-schemes/kalinga.json +2 -2
- package/dist/spec/catalogs/font-schemes/kartika.json +2 -2
- package/dist/spec/catalogs/font-schemes/khmer-ui.json +2 -2
- package/dist/spec/catalogs/font-schemes/latha.json +2 -2
- package/dist/spec/catalogs/font-schemes/lucida-sans.json +1 -1
- package/dist/spec/catalogs/font-schemes/malgun-gothic.json +2 -2
- package/dist/spec/catalogs/font-schemes/mangal.json +4 -5
- package/dist/spec/catalogs/font-schemes/meiryo.json +2 -2
- package/dist/spec/catalogs/font-schemes/microsoft-jhenghei.json +2 -2
- package/dist/spec/catalogs/font-schemes/microsoft-yahei.json +5 -5
- package/dist/spec/catalogs/font-schemes/mingliu.json +2 -2
- package/dist/spec/catalogs/font-schemes/miriam.json +2 -2
- package/dist/spec/catalogs/font-schemes/montserrat.json +1 -1
- package/dist/spec/catalogs/font-schemes/ms-mincho.json +2 -2
- package/dist/spec/catalogs/font-schemes/nirmala-ui.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-naksh-arabic.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-nastaliq-urdu.json +3 -3
- package/dist/spec/catalogs/font-schemes/noto-sans-arabic.json +4 -4
- package/dist/spec/catalogs/font-schemes/noto-sans-armenian.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-bengali.json +3 -3
- package/dist/spec/catalogs/font-schemes/noto-sans-devangari.json +3 -3
- package/dist/spec/catalogs/font-schemes/noto-sans-ethiopic.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-georgian.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-gujarati.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-gurmukhi.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-hebrew.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-jp.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-kannada.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-khmer.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-kr.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-malayalam.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-mongolian.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-oriya.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-sc.json +5 -5
- package/dist/spec/catalogs/font-schemes/noto-sans-tamil.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-tc.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-telugu.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans-thai.json +2 -2
- package/dist/spec/catalogs/font-schemes/noto-sans.json +5 -5
- package/dist/spec/catalogs/font-schemes/nyala.json +2 -2
- package/dist/spec/catalogs/font-schemes/open-sans.json +1 -1
- package/dist/spec/catalogs/font-schemes/pmingliu.json +2 -2
- package/dist/spec/catalogs/font-schemes/poppins.json +1 -1
- package/dist/spec/catalogs/font-schemes/pt-serif.json +1 -1
- package/dist/spec/catalogs/font-schemes/raavi.json +2 -2
- package/dist/spec/catalogs/font-schemes/raleway.json +1 -1
- package/dist/spec/catalogs/font-schemes/roboto.json +1 -1
- package/dist/spec/catalogs/font-schemes/rockwell.json +1 -1
- package/dist/spec/catalogs/font-schemes/sakkal-majalla.json +4 -4
- package/dist/spec/catalogs/font-schemes/seaford.json +1 -1
- package/dist/spec/catalogs/font-schemes/segoe-ui-light.json +1 -1
- package/dist/spec/catalogs/font-schemes/segoe-ui.json +1 -1
- package/dist/spec/catalogs/font-schemes/shonar-bangla.json +3 -3
- package/dist/spec/catalogs/font-schemes/shruti.json +2 -2
- package/dist/spec/catalogs/font-schemes/simsun.json +2 -2
- package/dist/spec/catalogs/font-schemes/skeena.json +1 -1
- package/dist/spec/catalogs/font-schemes/sylfaen.json +3 -3
- package/dist/spec/catalogs/font-schemes/tahoma.json +1 -1
- package/dist/spec/catalogs/font-schemes/tenorite.json +1 -1
- package/dist/spec/catalogs/font-schemes/times-new-roman.json +1 -1
- package/dist/spec/catalogs/font-schemes/traditional-arabic.json +4 -4
- package/dist/spec/catalogs/font-schemes/trebuchet-ms.json +1 -1
- package/dist/spec/catalogs/font-schemes/tunga.json +2 -2
- package/dist/spec/catalogs/font-schemes/verdana.json +1 -1
- package/dist/spec/catalogs/font-schemes/vrinda.json +2 -2
- package/dist/spec/catalogs/font-schemes/yu-gothic.json +2 -2
- package/dist/spec/catalogs/layouts/action-plan.json +9 -15
- package/dist/spec/catalogs/layouts/agenda.json +8 -15
- package/dist/spec/catalogs/layouts/appendix-index.json +7 -15
- package/dist/spec/catalogs/layouts/architecture-stack.json +9 -15
- package/dist/spec/catalogs/layouts/assumptions-dependencies.json +9 -15
- package/dist/spec/catalogs/layouts/before-after.json +9 -15
- package/dist/spec/catalogs/layouts/benchmark-target-table.json +9 -15
- package/dist/spec/catalogs/layouts/blank.json +11 -1
- package/dist/spec/catalogs/layouts/bullet-list.json +9 -15
- package/dist/spec/catalogs/layouts/business-model-canvas.json +9 -15
- package/dist/spec/catalogs/layouts/capability-map.json +14 -16
- package/dist/spec/catalogs/layouts/case-study.json +9 -15
- package/dist/spec/catalogs/layouts/chapter-recap.json +8 -15
- package/dist/spec/catalogs/layouts/chart-1x.json +15 -0
- package/dist/spec/catalogs/layouts/chart-2x.json +15 -0
- package/dist/spec/catalogs/layouts/chart-3x.json +15 -0
- package/dist/spec/catalogs/layouts/circular-lifecycle.json +9 -15
- package/dist/spec/catalogs/layouts/code-1x.json +10 -0
- package/dist/spec/catalogs/layouts/comparison.json +9 -15
- package/dist/spec/catalogs/layouts/competitive-landscape.json +14 -16
- package/dist/spec/catalogs/layouts/customer-journey.json +14 -16
- package/dist/spec/catalogs/layouts/customer-logos.json +9 -15
- package/dist/spec/catalogs/layouts/dashboard.json +9 -15
- package/dist/spec/catalogs/layouts/data-visualization.json +9 -15
- package/dist/spec/catalogs/layouts/decision-tree.json +14 -16
- package/dist/spec/catalogs/layouts/detailed-data-table.json +9 -15
- package/dist/spec/catalogs/layouts/ecosystem-map.json +14 -16
- package/dist/spec/catalogs/layouts/executive-decision.json +9 -15
- package/dist/spec/catalogs/layouts/executive-summary.json +9 -15
- package/dist/spec/catalogs/layouts/extract/canonical.json +8 -8
- package/dist/spec/catalogs/layouts/faq.json +9 -15
- package/dist/spec/catalogs/layouts/feature-comparison-matrix.json +9 -15
- package/dist/spec/catalogs/layouts/forecast-scenario.json +9 -15
- package/dist/spec/catalogs/layouts/funnel-pyramid.json +9 -15
- package/dist/spec/catalogs/layouts/gantt-project-plan.json +9 -15
- package/dist/spec/catalogs/layouts/geographic-map.json +13 -15
- package/dist/spec/catalogs/layouts/heatmap-cohort.json +9 -15
- package/dist/spec/catalogs/layouts/hub-and-spoke.json +9 -15
- package/dist/spec/catalogs/layouts/icon-grid.json +14 -16
- package/dist/spec/catalogs/layouts/image-1x.json +11 -1
- package/dist/spec/catalogs/layouts/image-2x.json +12 -2
- package/dist/spec/catalogs/layouts/image-3x.json +13 -3
- package/dist/spec/catalogs/layouts/image-bleed.json +12 -2
- package/dist/spec/catalogs/layouts/image-focus.json +14 -16
- package/dist/spec/catalogs/layouts/index.json +1 -1
- package/dist/spec/catalogs/layouts/key-takeaway.json +8 -15
- package/dist/spec/catalogs/layouts/kpi-scorecard.json +9 -15
- package/dist/spec/catalogs/layouts/list-1x.json +17 -1
- package/dist/spec/catalogs/layouts/list-2x.json +16 -0
- package/dist/spec/catalogs/layouts/list-3x.json +16 -0
- package/dist/spec/catalogs/layouts/list-4x.json +16 -0
- package/dist/spec/catalogs/layouts/list-5x.json +16 -0
- package/dist/spec/catalogs/layouts/list-6x.json +16 -0
- package/dist/spec/catalogs/layouts/logic-tree.json +9 -15
- package/dist/spec/catalogs/layouts/market-size.json +9 -15
- package/dist/spec/catalogs/layouts/matrix-quadrant.json +9 -15
- package/dist/spec/catalogs/layouts/media-1x.json +11 -1
- package/dist/spec/catalogs/layouts/network-dependency-map.json +13 -15
- package/dist/spec/catalogs/layouts/number-1x.json +16 -1
- package/dist/spec/catalogs/layouts/number-2x.json +15 -0
- package/dist/spec/catalogs/layouts/number-3x.json +15 -0
- package/dist/spec/catalogs/layouts/number-4x.json +15 -0
- package/dist/spec/catalogs/layouts/number-5x.json +15 -0
- package/dist/spec/catalogs/layouts/number-6x.json +15 -0
- package/dist/spec/catalogs/layouts/one-column-explainer.json +9 -15
- package/dist/spec/catalogs/layouts/org-chart.json +9 -15
- package/dist/spec/catalogs/layouts/persona-grid.json +14 -16
- package/dist/spec/catalogs/layouts/photo-grid.json +17 -19
- package/dist/spec/catalogs/layouts/pricing-table.json +9 -15
- package/dist/spec/catalogs/layouts/process-flow.json +9 -15
- package/dist/spec/catalogs/layouts/product-feature.json +14 -16
- package/dist/spec/catalogs/layouts/pros-cons.json +9 -15
- package/dist/spec/catalogs/layouts/qa-discussion.json +7 -15
- package/dist/spec/catalogs/layouts/quote-1x.json +11 -1
- package/dist/spec/catalogs/layouts/quote-highlight.json +9 -15
- package/dist/spec/catalogs/layouts/raci-matrix.json +9 -15
- package/dist/spec/catalogs/layouts/risk-heatmap.json +9 -15
- package/dist/spec/catalogs/layouts/roadmap.json +9 -15
- package/dist/spec/catalogs/layouts/screenshot-walkthrough.json +14 -16
- package/dist/spec/catalogs/layouts/section-divider.json +8 -15
- package/dist/spec/catalogs/layouts/single-message-statement.json +8 -15
- package/dist/spec/catalogs/layouts/stats-metrics.json +9 -15
- package/dist/spec/catalogs/layouts/status-rag.json +9 -15
- package/dist/spec/catalogs/layouts/swimlane-process.json +14 -16
- package/dist/spec/catalogs/layouts/swot-analysis.json +9 -15
- package/dist/spec/catalogs/layouts/table-1x.json +10 -0
- package/dist/spec/catalogs/layouts/team-bio.json +14 -16
- package/dist/spec/catalogs/layouts/testimonial-grid.json +9 -15
- package/dist/spec/catalogs/layouts/text-1x.json +11 -1
- package/dist/spec/catalogs/layouts/text-2x.json +10 -0
- package/dist/spec/catalogs/layouts/text-3x.json +10 -0
- package/dist/spec/catalogs/layouts/thank-you-cta.json +8 -15
- package/dist/spec/catalogs/layouts/three-column.json +9 -15
- package/dist/spec/catalogs/layouts/timeline-1x.json +11 -1
- package/dist/spec/catalogs/layouts/timeline.json +9 -15
- package/dist/spec/catalogs/layouts/title-slide.json +8 -15
- package/dist/spec/catalogs/layouts/title-subtitle.json +11 -1
- package/dist/spec/catalogs/layouts/title.json +11 -1
- package/dist/spec/catalogs/layouts/two-column.json +9 -15
- package/dist/spec/catalogs/layouts/venn-overlap.json +9 -15
- package/dist/spec/catalogs/layouts/waterfall-bridge.json +9 -15
- package/dist/spec/catalogs/layouts/wheel-radial.json +9 -15
- package/dist/spec/catalogs/manifest.json +8 -8
- package/dist/spec/catalogs/narratives/board-meeting.json +45 -45
- package/dist/spec/catalogs/narratives/business-narrative.json +19 -19
- package/dist/spec/catalogs/narratives/business-review.json +27 -27
- package/dist/spec/catalogs/narratives/capacity-planning.json +19 -19
- package/dist/spec/catalogs/narratives/challenge-resolution.json +17 -17
- package/dist/spec/catalogs/narratives/change-story.json +13 -13
- package/dist/spec/catalogs/narratives/classic-story.json +17 -17
- package/dist/spec/catalogs/narratives/company-intro.json +21 -21
- package/dist/spec/catalogs/narratives/conference-talk.json +4 -4
- package/dist/spec/catalogs/narratives/data-story.json +13 -14
- package/dist/spec/catalogs/narratives/early-startup-pitch.json +27 -27
- package/dist/spec/catalogs/narratives/educate.json +21 -21
- package/dist/spec/catalogs/narratives/employee-review.json +19 -19
- package/dist/spec/catalogs/narratives/failure-analysis.json +23 -23
- package/dist/spec/catalogs/narratives/focus.json +27 -27
- package/dist/spec/catalogs/narratives/golden-circle.json +4 -4
- package/dist/spec/catalogs/narratives/heros-journey.json +13 -13
- package/dist/spec/catalogs/narratives/index.json +145 -145
- package/dist/spec/catalogs/narratives/innovation.json +21 -21
- package/dist/spec/catalogs/narratives/justice.json +25 -25
- package/dist/spec/catalogs/narratives/marketing-strategy.json +25 -25
- package/dist/spec/catalogs/narratives/performance-improvement-plan.json +19 -19
- package/dist/spec/catalogs/narratives/performance-review.json +25 -25
- package/dist/spec/catalogs/narratives/persuade.json +17 -17
- package/dist/spec/catalogs/narratives/persuasive-sales.json +19 -19
- package/dist/spec/catalogs/narratives/pitch-deck.json +6 -6
- package/dist/spec/catalogs/narratives/problem-solution.json +5 -5
- package/dist/spec/catalogs/narratives/product-launch.json +23 -23
- package/dist/spec/catalogs/narratives/project-proposal.json +23 -23
- package/dist/spec/catalogs/narratives/pyramid-principle.json +9 -9
- package/dist/spec/catalogs/narratives/qbr.json +8 -8
- package/dist/spec/catalogs/narratives/rags-to-riches.json +17 -17
- package/dist/spec/catalogs/narratives/reveal.json +19 -19
- package/dist/spec/catalogs/narratives/scqa.json +4 -4
- package/dist/spec/catalogs/narratives/situation-complication-resolution.json +11 -11
- package/dist/spec/catalogs/narratives/sparkline.json +11 -11
- package/dist/spec/catalogs/narratives/star-method.json +11 -11
- package/dist/spec/catalogs/narratives/status-update.json +15 -15
- package/dist/spec/catalogs/narratives/strategic-advisory.json +17 -17
- package/dist/spec/catalogs/narratives/strategic-narrative.json +4 -4
- package/dist/spec/catalogs/narratives/survey-analysis.json +23 -23
- package/dist/spec/catalogs/narratives/survival-story.json +23 -23
- package/dist/spec/catalogs/narratives/transformation-arc.json +4 -4
- package/dist/spec/catalogs/narratives/trend-analysis.json +17 -17
- package/dist/spec/catalogs/narratives/underdog-victory.json +19 -19
- package/dist/spec/catalogs/narratives/venture-pitch.json +27 -27
- package/dist/spec/catalogs/narratives/vision-roadmap.json +13 -13
- package/dist/spec/catalogs/narratives/weekly-progress.json +23 -23
- package/dist/spec/catalogs/narratives/what-so-what-now-what.json +9 -9
- package/dist/spec/openapi.yaml +2 -5
- package/dist/spec/reference/engine-defaults.json +2 -2
- package/dist/spec/schemas/audience.schema.json +1 -1
- package/dist/spec/schemas/catalog-index.schema.json +2 -2
- package/dist/spec/schemas/chart-type.schema.json +19 -290
- package/dist/spec/schemas/color-scheme.schema.json +20 -12
- package/dist/spec/schemas/finding.schema.json +191 -0
- package/dist/spec/schemas/font-scheme.schema.json +19 -46
- package/dist/spec/schemas/layout.schema.json +100 -159
- package/dist/spec/schemas/narrative.schema.json +17 -25
- package/dist/spec/schemas/opf.schema.json +286 -340
- package/dist/spec/schemas/social-platform.schema.json +1 -26
- package/dist/spec/schemas/theme.schema.json +4 -1
- package/dist/spec-files.d.ts +1 -1
- package/dist/spec-files.js +1 -1
- package/dist/symbol-font-encodings.js +18448 -1
- package/dist/types.d.ts +4 -4
- package/dist/validation-types-zh03LeZy.d.ts +276 -0
- package/dist/validator.d.ts +60 -4
- package/dist/validator.js +4 -4
- package/dist/yaml.d.ts +87 -0
- package/dist/yaml.js +321 -0
- package/package.json +5 -9
- package/dist/audit.d.ts +0 -35
- package/dist/audit.js +0 -7
- package/dist/chunk-7N4VMAT4.js +0 -1694
- package/dist/chunk-FYLJVF7X.js +0 -18448
- package/dist/chunk-INU7ZNSB.js +0 -670
- package/dist/chunk-IYCJUKWD.js +0 -951
- package/dist/lint-B7azdiuE.d.ts +0 -197
- package/dist/lint.d.ts +0 -7
- package/dist/lint.js +0 -6
- package/dist/spec/catalogs/audiences/customers.json +0 -27
- package/dist/spec/catalogs/audiences/executives.json +0 -27
- package/dist/spec/catalogs/audiences/investors.json +0 -27
- package/dist/spec/catalogs/audiences/marketing-team.json +0 -27
- package/dist/spec/catalogs/audiences/regulators.json +0 -27
- package/dist/spec/catalogs/audiences/sales-team.json +0 -27
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar-2x.json +0 -91
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar-3x.json +0 -103
- package/dist/spec/catalogs/chart-types/100pct-bullet-bar.json +0 -79
- package/dist/spec/catalogs/chart-types/100pct-bullet-column-2x.json +0 -91
- package/dist/spec/catalogs/chart-types/100pct-bullet-column-3x.json +0 -103
- package/dist/spec/catalogs/chart-types/100pct-bullet-column.json +0 -79
- package/dist/spec/catalogs/chart-types/100pct-progress-bar.json +0 -105
- package/dist/spec/catalogs/chart-types/100pct-stacked-area-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/100pct-stacked-area-3x.json +0 -123
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/100pct-stacked-bar-3x.json +0 -100
- package/dist/spec/catalogs/chart-types/100pct-stacked-column-2x.json +0 -95
- package/dist/spec/catalogs/chart-types/100pct-stacked-column-3x.json +0 -108
- package/dist/spec/catalogs/chart-types/australia.json +0 -76
- package/dist/spec/catalogs/chart-types/box-and-whisker-2x.json +0 -136
- package/dist/spec/catalogs/chart-types/box-and-whisker-3x.json +0 -168
- package/dist/spec/catalogs/chart-types/bullet-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/bullet-bar-3x.json +0 -101
- package/dist/spec/catalogs/chart-types/bullet-bar.json +0 -77
- package/dist/spec/catalogs/chart-types/bullet-column-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/bullet-column-3x.json +0 -101
- package/dist/spec/catalogs/chart-types/bullet-column.json +0 -77
- package/dist/spec/catalogs/chart-types/canada.json +0 -86
- package/dist/spec/catalogs/chart-types/clustered-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/clustered-column.json +0 -95
- package/dist/spec/catalogs/chart-types/dot-plot-2x.json +0 -99
- package/dist/spec/catalogs/chart-types/dot-plot-3x.json +0 -124
- package/dist/spec/catalogs/chart-types/dot-plot-4x.json +0 -149
- package/dist/spec/catalogs/chart-types/dot-plot-5x.json +0 -174
- package/dist/spec/catalogs/chart-types/dot-plot-6x.json +0 -199
- package/dist/spec/catalogs/chart-types/dot-plot.json +0 -74
- package/dist/spec/catalogs/chart-types/dumbbell.json +0 -120
- package/dist/spec/catalogs/chart-types/line-2x.json +0 -105
- package/dist/spec/catalogs/chart-types/line-3x.json +0 -127
- package/dist/spec/catalogs/chart-types/line-with-high-low-and-markers.json +0 -144
- package/dist/spec/catalogs/chart-types/line-with-high-low.json +0 -144
- package/dist/spec/catalogs/chart-types/line-with-markers-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/line-with-markers-3x.json +0 -128
- package/dist/spec/catalogs/chart-types/sparkline-2x.json +0 -138
- package/dist/spec/catalogs/chart-types/sparkline-3x.json +0 -174
- package/dist/spec/catalogs/chart-types/sparkline-4x.json +0 -210
- package/dist/spec/catalogs/chart-types/sparkline-5x.json +0 -246
- package/dist/spec/catalogs/chart-types/sparkline-6x.json +0 -282
- package/dist/spec/catalogs/chart-types/sparkline.json +0 -102
- package/dist/spec/catalogs/chart-types/stacked-area-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/stacked-area-3x.json +0 -123
- package/dist/spec/catalogs/chart-types/stacked-bar-2x.json +0 -89
- package/dist/spec/catalogs/chart-types/stacked-bar-3x.json +0 -100
- package/dist/spec/catalogs/chart-types/stacked-column-2x.json +0 -95
- package/dist/spec/catalogs/chart-types/stacked-column-3x.json +0 -108
- package/dist/spec/catalogs/chart-types/stacked-line-2x.json +0 -106
- package/dist/spec/catalogs/chart-types/stacked-line-3x.json +0 -123
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers-2x.json +0 -107
- package/dist/spec/catalogs/chart-types/stacked-line-with-markers-3x.json +0 -124
- package/dist/spec/catalogs/chart-types/treemap-2x.json +0 -101
- package/dist/spec/catalogs/chart-types/treemap-3x.json +0 -122
- package/dist/spec/catalogs/chart-types/united-kingdom.json +0 -68
- package/dist/spec/catalogs/chart-types/united-states.json +0 -82
- package/dist/validator-CIylxoIm.d.ts +0 -172
|
@@ -14,17 +14,17 @@
|
|
|
14
14
|
},
|
|
15
15
|
"name": {
|
|
16
16
|
"type": "string",
|
|
17
|
-
"description": "Display name of the presentation for GUI/TUI lists, library/search indexing, OS-level metadata, and default export filenames. This is deck identity, not slide content. Use slides[].title and slides[].subtitle for text that should appear on presented slides.",
|
|
17
|
+
"description": "Display name of the presentation for GUI/TUI lists, library/search indexing, OS-level metadata, and default export filenames. This is deck identity, not slide content. Use slides[].title and slides[].subtitle for text that should appear on presented slides. Also the built-in variable 'deck.name'.",
|
|
18
18
|
"examples": ["Q4 2026 Business Review", "Series B Pitch — Acme", "The Future of Agentic Workflows"]
|
|
19
19
|
},
|
|
20
20
|
"description": {
|
|
21
21
|
"type": "string",
|
|
22
|
-
"description": "Free-form prose describing what this presentation is about. Used by agents and humans as a deck-level summary; complements purpose (the goal) and narrative (the structured storyline). Round-trips to OOXML 'docProps/core.xml' as '<dc:description>' (PowerPoint surfaces this as the 'Comments' field in File → Properties).",
|
|
22
|
+
"description": "Free-form prose describing what this presentation is about. Used by agents and humans as a deck-level summary; complements purpose (the goal) and narrative (the structured storyline). Round-trips to OOXML 'docProps/core.xml' as '<dc:description>' (PowerPoint surfaces this as the 'Comments' field in File → Properties). Also the built-in variable 'deck.description'.",
|
|
23
23
|
"examples": ["Quarterly business review covering revenue, product, and hiring milestones for the executive team."]
|
|
24
24
|
},
|
|
25
25
|
"filename": {
|
|
26
26
|
"type": "string",
|
|
27
|
-
"description": "Optional base filename for exports (without extension).
|
|
27
|
+
"description": "Optional base filename for exports (without extension). The opf CLI (render, export) and the editor strip a trailing .pptx, .pdf, .png, or .svg (case-insensitive) and append the target format's extension. When omitted, they slugify name; with no usable name the CLI uses the input file name and the editor uses 'presentation'. See /docs/opf for full validation rules.",
|
|
28
28
|
"examples": ["q4-2026-business-review", "acme-series-b-pitch"]
|
|
29
29
|
},
|
|
30
30
|
"organization": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"minItems": 1
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
|
-
"description": "Organization associated with the presentation, usually the presenting company. Array form supports hosts, partners, clients, and sponsors. The primary organization (
|
|
39
|
+
"description": "Organization associated with the presentation, usually the presenting company. Array form supports hosts, partners, clients, and sponsors. The primary organization (Organization.role 'primary', else the first item) supplies the default deck logo, the 'organization' and 'socials' header/footer fields and the 'organization.<field>' built-in variables; the others are available by id as 'organization.<id>.<field>' and are not drawn automatically."
|
|
40
40
|
},
|
|
41
41
|
"speaker": {
|
|
42
42
|
"oneOf": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"minItems": 1
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
|
-
"description": "Person presenting the deck. Array form supports panels and multi-speaker decks.
|
|
50
|
+
"description": "Person presenting the deck. Array form supports panels and multi-speaker decks. The first speaker is the primary speaker: the built-in variables 'speaker.<field>' and the 'speaker' header/footer field read it, 'speakers' lists every name, and 'speaker.<id>.<field>' addresses one by id. A speaker is drawn nowhere else."
|
|
51
51
|
},
|
|
52
52
|
"author": {
|
|
53
53
|
"oneOf": [
|
|
@@ -58,12 +58,13 @@
|
|
|
58
58
|
"minItems": 1
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
|
-
"description": "Optional credit for the person who authored or contributed to the deck, distinct from speaker. Array form supports multiple contributors. Round-trips to OOXML 'docProps/core.xml' as '<dc:creator>' (semicolon-joined when multiple) and seeds '<cp:lastModifiedBy>' on first write; subsequent edits in PowerPoint overwrite '<cp:lastModifiedBy>' with the editing user.",
|
|
61
|
+
"description": "Optional credit for the person who authored or contributed to the deck, distinct from speaker. Array form supports multiple contributors. Round-trips to OOXML 'docProps/core.xml' as '<dc:creator>' (semicolon-joined when multiple) and seeds '<cp:lastModifiedBy>' on first write; subsequent edits in PowerPoint overwrite '<cp:lastModifiedBy>' with the editing user. Also the built-in variable 'deck.author' (an array joined with ', ').",
|
|
62
62
|
"examples": ["Bob Lee", ["Bob Lee", "Carla Diaz"]]
|
|
63
63
|
},
|
|
64
64
|
"audience": {
|
|
65
65
|
"oneOf": [
|
|
66
66
|
{ "type": "string" },
|
|
67
|
+
{ "$ref": "#/$defs/Audience" },
|
|
67
68
|
{
|
|
68
69
|
"type": "array",
|
|
69
70
|
"items": {
|
|
@@ -75,12 +76,13 @@
|
|
|
75
76
|
"minItems": 1
|
|
76
77
|
}
|
|
77
78
|
],
|
|
78
|
-
"description": "Intended audiences for the presentation. Accepts
|
|
79
|
+
"description": "Intended audiences for the presentation. Accepts any of:\n- A single string shorthand: free-form description ('Series B investors'), an audiences catalog id ('executive'), an HTTPS URL, or a 'pkg:' reference.\n- A single inline Audience object, like purpose and tone, for custom audience metadata or catalog-backed overrides. Object form mirrors https://openpresentation.org/schema/opf-audience/v1 without '$schema'.\n- An array of string shorthands and/or inline Audience objects, for more than one audience.\n\nResolution order for catalog ids and references: inline catalogs.audiences.records[] → catalogs.audiences.source → default catalog at https://www.pptx.gallery/audiences.",
|
|
79
80
|
"examples": [
|
|
80
81
|
"executive",
|
|
81
82
|
"Biology Students and Wildlife Enthusiasts",
|
|
82
83
|
["executive"],
|
|
83
84
|
["board", "c-suite"],
|
|
85
|
+
{ "id": "executive", "attentionBudgetMinutes": 20 },
|
|
84
86
|
["Series B investors", "https://acme.com/decks/audiences/acme-board.json"],
|
|
85
87
|
[
|
|
86
88
|
{ "id": "executive", "attentionBudgetMinutes": 20 },
|
|
@@ -164,7 +166,7 @@
|
|
|
164
166
|
"duration": {
|
|
165
167
|
"type": "integer",
|
|
166
168
|
"minimum": 1,
|
|
167
|
-
"description": "Target presentation duration, as an integer number of minutes.
|
|
169
|
+
"description": "Target presentation duration, as an integer number of minutes. The opf-render presenter view counts the elapsed time against it, and core validate warns when it lies outside the resolved narrative's 'duration' range. Agents can also use it to set pace and depth. Nothing else reads it: the preview and the PPTX export draw no duration."
|
|
168
170
|
},
|
|
169
171
|
"tags": {
|
|
170
172
|
"type": "array",
|
|
@@ -178,7 +180,7 @@
|
|
|
178
180
|
},
|
|
179
181
|
"variables": {
|
|
180
182
|
"$ref": "#/$defs/Variables",
|
|
181
|
-
"description": "Optional named variables: deck colors referenced as 'var:<id>' (the original use), and typed content variables (text, number, date, image, url, list) referenced inline as '{{<id>}}' or whole as 'var:<id>'. Variables are what makes a deck a fillable template when combined with 'template': true. Color variables complement the color scheme: scheme slots and roles stay the primary vocabulary; variables cover deck-specific named colors that have no scheme slot."
|
|
183
|
+
"description": "Optional named variables: deck colors referenced as 'var:<id>' (the original use), and typed content variables (text, number, date, image, url, list) referenced inline as '{{<id>}}' or whole as 'var:<id>'. Variables are what makes a deck a fillable template when combined with 'template': true. Color variables complement the color scheme: scheme slots and roles stay the primary vocabulary; variables cover deck-specific named colors that have no scheme slot. Built-in variables ('{{speaker.name}}', 'var:organization.logo', 'deck.name', ...) need no declaration; see Variables."
|
|
182
184
|
},
|
|
183
185
|
"template": {
|
|
184
186
|
"type": "boolean",
|
|
@@ -186,17 +188,13 @@
|
|
|
186
188
|
"default": false
|
|
187
189
|
},
|
|
188
190
|
"narrative": {
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
{ "$ref": "#/$defs/Narrative" }
|
|
192
|
-
],
|
|
193
|
-
"description": "Structured storyline describing the deck's arc and beats. Resolves to the 'id' of a 'narratives' catalog record.\n\nAccepts two forms:\n- String shorthand for the common case: 'narrative = \"classic-story\"'. Accepts a bare id (lowercase kebab-case), an HTTPS URL pointing at a record file, or a 'pkg:' reference to a locally-installed package.\n- Object form for inline overrides or fully custom narratives: 'narrative = { id: \"classic-story\", beats: [...] }'. The object shape mirrors https://openpresentation.org/schema/opf-narrative/v1 (sans '$schema'), so a library record and an inline narrative are interchangeable.\n\nResolution order: inline catalogs.narratives.records[] → catalogs.narratives.source → default catalog at https://www.pptx.gallery/narratives. Unknown ids produce a validation warning, not an error.\n\nDeck-level concerns that aren't part of the storyline (audience, tone, takeaway, duration) live as siblings on the presentation root rather than inside the narrative object.",
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "The deck's narrative plan, by reference: the 'id' of a 'narratives' catalog record, an HTTPS URL pointing at a record file, or a 'pkg:' reference to a locally-installed package. The deck holds only this pointer; the plan (the arc, its beats and what each beat must do) lives in the catalog record, which validates against https://openpresentation.org/schema/opf-narrative/v1. A custom narrative is a record in catalogs.narratives.records, referenced here by its id.\n\nSlides link themselves to beats with slides[].beat. Core validate warns about a slides[].beat id the resolved narrative does not define and about a root 'duration' outside its 'duration' range, and reports a beat that no slide references. The preview and the PPTX export draw nothing from the narrative; opf-pptx stores the reference for round-trip.\n\nResolution order: inline catalogs.narratives.records[] → catalogs.narratives.source → default catalog at https://www.pptx.gallery/narratives. Unknown ids produce a validation warning, not an error.\n\nDeck-level concerns that are not part of the storyline (audience, tone, takeaway, duration) live as siblings on the presentation root.",
|
|
194
193
|
"examples": [
|
|
195
194
|
"classic-story",
|
|
196
195
|
"problem-solution",
|
|
197
196
|
"scqa",
|
|
198
197
|
"pitch-deck",
|
|
199
|
-
{ "id": "custom-pitch", "name": "Custom Pitch", "beats": [{ "id": "hook", "name": "Hook" }, { "id": "ask", "name": "Ask" }] },
|
|
200
198
|
"https://acme.com/decks/narratives/founder-pitch.json",
|
|
201
199
|
"pkg:@acme/decks/narratives/founder-pitch"
|
|
202
200
|
]
|
|
@@ -210,12 +208,12 @@
|
|
|
210
208
|
"references": {
|
|
211
209
|
"type": "array",
|
|
212
210
|
"items": { "$ref": "#/$defs/Reference" },
|
|
213
|
-
"description": "Sources that text runs cite with 'cite'. Ids are unique. A cited reference is listed in the footnote area of every slide that cites it, with a marker number assigned per deck in order of first use; a reference no run cites is
|
|
211
|
+
"description": "Sources that text runs cite with 'cite'. Ids are unique. A cited reference is listed in the footnote area of every slide that cites it, with a marker number assigned per deck in order of first use; a reference no run cites is the warning opf/unused-reference. referencesSlide() turns the cited references into an ordinary list slide.",
|
|
214
212
|
"examples": [[{ "id": "gartner-2026", "text": "Gartner, Market Guide for Presentation Tooling, 2026", "url": "https://www.gartner.com" }]]
|
|
215
213
|
},
|
|
216
214
|
"datasets": {
|
|
217
215
|
"$ref": "#/$defs/Datasets",
|
|
218
|
-
"description": "Optional shared data tables, keyed by id. A chart ('chart.data': { \"dataset\": \"<id>\" }) or a table ('table': { \"dataset\": \"<id>\" }) references one instead of holding its own copy; engines inline the reference before composing, rendering or exporting. A dataset nothing references is
|
|
216
|
+
"description": "Optional shared data tables, keyed by id. A chart ('chart.data': { \"dataset\": \"<id>\" }) or a table ('table': { \"dataset\": \"<id>\" }) references one instead of holding its own copy; engines inline the reference before composing, rendering or exporting. A dataset nothing references is the warning opf/unused-dataset. See docs/chart-table-data.md."
|
|
219
217
|
},
|
|
220
218
|
"assets": {
|
|
221
219
|
"$ref": "#/$defs/Assets",
|
|
@@ -242,12 +240,12 @@
|
|
|
242
240
|
{
|
|
243
241
|
"acme-logo": "./assets/acme-logo.svg",
|
|
244
242
|
"watermark": { "src": "./assets/watermark.png", "alt": "Acme watermark" },
|
|
245
|
-
"revenue": { "src": "./data/revenue.csv", "
|
|
243
|
+
"revenue": { "src": "./data/revenue.csv", "mediaType": "text/csv" }
|
|
246
244
|
}
|
|
247
245
|
]
|
|
248
246
|
},
|
|
249
247
|
"Asset": {
|
|
250
|
-
"description": "Reusable or inline resource. A string is shorthand for { \"src\": value }. Source strings accept 'asset:<id>' references, HTTPS URLs, data URIs, relative paths resolved against the OPF file location, or local filesystem paths. Use object form when metadata such as alt text, title
|
|
248
|
+
"description": "Reusable or inline resource. A string is shorthand for { \"src\": value }. Source strings accept 'asset:<id>' references, HTTPS URLs, data URIs, relative paths resolved against the OPF file location, or local filesystem paths. Use object form when metadata such as alt text, title or mediaType matters.",
|
|
251
249
|
"oneOf": [
|
|
252
250
|
{
|
|
253
251
|
"type": "string",
|
|
@@ -279,11 +277,6 @@
|
|
|
279
277
|
"type": "string",
|
|
280
278
|
"description": "Optional MIME media type when it cannot be inferred from src.",
|
|
281
279
|
"examples": ["image/svg+xml", "image/png", "text/csv", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]
|
|
282
|
-
},
|
|
283
|
-
"format": {
|
|
284
|
-
"type": "string",
|
|
285
|
-
"description": "Optional authoring/parsing format hint. Useful when format is more convenient than a full MIME media type.",
|
|
286
|
-
"examples": ["csv", "tsv", "json", "xlsx", "svg", "png", "jpg", "webp"]
|
|
287
280
|
}
|
|
288
281
|
}
|
|
289
282
|
}
|
|
@@ -526,28 +519,28 @@
|
|
|
526
519
|
},
|
|
527
520
|
"Organization": {
|
|
528
521
|
"type": "object",
|
|
529
|
-
"description": "An organization associated with the presentation
|
|
522
|
+
"description": "An organization associated with the presentation, typically the presenting company, but also hosts, partners, clients, or sponsors. The primary organization (role 'primary', else the first one) supplies the default deck logo (unless design.logo overrides it), the 'organization' header/footer field (its name) and the 'socials' field (its socials). Every field is also a built-in variable ('{{organization.name}}', 'var:organization.logo', 'organization.<id>.<field>'). Nothing else about an organization is drawn automatically. See docs/templates-and-variables.md.",
|
|
530
523
|
"required": ["id", "name"],
|
|
531
524
|
"properties": {
|
|
532
525
|
"id": {
|
|
533
526
|
"type": "string",
|
|
534
527
|
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
535
|
-
"description": "Stable identifier for the organization, used to reference it from Speaker.organizationId. Must be unique
|
|
528
|
+
"description": "Stable identifier for the organization, used to reference it from Speaker.organizationId and to address it in built-in variables as 'organization.<id>.<field>'. Must be unique among organizations (a duplicate is a validation error).",
|
|
536
529
|
"examples": ["acme", "acme-corp", "devconf-2026"]
|
|
537
530
|
},
|
|
538
531
|
"name": {
|
|
539
532
|
"type": "string",
|
|
540
|
-
"description": "Display name
|
|
533
|
+
"description": "Display name. Drawn by the 'organization' header/footer field for the primary organization; the built-in variable 'organization.name' (or 'organization.<id>.name') carries it into any string.",
|
|
541
534
|
"examples": ["Acme Corp", "DevConf 2026", "Beta Industries"]
|
|
542
535
|
},
|
|
543
536
|
"legalName": {
|
|
544
537
|
"type": "string",
|
|
545
|
-
"description": "Optional legal entity name when it differs from the display name.",
|
|
538
|
+
"description": "Optional legal entity name when it differs from the display name. Never drawn automatically; available as the built-in variable 'organization.legalName'.",
|
|
546
539
|
"examples": ["Acme Corporation, Inc.", "Beta Industries, LLC"]
|
|
547
540
|
},
|
|
548
541
|
"logo": {
|
|
549
542
|
"$ref": "#/$defs/Asset",
|
|
550
|
-
"description": "Source for the organization's logo image. Accepts an HTTPS URL, data URI, relative path (resolved against the OPF file location), local path, or 'asset:<id>' reference. Common formats are SVG (preferred for vector logos), PNG (with transparency), or JPG. The primary organization's logo (role 'primary', else the first organization) is the fallback source wherever the deck logo is drawn: a slide's design.logo, then design.logo, then this value. It is therefore drawn on cover and section slides and by header/footer zones with logo: true, exactly as design.logo would be (see design.logo and docs/design-resolution.md).",
|
|
543
|
+
"description": "Source for the organization's logo image. Accepts an HTTPS URL, data URI, relative path (resolved against the OPF file location), local path, or 'asset:<id>' reference. Common formats are SVG (preferred for vector logos), PNG (with transparency), or JPG. The primary organization's logo (role 'primary', else the first organization) is the fallback source wherever the deck logo is drawn: a slide's design.logo, then design.logo, then this value. It is therefore drawn on cover and section slides and by header/footer zones with logo: true, exactly as design.logo would be (see design.logo and docs/design-resolution.md). It is also the built-in image variable 'organization.logo' (or 'organization.<id>.logo'), placed with 'var:organization.logo' in an image field.",
|
|
551
544
|
"examples": [
|
|
552
545
|
"https://cdn.acme.com/logo.svg",
|
|
553
546
|
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAusB9V3iWggAAAAASUVORK5CYII=",
|
|
@@ -557,29 +550,29 @@
|
|
|
557
550
|
},
|
|
558
551
|
"domain": {
|
|
559
552
|
"type": "string",
|
|
560
|
-
"description": "Bare internet domain for the organization.
|
|
553
|
+
"description": "Bare internet domain for the organization. Never drawn automatically and not used to look up assets; available as the built-in variable 'organization.domain'.",
|
|
561
554
|
"examples": ["acme.com", "beta-industries.io", "devconf.org"]
|
|
562
555
|
},
|
|
563
556
|
"email": {
|
|
564
557
|
"type": "string",
|
|
565
558
|
"format": "email",
|
|
566
|
-
"description": "General contact email for the organization.
|
|
559
|
+
"description": "General contact email for the organization. Never drawn automatically; available as the built-in variable 'organization.email'.",
|
|
567
560
|
"examples": ["hello@acme.com", "sales@acme.com", "info@beta-industries.io"]
|
|
568
561
|
},
|
|
569
562
|
"phone": {
|
|
570
563
|
"type": "string",
|
|
571
|
-
"description": "Main contact phone number for the organization. E.164 format is recommended.",
|
|
564
|
+
"description": "Main contact phone number for the organization. E.164 format is recommended. Never drawn automatically; available as the built-in variable 'organization.phone'.",
|
|
572
565
|
"examples": ["+14155551234", "+442071838750"]
|
|
573
566
|
},
|
|
574
567
|
"tagline": {
|
|
575
568
|
"type": "string",
|
|
576
|
-
"description": "Short tagline
|
|
569
|
+
"description": "Short tagline. Never drawn automatically (cover slides do not show it); available as the built-in variable 'organization.tagline', for example in a footer 'text' of '{{organization.tagline}}'.",
|
|
577
570
|
"examples": ["Build the future of work", "Infrastructure for AI agents", "Where teams ship faster"]
|
|
578
571
|
},
|
|
579
572
|
"role": {
|
|
580
573
|
"type": "string",
|
|
581
574
|
"enum": ["primary", "partner", "client", "sponsor", "host"],
|
|
582
|
-
"description": "Role of the organization relative to the presentation.
|
|
575
|
+
"description": "Role of the organization relative to the presentation. Only 'primary' has behavior: it selects the primary organization (deck logo, 'organization' and 'socials' header/footer fields, and the 'organization.<field>' built-ins). When no organization has role 'primary', the first one is primary. 'partner', 'client', 'sponsor' and 'host' are descriptive labels that change nothing."
|
|
583
576
|
},
|
|
584
577
|
"socials": {
|
|
585
578
|
"$ref": "#/$defs/Socials",
|
|
@@ -589,28 +582,28 @@
|
|
|
589
582
|
},
|
|
590
583
|
"Speaker": {
|
|
591
584
|
"type": "object",
|
|
592
|
-
"description": "A person presenting the deck.
|
|
585
|
+
"description": "A person presenting the deck. A speaker is drawn only through built-in variables ('{{speaker.name}}' inside any string, 'var:speaker.photo' as a whole image field) and the 'speaker' header/footer field (the first speaker's name and title). No layout, cover or bio slide places a speaker on its own. See docs/templates-and-variables.md.",
|
|
593
586
|
"required": ["id", "name"],
|
|
594
587
|
"properties": {
|
|
595
588
|
"id": {
|
|
596
589
|
"type": "string",
|
|
597
590
|
"pattern": "^[a-zA-Z0-9_-]+$",
|
|
598
|
-
"description": "Stable identifier for the speaker
|
|
591
|
+
"description": "Stable identifier for the speaker. Must be unique among speakers (a duplicate is a validation error). Addresses this speaker in built-in variables as 'speaker.<id>.<field>', such as '{{speaker.alice.title}}'.",
|
|
599
592
|
"examples": ["alice", "alice-chen", "speaker-1"]
|
|
600
593
|
},
|
|
601
594
|
"name": {
|
|
602
595
|
"type": "string",
|
|
603
|
-
"description": "Display name.",
|
|
596
|
+
"description": "Display name. Built-in variable 'speaker.name' (first speaker) or 'speaker.<id>.name'; the first speaker's name is also drawn by the 'speaker' header/footer field and every name is listed by 'speakers'.",
|
|
604
597
|
"examples": ["Alice Chen", "Bob Lee", "Dr. Carla Diaz"]
|
|
605
598
|
},
|
|
606
599
|
"title": {
|
|
607
600
|
"type": "string",
|
|
608
|
-
"description": "Role or title.
|
|
601
|
+
"description": "Role or title. Built-in variable 'speaker.title'; the 'speaker' header/footer field draws it after the name ('Alice Chen, VP of Engineering').",
|
|
609
602
|
"examples": ["VP of Engineering", "Founder & CEO", "Chief Product Officer", "Senior Staff Engineer"]
|
|
610
603
|
},
|
|
611
604
|
"photo": {
|
|
612
605
|
"$ref": "#/$defs/Asset",
|
|
613
|
-
"description": "Source for the speaker's headshot image. Accepts an HTTPS URL, data URI, relative path (resolved against the OPF file location), local path, or 'asset:<id>' reference. Common formats are JPG or PNG; SVG is not appropriate for photographic content.
|
|
606
|
+
"description": "Source for the speaker's headshot image. Accepts an HTTPS URL, data URI, relative path (resolved against the OPF file location), local path, or 'asset:<id>' reference. Common formats are JPG or PNG; SVG is not appropriate for photographic content. Never drawn automatically: it is the built-in image variable 'speaker.photo' (or 'speaker.<id>.photo'), placed with 'var:speaker.photo' in a slide's image field. It also round-trips through PPTX provenance.",
|
|
614
607
|
"examples": [
|
|
615
608
|
"https://cdn.acme.com/headshots/alice.jpg",
|
|
616
609
|
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAABAAEDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAr/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AJ//2Q==",
|
|
@@ -621,29 +614,29 @@
|
|
|
621
614
|
"email": {
|
|
622
615
|
"type": "string",
|
|
623
616
|
"format": "email",
|
|
624
|
-
"description": "Contact email
|
|
617
|
+
"description": "Contact email. Never drawn automatically; available as the built-in variable 'speaker.email'.",
|
|
625
618
|
"examples": ["alice@acme.com", "alice.chen@acme.com"]
|
|
626
619
|
},
|
|
627
620
|
"phone": {
|
|
628
621
|
"type": "string",
|
|
629
|
-
"description": "Contact phone number for the speaker. E.164 format is recommended.",
|
|
622
|
+
"description": "Contact phone number for the speaker. E.164 format is recommended. Never drawn automatically; available as the built-in variable 'speaker.phone'.",
|
|
630
623
|
"examples": ["+14155551234", "+442071838750"]
|
|
631
624
|
},
|
|
632
625
|
"bio": {
|
|
633
626
|
"type": "string",
|
|
634
|
-
"description": "Short biographical paragraph for bio or 'about the speaker'
|
|
627
|
+
"description": "Short biographical paragraph. Never drawn automatically; available as the built-in variable 'speaker.bio', for a bio or 'about the speaker' slide you write.",
|
|
635
628
|
"examples": [
|
|
636
629
|
"Alice leads engineering at Acme, where she's spent the last six years scaling distributed systems from prototype to billions of requests per day. Previously, she was a staff engineer at Google."
|
|
637
630
|
]
|
|
638
631
|
},
|
|
639
632
|
"organizationId": {
|
|
640
633
|
"type": "string",
|
|
641
|
-
"description": "Reference to an Organization.id in organization
|
|
634
|
+
"description": "Reference to an Organization.id in organization; it must name an existing organization (a validation error otherwise). Attribution metadata for hosts: no engine draws it or changes which organization is primary because of it.",
|
|
642
635
|
"examples": ["acme", "beta", "devconf-2026"]
|
|
643
636
|
},
|
|
644
637
|
"socials": {
|
|
645
638
|
"$ref": "#/$defs/Socials",
|
|
646
|
-
"description": "Optional social media handles or URLs for the speaker. Authoring metadata: no header/footer field
|
|
639
|
+
"description": "Optional social media handles or URLs for the speaker. Authoring metadata only: nothing draws speaker socials and there is no built-in variable for them (the 'socials' header/footer field draws the primary organization's socials)."
|
|
647
640
|
}
|
|
648
641
|
}
|
|
649
642
|
},
|
|
@@ -671,137 +664,6 @@
|
|
|
671
664
|
"description": "Platform id (lowercase kebab-case). Common ids include 'linkedin', 'x', 'github', 'youtube', 'instagram', 'facebook', 'tiktok', 'threads', 'mastodon', 'bluesky'."
|
|
672
665
|
}
|
|
673
666
|
},
|
|
674
|
-
"Narrative": {
|
|
675
|
-
"type": "object",
|
|
676
|
-
"description": "Structured storyline used by AI to shape generated content. Mirrors the OPF Narrative Template record at https://openpresentation.org/schema/opf-narrative/v1 (sans '$schema'), so a library record and an inline narrative are interchangeable.\n\nNarrative declares the deck's intended story arc; slides may opt into beats via Slide.beat. The narrative does not constrain slide structure — validators warn on drift (orphan slides, unused beats) but never error. Slides are the source of truth; narrative is intent that travels with the deck.\n\nWhen 'id' matches a record in the resolved 'narratives' catalog, the inline fields override matching fields on the catalog record (beats merge by beat 'id'). When 'id' doesn't match, this object defines a fully custom inline narrative.\n\nDeck-level concerns that aren't part of the storyline (audience, tone, takeaway, duration) live as siblings on the presentation root rather than inside this object.",
|
|
677
|
-
"properties": {
|
|
678
|
-
"id": {
|
|
679
|
-
"type": "string",
|
|
680
|
-
"pattern": "^[a-z][a-z0-9-]*$",
|
|
681
|
-
"description": "Stable slug identifying this narrative. When it matches a record in the resolved 'narratives' catalog, the catalog record's beats and metadata seed this narrative; inline fields override per-key. When it doesn't match, this is a fully custom inline narrative. Lowercase kebab-case.",
|
|
682
|
-
"examples": ["classic-story", "problem-solution", "scqa", "pitch-deck", "qbr", "weekly-progress", "custom-pitch"]
|
|
683
|
-
},
|
|
684
|
-
"name": {
|
|
685
|
-
"type": "string",
|
|
686
|
-
"description": "Human-readable narrative name.",
|
|
687
|
-
"examples": ["Classic Story", "Problem → Solution", "SCQA", "Founder Pitch"]
|
|
688
|
-
},
|
|
689
|
-
"summary": {
|
|
690
|
-
"type": "string",
|
|
691
|
-
"description": "One-sentence description of when and why to use this narrative."
|
|
692
|
-
},
|
|
693
|
-
"description": {
|
|
694
|
-
"type": "string",
|
|
695
|
-
"description": "Longer prose describing the narrative arc and ideal use cases. Used by AI-driven generation to seed deck-level direction.",
|
|
696
|
-
"examples": [
|
|
697
|
-
"Open with the cost of slow agentic workflows, contrast with what becomes possible at sub-second latency, then walk through our architecture and benchmark results, ending with a concrete adoption ask."
|
|
698
|
-
]
|
|
699
|
-
},
|
|
700
|
-
"audienceFit": {
|
|
701
|
-
"type": "array",
|
|
702
|
-
"items": { "type": "string" },
|
|
703
|
-
"description": "Audiences this narrative works well for. Free-form strings or 'audiences' catalog ids.",
|
|
704
|
-
"examples": [["executive", "investor", "customer"]]
|
|
705
|
-
},
|
|
706
|
-
"durationRange": {
|
|
707
|
-
"type": "object",
|
|
708
|
-
"description": "Typical talk-length window this narrative suits. Compared by validators against duration.",
|
|
709
|
-
"properties": {
|
|
710
|
-
"minMinutes": {
|
|
711
|
-
"type": "number",
|
|
712
|
-
"exclusiveMinimum": 0
|
|
713
|
-
},
|
|
714
|
-
"maxMinutes": {
|
|
715
|
-
"type": "number",
|
|
716
|
-
"exclusiveMinimum": 0
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
},
|
|
720
|
-
"tags": {
|
|
721
|
-
"type": "array",
|
|
722
|
-
"items": { "type": "string" },
|
|
723
|
-
"description": "Free-form labels for filtering and search.",
|
|
724
|
-
"examples": [["business", "pitch", "internal"]]
|
|
725
|
-
},
|
|
726
|
-
"preview": {
|
|
727
|
-
"type": "object",
|
|
728
|
-
"description": "Visual previews of the narrative, used by picker UIs and inline rendering. All sub-fields are optional.",
|
|
729
|
-
"properties": {
|
|
730
|
-
"src": {
|
|
731
|
-
"type": "string",
|
|
732
|
-
"format": "uri",
|
|
733
|
-
"description": "Main preview image (PNG/JPG)."
|
|
734
|
-
},
|
|
735
|
-
"thumbnailSrc": {
|
|
736
|
-
"type": "string",
|
|
737
|
-
"format": "uri",
|
|
738
|
-
"description": "Smaller thumbnail preview for dense grid views."
|
|
739
|
-
},
|
|
740
|
-
"vectorSrc": {
|
|
741
|
-
"type": "string",
|
|
742
|
-
"format": "uri",
|
|
743
|
-
"description": "SVG / vector preview for crisp scaling at any size."
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
"beats": {
|
|
748
|
-
"type": "array",
|
|
749
|
-
"items": { "$ref": "#/$defs/NarrativeBeat" },
|
|
750
|
-
"description": "Ordered list of beats that make up the narrative arc. When 'id' matches a catalog record, beats here override or extend matching catalog beats by their own 'id'. Beat IDs must be unique within the narrative."
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
},
|
|
754
|
-
"NarrativeBeat": {
|
|
755
|
-
"type": "object",
|
|
756
|
-
"description": "A single narrative beat — a labeled segment of the story arc with a specific dramatic purpose (e.g. 'hook', 'problem', 'evidence', 'ask'). Slides reference beats via Slide.beat. Beats may also carry slide-blueprint hints (slideType, layoutHint, thoughtCues, instructions) that guide the assigned slide.\n\nMirrors the Beat definition in narrative.schema.json (https://openpresentation.org/schema/opf-narrative/v1) so library entries and inline OPF beats are interchangeable.",
|
|
757
|
-
"required": ["id", "name"],
|
|
758
|
-
"properties": {
|
|
759
|
-
"id": {
|
|
760
|
-
"type": "string",
|
|
761
|
-
"pattern": "^[a-z][a-z0-9-]*$",
|
|
762
|
-
"description": "Stable slug used by Slide.beat to reference this beat. Lowercase kebab-case.",
|
|
763
|
-
"examples": ["hook", "problem", "evidence", "ask", "next-steps"]
|
|
764
|
-
},
|
|
765
|
-
"name": {
|
|
766
|
-
"type": "string",
|
|
767
|
-
"description": "Human-readable beat name.",
|
|
768
|
-
"examples": ["The Hook", "The Problem", "Why Now", "The Ask"]
|
|
769
|
-
},
|
|
770
|
-
"description": {
|
|
771
|
-
"type": "string",
|
|
772
|
-
"description": "Curator-written prose that explains what this beat should accomplish.",
|
|
773
|
-
"examples": [
|
|
774
|
-
"Quantify the pain customers feel today, with one striking stat the audience can repeat afterward."
|
|
775
|
-
]
|
|
776
|
-
},
|
|
777
|
-
"instructions": {
|
|
778
|
-
"type": "string",
|
|
779
|
-
"description": "Short author-facing instruction for the beat — typically one phrase. Complements 'description' with a concise directive.",
|
|
780
|
-
"examples": ["Capture audience attention", "Introduce problem", "Detail implementation", "Inspire & conclude"]
|
|
781
|
-
},
|
|
782
|
-
"slideCount": {
|
|
783
|
-
"type": "integer",
|
|
784
|
-
"minimum": 1,
|
|
785
|
-
"description": "Optional explicit slide count for this beat. Defaults to 1 when omitted; values >1 are reserved for beats that intentionally span multiple slides. Prefer decomposing a heavy beat into multiple beats over setting a high slideCount. The validator emits a warning if the deck's actual count differs significantly."
|
|
786
|
-
},
|
|
787
|
-
"slideType": {
|
|
788
|
-
"type": "string",
|
|
789
|
-
"enum": ["text", "list", "image", "chart", "table", "video", "code", "metric", "quote", "timeline"],
|
|
790
|
-
"description": "Default content kind for the beat's slide. Mirrors ContentPayload.type and helps engines choose a sensible layout when only the beat is specified."
|
|
791
|
-
},
|
|
792
|
-
"layoutHint": {
|
|
793
|
-
"type": "string",
|
|
794
|
-
"description": "Suggested layout id for the beat's opening slide. Resolves the same way as Slide.layout — against catalogs.layouts and the default catalog at https://www.pptx.gallery/layouts.",
|
|
795
|
-
"examples": ["section-divider", "title-slide", "title-left", "two-column", "text-left"]
|
|
796
|
-
},
|
|
797
|
-
"thoughtCues": {
|
|
798
|
-
"type": "array",
|
|
799
|
-
"items": { "type": "string" },
|
|
800
|
-
"description": "Optional speaker or thinking cues attached to the beat. Surfaced in presenter notes.",
|
|
801
|
-
"examples": [["What pain is the audience feeling right now?", "Why hasn't anyone solved this yet?"]]
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
},
|
|
805
667
|
"Design": {
|
|
806
668
|
"type": "object",
|
|
807
669
|
"description": "Visual design system applied to the presentation; individual slides may override fields via Slide.design.",
|
|
@@ -846,7 +708,7 @@
|
|
|
846
708
|
"examples": [
|
|
847
709
|
"aptos",
|
|
848
710
|
"tenorite",
|
|
849
|
-
{ "id": "aptos", "heading":
|
|
711
|
+
{ "id": "aptos", "heading": "Inter" }
|
|
850
712
|
]
|
|
851
713
|
},
|
|
852
714
|
"dimensions": {
|
|
@@ -882,8 +744,8 @@
|
|
|
882
744
|
{ "$ref": "#/$defs/Asset" },
|
|
883
745
|
{ "$ref": "#/$defs/Watermark" }
|
|
884
746
|
],
|
|
885
|
-
"description": "Optional decorative watermark applied across slides. Use false to suppress an inherited watermark in slide-level design; a string is
|
|
886
|
-
"examples": [false, "asset:watermark", { "src": "asset:watermark", "opacity": 0.08 }]
|
|
747
|
+
"description": "Optional decorative watermark applied across slides: an image or a text stamp, in the fixed frame and at the opacity described on Watermark. Use false to suppress an inherited watermark in slide-level design; a string or Asset is the image at opacity 0.08.",
|
|
748
|
+
"examples": [false, "asset:watermark", { "src": "asset:watermark", "opacity": 0.08 }, { "text": "DRAFT", "opacity": 0.1 }]
|
|
887
749
|
},
|
|
888
750
|
"header": {
|
|
889
751
|
"oneOf": [
|
|
@@ -907,16 +769,16 @@
|
|
|
907
769
|
"titleAlignment": {
|
|
908
770
|
"type": "string",
|
|
909
771
|
"enum": ["left", "center", "right"],
|
|
910
|
-
"description": "Default horizontal alignment for title placeholders in resolved layouts."
|
|
772
|
+
"description": "Default horizontal alignment for title placeholders in resolved layouts. Effective value: the slide's design, then the deck's design, then the layout record's design.titleAlignment, then the engine default."
|
|
911
773
|
},
|
|
912
774
|
"contentAlignment": {
|
|
913
775
|
"type": "string",
|
|
914
776
|
"enum": ["left", "center", "right"],
|
|
915
|
-
"description": "Default horizontal alignment for body/content regions in resolved layouts."
|
|
777
|
+
"description": "Default horizontal alignment for body/content regions in resolved layouts. Effective value: the slide's design, then the deck's design, then the layout record's design.contentAlignment, then the engine default. A cover's tag and subtitle follow titleAlignment unless the slide's own design sets contentAlignment."
|
|
916
778
|
},
|
|
917
779
|
"contentBox": {
|
|
918
780
|
"type": "boolean",
|
|
919
|
-
"description": "Whether body/content regions are rendered inside a visible card or surface."
|
|
781
|
+
"description": "Whether body/content regions are rendered inside a visible card or surface. Effective value: the slide's design, then the deck's design, then the layout record's design.contentBox, then the engine default."
|
|
920
782
|
},
|
|
921
783
|
"slideImage": {
|
|
922
784
|
"oneOf": [
|
|
@@ -1018,27 +880,27 @@
|
|
|
1018
880
|
}
|
|
1019
881
|
}
|
|
1020
882
|
],
|
|
1021
|
-
"description": "Optional slide-level image, separate from content images. It applies to a slide that sets its own design.slideImage, and to slides whose layout
|
|
883
|
+
"description": "Optional slide-level image, separate from content images. It applies to a slide that sets its own design.slideImage, and to slides whose layout record sets design.slideImage or whose root image is the same source as a deck-level value. A root image with the same source becomes the slide image instead of a content item. Blur, shadows, soft edges, background removal and device artwork are not part of the treatment vocabulary; see docs/image-treatments.md."
|
|
1022
884
|
},
|
|
1023
885
|
"contentDirection": {
|
|
1024
886
|
"type": "string",
|
|
1025
887
|
"enum": ["horizontal", "vertical"],
|
|
1026
|
-
"description": "Axis along which parallel body content is arranged. Sets the root arrangement mode of blocks and root payloads when no composition.mode is set on the slide or on its layout record: 'vertical' is column, 'horizontal' is row. Precedence: composition.mode (the slide's own, else the layout record's geometry contract), then
|
|
888
|
+
"description": "Axis along which parallel body content is arranged. Sets the root arrangement mode of blocks and root payloads when no composition.mode is set on the slide or on its layout record: 'vertical' is column, 'horizontal' is row. Precedence: composition.mode (the slide's own, else the layout record's geometry contract), then the effective value (slide design, then deck design, then the layout record's design.contentDirection), then automatic selection. A layout that carries a composition.mode keeps its grid or direction whatever this value says. Promoted regions (left, top:left, ...) keep their explicit geometry and nested groups keep their own composition."
|
|
1027
889
|
},
|
|
1028
890
|
"chartPrimary": {
|
|
1029
891
|
"type": "string",
|
|
1030
892
|
"enum": ["none", "top", "bottom", "left", "right"],
|
|
1031
|
-
"description": "Where the primary chart sits relative to supporting content. Effective value: slide design, then deck design, then the layout record's
|
|
893
|
+
"description": "Where the primary chart sits relative to supporting content. Effective value: slide design, then deck design, then the layout record's design.chartPrimary. When the slide has no promoted regions and no composition.mode of its own, and its root nodes mix at least one chart with other content, the first chart becomes a primary track and the other nodes form one synthetic sub-grid: 'left'/'right' is a two-track row and 'top'/'bottom' a two-track column, weighted 3:2 in favor of the chart; explicit root columns and weights are ignored while it applies. 'none' (the default) keeps the ordinary automatic grid with equal weight."
|
|
1032
894
|
},
|
|
1033
895
|
"imageFill": {
|
|
1034
896
|
"type": "string",
|
|
1035
897
|
"enum": ["crop", "fit"],
|
|
1036
|
-
"description": "How
|
|
898
|
+
"description": "How images fill their allocated region: crop covers the region, fit shows the whole image. Effective value: the slide's design, then the deck's design, then the layout record's design.imageFill, then the engine default."
|
|
1037
899
|
},
|
|
1038
900
|
"listBullet": {
|
|
1039
901
|
"type": "string",
|
|
1040
902
|
"enum": ["character", "image"],
|
|
1041
|
-
"description": "Marker style for items and bullets lists. 'character' (the default) draws the glyph marker. 'image' draws the deck's icon logo (a slide's design.logo, then design.logo, then the primary organization's logo; light variants on dark backgrounds) as a picture bullet: a square of the marker's font size whose bottom sits on the marker baseline, so list geometry does not change. Without a logo the glyph is drawn and the engine reports unresolved-content at this field."
|
|
903
|
+
"description": "Marker style for items and bullets lists. Effective value: the slide's design, then the deck's design, then the layout record's design.listBullet, then 'character'. 'character' (the default) draws the glyph marker. 'image' draws the deck's icon logo (a slide's design.logo, then design.logo, then the primary organization's logo; light variants on dark backgrounds) as a picture bullet: a square of the marker's font size whose bottom sits on the marker baseline, so list geometry does not change. Without a logo the glyph is drawn and the engine reports unresolved-content at this field."
|
|
1042
904
|
}
|
|
1043
905
|
}
|
|
1044
906
|
},
|
|
@@ -1078,7 +940,7 @@
|
|
|
1078
940
|
{ "$ref": "#/$defs/FontScheme" }
|
|
1079
941
|
],
|
|
1080
942
|
"description": "Default font scheme for this theme. A string resolves against catalogs.fontSchemes; an object may provide an 'id' base reference plus overrides.",
|
|
1081
|
-
"examples": ["aptos", { "id": "aptos", "heading":
|
|
943
|
+
"examples": ["aptos", { "id": "aptos", "heading": "Inter" }]
|
|
1082
944
|
},
|
|
1083
945
|
"background": {
|
|
1084
946
|
"oneOf": [
|
|
@@ -1105,7 +967,7 @@
|
|
|
1105
967
|
},
|
|
1106
968
|
"ColorScheme": {
|
|
1107
969
|
"type": "object",
|
|
1108
|
-
"description": "Color palette used by the design system. The slot fields (accent1-accent6, dark1, dark2, light1, light2, hyperlink, followedHyperlink) mirror color-scheme.schema.json (https://openpresentation.org/schema/opf-color-scheme/v1) so library records and inline OPF overrides are interchangeable on those fields.\n\nTwo parallel models are supported and may be mixed:\n- OOXML slots - the 12-slot PowerPoint theme model that round-trips directly to OOXML. Use these for full control over the palette as PowerPoint sees it.\n- Abstract roles (primary, secondary, accent, background, surface, text, textSecondary
|
|
970
|
+
"description": "Color palette used by the design system. Every slot and role is a hex color ('#RGB', '#RRGGBB' or '#RRGGBBAA'); a color-scheme name or a 'var:<id>' reference is not valid here, because those resolve through the scheme. The slot fields (accent1-accent6, dark1, dark2, light1, light2, hyperlink, followedHyperlink) mirror color-scheme.schema.json (https://openpresentation.org/schema/opf-color-scheme/v1) so library records and inline OPF overrides are interchangeable on those fields.\n\nTwo parallel models are supported and may be mixed:\n- OOXML slots - the 12-slot PowerPoint theme model that round-trips directly to OOXML. Use these for full control over the palette as PowerPoint sees it.\n- Abstract roles (primary, secondary, accent, background, surface, text, textSecondary) - OPF-specific semantic aliases the engine maps onto the OOXML slots. Convenient for inline overrides without thinking in slot numbers; not part of the catalog record schema.\n\nIn design.colorScheme, 'id' resolves a colorSchemes catalog record as the base; slot and role overrides on the same object take precedence over the resolved scheme. The string shorthand on design.colorScheme is equivalent to setting only 'id'.",
|
|
1109
971
|
"properties": {
|
|
1110
972
|
"id": {
|
|
1111
973
|
"type": "string",
|
|
@@ -1113,111 +975,105 @@
|
|
|
1113
975
|
"examples": ["cool-horizon", "boost", "burnt-orange", "ocean-depth", "corporate-blue", "https://acme.com/decks/color-schemes/acme.json", "pkg:@acme/decks/color-schemes/acme"]
|
|
1114
976
|
},
|
|
1115
977
|
"accent1": {
|
|
1116
|
-
"
|
|
978
|
+
"$ref": "#/$defs/HexColor",
|
|
1117
979
|
"description": "Accent 1 color (hex). Mirrors the OOXML accent1 slot.",
|
|
1118
980
|
"examples": ["#2874A6", "#FD3223", "#F77F00"]
|
|
1119
981
|
},
|
|
1120
982
|
"accent2": {
|
|
1121
|
-
"
|
|
983
|
+
"$ref": "#/$defs/HexColor",
|
|
1122
984
|
"description": "Accent 2 color (hex). Mirrors the OOXML accent2 slot.",
|
|
1123
985
|
"examples": ["#1B4F72", "#0308DB", "#D62828"]
|
|
1124
986
|
},
|
|
1125
987
|
"accent3": {
|
|
1126
|
-
"
|
|
988
|
+
"$ref": "#/$defs/HexColor",
|
|
1127
989
|
"description": "Accent 3 color (hex). Mirrors the OOXML accent3 slot.",
|
|
1128
990
|
"examples": ["#5499C7", "#4F4955", "#003049"]
|
|
1129
991
|
},
|
|
1130
992
|
"accent4": {
|
|
1131
|
-
"
|
|
993
|
+
"$ref": "#/$defs/HexColor",
|
|
1132
994
|
"description": "Accent 4 color (hex). Mirrors the OOXML accent4 slot.",
|
|
1133
995
|
"examples": ["#7BDBB2", "#A1DB30", "#FCBF49"]
|
|
1134
996
|
},
|
|
1135
997
|
"accent5": {
|
|
1136
|
-
"
|
|
998
|
+
"$ref": "#/$defs/HexColor",
|
|
1137
999
|
"description": "Accent 5 color (hex). Mirrors the OOXML accent5 slot.",
|
|
1138
1000
|
"examples": ["#3AC67A", "#0682FE", "#EAE2B7"]
|
|
1139
1001
|
},
|
|
1140
1002
|
"accent6": {
|
|
1141
|
-
"
|
|
1003
|
+
"$ref": "#/$defs/HexColor",
|
|
1142
1004
|
"description": "Accent 6 color (hex). Mirrors the OOXML accent6 slot.",
|
|
1143
1005
|
"examples": ["#24A89E", "#FC03BE", "#BFBFBF"]
|
|
1144
1006
|
},
|
|
1145
1007
|
"dark1": {
|
|
1146
|
-
"
|
|
1008
|
+
"$ref": "#/$defs/HexColor",
|
|
1147
1009
|
"description": "Dark 1 color (hex). Typically the deepest neutral; OOXML dark1.",
|
|
1148
1010
|
"examples": ["#000000"]
|
|
1149
1011
|
},
|
|
1150
1012
|
"dark2": {
|
|
1151
|
-
"
|
|
1013
|
+
"$ref": "#/$defs/HexColor",
|
|
1152
1014
|
"description": "Dark 2 color (hex). Secondary dark; OOXML dark2.",
|
|
1153
1015
|
"examples": ["#011842", "#2C2C2C"]
|
|
1154
1016
|
},
|
|
1155
1017
|
"light1": {
|
|
1156
|
-
"
|
|
1018
|
+
"$ref": "#/$defs/HexColor",
|
|
1157
1019
|
"description": "Light 1 color (hex). Typically the slide canvas; OOXML lt1.",
|
|
1158
1020
|
"examples": ["#FFFFFF"]
|
|
1159
1021
|
},
|
|
1160
1022
|
"light2": {
|
|
1161
|
-
"
|
|
1023
|
+
"$ref": "#/$defs/HexColor",
|
|
1162
1024
|
"description": "Light 2 color (hex). Secondary light surface; OOXML lt2.",
|
|
1163
1025
|
"examples": ["#F0F0F0", "#F3F7FF"]
|
|
1164
1026
|
},
|
|
1165
1027
|
"hyperlink": {
|
|
1166
|
-
"
|
|
1167
|
-
"description": "Hyperlink color (hex). OOXML hlink.",
|
|
1028
|
+
"$ref": "#/$defs/HexColor",
|
|
1029
|
+
"description": "Hyperlink color (hex). OOXML hlink. Link runs with no color of their own are drawn underlined in it, in the preview and in PowerPoint, unless it has under 4.5:1 contrast against the slide background, then in the slide text color.",
|
|
1168
1030
|
"examples": ["#0563C1", "#0066CC"]
|
|
1169
1031
|
},
|
|
1170
1032
|
"followedHyperlink": {
|
|
1171
|
-
"
|
|
1033
|
+
"$ref": "#/$defs/HexColor",
|
|
1172
1034
|
"description": "Followed-hyperlink color (hex). OOXML folHlink.",
|
|
1173
1035
|
"examples": ["#954F72", "#551A8B"]
|
|
1174
1036
|
},
|
|
1175
1037
|
"primary": {
|
|
1176
|
-
"
|
|
1038
|
+
"$ref": "#/$defs/HexColor",
|
|
1177
1039
|
"description": "Abstract role: primary brand color (hex). The engine maps this onto an OOXML accent slot when serializing.",
|
|
1178
1040
|
"examples": ["#1E40AF", "#0F172A"]
|
|
1179
1041
|
},
|
|
1180
1042
|
"secondary": {
|
|
1181
|
-
"
|
|
1043
|
+
"$ref": "#/$defs/HexColor",
|
|
1182
1044
|
"description": "Abstract role: secondary brand color (hex).",
|
|
1183
1045
|
"examples": ["#3B82F6", "#64748B"]
|
|
1184
1046
|
},
|
|
1185
1047
|
"accent": {
|
|
1186
|
-
"
|
|
1048
|
+
"$ref": "#/$defs/HexColor",
|
|
1187
1049
|
"description": "Abstract role: accent color used for highlights and emphasis (hex).",
|
|
1188
1050
|
"examples": ["#F59E0B", "#22D3EE"]
|
|
1189
1051
|
},
|
|
1190
1052
|
"background": {
|
|
1191
|
-
"
|
|
1192
|
-
"description": "Abstract role: default slide background color (hex)
|
|
1053
|
+
"$ref": "#/$defs/HexColor",
|
|
1054
|
+
"description": "Abstract role: default slide background color (hex), used when the design names no single-color background (and for gradient and picture backgrounds). Overrides light1 as that default.",
|
|
1193
1055
|
"examples": ["#FFFFFF", "#0B1220"]
|
|
1194
1056
|
},
|
|
1195
1057
|
"surface": {
|
|
1196
|
-
"
|
|
1197
|
-
"description": "Abstract role: color for elevated surfaces such as cards and panels (hex).",
|
|
1058
|
+
"$ref": "#/$defs/HexColor",
|
|
1059
|
+
"description": "Abstract role: color for elevated surfaces such as cards and panels (hex). Overrides the default of light2 (dark2 on a dark slide).",
|
|
1198
1060
|
"examples": ["#F8FAFC", "#1E293B"]
|
|
1199
1061
|
},
|
|
1200
1062
|
"text": {
|
|
1201
|
-
"
|
|
1202
|
-
"description": "Abstract role: primary body text color (hex).",
|
|
1063
|
+
"$ref": "#/$defs/HexColor",
|
|
1064
|
+
"description": "Abstract role: primary body text color (hex). Overrides dark1 on a light slide only; a dark slide always uses light1.",
|
|
1203
1065
|
"examples": ["#0F172A", "#F8FAFC"]
|
|
1204
1066
|
},
|
|
1205
1067
|
"textSecondary": {
|
|
1206
|
-
"
|
|
1207
|
-
"description": "Abstract role: secondary or muted text color used for captions and supporting copy (hex).",
|
|
1068
|
+
"$ref": "#/$defs/HexColor",
|
|
1069
|
+
"description": "Abstract role: secondary or muted text color used for captions and supporting copy (hex). Overrides the default of dark2 (light2 on a dark slide).",
|
|
1208
1070
|
"examples": ["#475569", "#94A3B8"]
|
|
1209
|
-
},
|
|
1210
|
-
"custom": {
|
|
1211
|
-
"type": "object",
|
|
1212
|
-
"additionalProperties": { "type": "string" },
|
|
1213
|
-
"description": "Map of custom named colors for advanced or theme-specific use.",
|
|
1214
|
-
"examples": [{ "success": "#10B981", "warning": "#F59E0B", "danger": "#EF4444" }]
|
|
1215
1071
|
}
|
|
1216
1072
|
}
|
|
1217
1073
|
},
|
|
1218
1074
|
"FontScheme": {
|
|
1219
1075
|
"type": "object",
|
|
1220
|
-
"description": "Typography selections used by the design system. The pair fields (major, minor) and refinement fields (type, app, languageFamily) mirror font-scheme.schema.json (https://openpresentation.org/schema/opf-font-scheme/v1) so library records and inline OPF overrides are interchangeable on those fields.\n\nTwo parallel models are supported and may be mixed:\n- OOXML pairs (major, minor) - heading and body family names that round-trip directly to PowerPoint majorFont/minorFont entries.\n- Abstract roles (heading, body, accent, code) - OPF-specific
|
|
1076
|
+
"description": "Typography selections used by the design system. The pair fields (major, minor) and refinement fields (type, app, languageFamily) mirror font-scheme.schema.json (https://openpresentation.org/schema/opf-font-scheme/v1) so library records and inline OPF overrides are interchangeable on those fields.\n\nTwo parallel models are supported and may be mixed:\n- OOXML pairs (major, minor) - heading and body family names that round-trip directly to PowerPoint majorFont/minorFont entries.\n- Abstract roles (heading, body, accent, code) - OPF-specific font family names the engine maps onto the OOXML pair when serializing. Convenient for inline overrides and for adding accent/code roles that don't have a direct OOXML slot. Catalog records may also carry 'code' (for example the consolas and courier-new records); heading, body and accent are not part of the catalog record schema. A role is a family name only: weight, style and tracking come from the text styles, and PowerPoint has no numeric weight.\n\nIn design.fontScheme, 'id' resolves a fontSchemes catalog record as the base; pair and role overrides on the same object take precedence over the resolved scheme. The string shorthand on design.fontScheme is equivalent to setting only 'id'.",
|
|
1221
1077
|
"properties": {
|
|
1222
1078
|
"id": {
|
|
1223
1079
|
"type": "string",
|
|
@@ -1277,61 +1133,43 @@
|
|
|
1277
1133
|
},
|
|
1278
1134
|
"app": {
|
|
1279
1135
|
"type": "string",
|
|
1280
|
-
"enum": ["
|
|
1281
|
-
"description": "Target application this font pairing is intended for."
|
|
1136
|
+
"enum": ["powerpoint", "google-slides"],
|
|
1137
|
+
"description": "Target application this font pairing is intended for. Metadata for pickers and catalog filters: no engine changes its output by it."
|
|
1282
1138
|
},
|
|
1283
1139
|
"languageFamily": {
|
|
1284
1140
|
"type": "string",
|
|
1285
|
-
"enum": ["latin", "ea", "cs"],
|
|
1286
|
-
"description": "
|
|
1141
|
+
"enum": ["latin", "ea", "cs", "eastAsian", "complexScript"],
|
|
1142
|
+
"description": "Font-language family this scheme is intended for: 'latin' for Latin-script content, 'ea' (or 'eastAsian', the same value) for East Asian scripts, 'cs' (or 'complexScript', the same value) for Complex Scripts. The long names match the 'eastAsian' and 'complexScript' slot keys; the short names match the OOXML a:ea and a:cs elements; core reads both spellings as one value. As the design font scheme, an 'ea'/'eastAsian' or 'cs'/'complexScript' scheme also fills that script slot with its own major/minor families when its languages list is empty or names the presentation language."
|
|
1287
1143
|
},
|
|
1288
1144
|
"heading": {
|
|
1289
|
-
"
|
|
1290
|
-
"description": "Abstract role: font used for slide titles and headings. Maps onto the OOXML major slot when serializing."
|
|
1145
|
+
"type": "string",
|
|
1146
|
+
"description": "Abstract role: font family name used for slide titles and headings. Maps onto the OOXML major slot when serializing."
|
|
1291
1147
|
},
|
|
1292
1148
|
"body": {
|
|
1293
|
-
"
|
|
1294
|
-
"description": "Abstract role: font used for body copy. Maps onto the OOXML minor slot when serializing."
|
|
1149
|
+
"type": "string",
|
|
1150
|
+
"description": "Abstract role: font family name used for body copy. Maps onto the OOXML minor slot when serializing."
|
|
1295
1151
|
},
|
|
1296
1152
|
"accent": {
|
|
1297
|
-
"$ref": "#/$defs/Font",
|
|
1298
|
-
"description": "Abstract role: font used for accent text. When set, the slide tag (eyebrow) and the quote body use this family instead of the body and heading families; nothing else changes. resolveFontFamilies() returns it as accent only when the scheme defines it. No direct OOXML slot: PPTX export writes it on those runs, and the theme fonts stay major/minor."
|
|
1299
|
-
},
|
|
1300
|
-
"code": {
|
|
1301
|
-
"$ref": "#/$defs/Font",
|
|
1302
|
-
"description": "Abstract role: monospaced font used for code blocks and inline code. No direct OOXML slot. Resolution: this override, then the resolved catalog record's 'code' (for example Consolas for the consolas scheme), then the engine fallback Roboto Mono. Heading and body families are never used as the code fallback."
|
|
1303
|
-
}
|
|
1304
|
-
}
|
|
1305
|
-
},
|
|
1306
|
-
"Font": {
|
|
1307
|
-
"type": "object",
|
|
1308
|
-
"description": "Specification for a single font role.",
|
|
1309
|
-
"required": ["family"],
|
|
1310
|
-
"properties": {
|
|
1311
|
-
"family": {
|
|
1312
1153
|
"type": "string",
|
|
1313
|
-
"description": "
|
|
1314
|
-
"examples": ["Inter", "Roboto", "Source Serif Pro", "JetBrains Mono"]
|
|
1315
|
-
},
|
|
1316
|
-
"weight": {
|
|
1317
|
-
"type": "number",
|
|
1318
|
-
"description": "Numeric font weight (e.g., 400 for regular, 700 for bold)."
|
|
1154
|
+
"description": "Abstract role: font family name used for accent text. When set, the slide tag (eyebrow) and the quote body use this family instead of the body and heading families; nothing else changes. resolveFontFamilies() returns it as accent only when the scheme defines it. No direct OOXML slot: PPTX export writes it on those runs, and the theme fonts stay major/minor."
|
|
1319
1155
|
},
|
|
1320
|
-
"
|
|
1156
|
+
"code": {
|
|
1321
1157
|
"type": "string",
|
|
1322
|
-
"
|
|
1323
|
-
"description": "Font style."
|
|
1324
|
-
},
|
|
1325
|
-
"letterSpacing": {
|
|
1326
|
-
"type": "number",
|
|
1327
|
-
"description": "Letter spacing (tracking) in ems."
|
|
1158
|
+
"description": "Abstract role: monospaced font family name used for code blocks and for inline code runs (TextRun.code). No direct OOXML slot. Resolution: this override, then the resolved catalog record's 'code' (for example Consolas for the consolas scheme), then the engine fallback Roboto Mono. Heading and body families are never used as the code fallback."
|
|
1328
1159
|
}
|
|
1329
1160
|
}
|
|
1330
1161
|
},
|
|
1162
|
+
"SlideDesign": {
|
|
1163
|
+
"description": "A slide's design: every Design field except dimensions. A PPTX has one slide size, so the size is set once, on the deck's design.dimensions (or its theme), and a slide's design cannot set it. A slide-level theme whose resolved dimensions differ from the deck's is a validate warning (opf/slide-theme-dimensions); exporting such a deck to PPTX fails with mixed-slide-dimensions.",
|
|
1164
|
+
"allOf": [
|
|
1165
|
+
{ "$ref": "#/$defs/Design" },
|
|
1166
|
+
{ "not": { "required": ["dimensions"] } }
|
|
1167
|
+
]
|
|
1168
|
+
},
|
|
1331
1169
|
"DimensionPreset": {
|
|
1332
1170
|
"type": "string",
|
|
1333
|
-
"enum": ["16:9", "4:3", "16:10", "letter", "a4", "widescreen", "standard"],
|
|
1334
|
-
"description": "Named dimension preset; chooses both aspect ratio and physical size. 'widescreen' is an alias for 16:9 in PowerPoint widescreen size; 'standard' is an alias for 4:3 in PowerPoint standard size."
|
|
1171
|
+
"enum": ["16:9", "4:3", "16:10", "1:1", "4:5", "9:16", "letter", "a4", "widescreen", "standard"],
|
|
1172
|
+
"description": "Named dimension preset; chooses both aspect ratio and physical size. 'widescreen' is an alias for 16:9 in PowerPoint widescreen size; 'standard' is an alias for 4:3 in PowerPoint standard size. The social-feed ratios keep the widescreen short edge of 7.5 in: 1:1 is 7.5 x 7.5 in, 4:5 is 7.5 x 9.375 in and 9:16 is 7.5 x 13.333 in (portrait)."
|
|
1335
1173
|
},
|
|
1336
1174
|
"Dimensions": {
|
|
1337
1175
|
"type": "object",
|
|
@@ -1371,7 +1209,7 @@
|
|
|
1371
1209
|
"enum": [
|
|
1372
1210
|
"accent1", "accent2", "accent3", "accent4", "accent5", "accent6",
|
|
1373
1211
|
"dark1", "dark2", "light1", "light2", "hyperlink", "followedHyperlink",
|
|
1374
|
-
"primary", "secondary", "accent", "background", "surface", "text", "textSecondary"
|
|
1212
|
+
"primary", "secondary", "accent", "background", "surface", "surfaceAlt", "text", "textSecondary"
|
|
1375
1213
|
]
|
|
1376
1214
|
},
|
|
1377
1215
|
{
|
|
@@ -1379,7 +1217,7 @@
|
|
|
1379
1217
|
"pattern": "^var:[a-z][a-z0-9-]*$"
|
|
1380
1218
|
}
|
|
1381
1219
|
],
|
|
1382
|
-
"description": "A color value or reference, enforced on styled table cell fill and text colors and
|
|
1220
|
+
"description": "A color value or reference, enforced on styled table cell fill and text colors, cell border colors, solid background colors, gradient stop colors and pattern foreground and background colors. Three forms:\n- Literal hex: '#RGB', '#RRGGBB', or '#RRGGBBAA'.\n- Color-scheme name, resolved through the effective color scheme after design resolution: an OOXML slot ('accent1'-'accent6', 'dark1', 'dark2', 'light1', 'light2', 'hyperlink', 'followedHyperlink') or an abstract role ('primary', 'secondary', 'accent', 'background', 'surface', 'surfaceAlt', 'text', 'textSecondary'). Roles resolve through the same role-to-slot mapping engines already apply to color schemes. 'surfaceAlt' has no slot: it is the alternate surface of banded table rows, derived from 'surface' and 'text' (the surface mixed a tenth of the way towards the text color, further when needed, so it always differs visibly from 'surface' and keeps 4.5:1 text contrast; core surfaceAltColor).\n- Variable reference: 'var:<id>' into the top-level variables map.\n\nNames keep content theme-portable: re-theming the deck updates every named reference, where a literal hex stays frozen. Unknown 'var:' ids produce a validation warning, never an error, and engines fall back to their default text color. TextRun.color documents the same three forms but remains an open string so imported decks with unrecognized run colors stay valid; validators warn there instead of erroring.",
|
|
1383
1221
|
"examples": ["#0F4C81", "accent2", "text", "var:risk"]
|
|
1384
1222
|
},
|
|
1385
1223
|
"Variables": {
|
|
@@ -1390,7 +1228,7 @@
|
|
|
1390
1228
|
"additionalProperties": {
|
|
1391
1229
|
"$ref": "#/$defs/Variable"
|
|
1392
1230
|
},
|
|
1393
|
-
"description": "Named variables, keyed by stable kebab-case id. A variable is a typed, named value the deck declares once and uses in many places: a color ('var:<id>' in color fields, the original use), or content that fills a template (text, number, date, image, url, list). Content is referenced inline as '{{<id>}}' inside any string, or whole as 'var:<id>' in a field of the matching type; '\\{{' writes a literal '{{'. A hex string is shorthand for a color variable. A variable with no 'value' is unfilled: expected in a template (root 'template': true), an error in a normal deck. Engines resolve variables with resolveVariables() before composing, rendering or exporting, so a template plus its values previews and exports exactly like the equivalent hand-written deck. See docs/templates-and-variables.md.",
|
|
1231
|
+
"description": "Named variables, keyed by stable kebab-case id. A variable is a typed, named value the deck declares once and uses in many places: a color ('var:<id>' in color fields, the original use), or content that fills a template (text, number, date, image, url, list). Content is referenced inline as '{{<id>}}' inside any string, or whole as 'var:<id>' in a field of the matching type; '\\{{' writes a literal '{{'. A hex string is shorthand for a color variable. A variable with no 'value' is unfilled: expected in a template (root 'template': true), an error in a normal deck. Engines resolve variables with resolveVariables() before composing, rendering or exporting, so a template plus its values previews and exports exactly like the equivalent hand-written deck. Read-only built-in variables come from the deck's own metadata and use dotted names that a user id can never take: 'deck.name', 'deck.description', 'deck.author', 'speaker.name|title|email|phone|bio|photo' (first speaker), 'speakers' (every speaker's name, a list), 'organization.name|legalName|tagline|domain|email|phone|logo' (primary organization), and 'speaker.<id>.<field>' / 'organization.<id>.<field>' by id. They are written the same two ways ('{{speaker.name}}', 'var:speaker.photo'), are never declared, and an unknown built-in path is a validation error; a known one with no source value resolves to nothing with a warning. The id 'speakers' is reserved. See docs/templates-and-variables.md.",
|
|
1394
1232
|
"examples": [
|
|
1395
1233
|
{
|
|
1396
1234
|
"risk": "#B42318",
|
|
@@ -1819,7 +1657,7 @@
|
|
|
1819
1657
|
"description": "Fixed solid background fill."
|
|
1820
1658
|
},
|
|
1821
1659
|
"color": {
|
|
1822
|
-
"
|
|
1660
|
+
"$ref": "#/$defs/ColorRef",
|
|
1823
1661
|
"description": "Fixed solid fill color: a hex string, a color-scheme slot or role name, or a var:<id> variable reference (a ColorRef, resolved against the effective color scheme and the deck variables). Use { type: 'theme', slot: ... } for PowerPoint's four theme-controlled background choices.",
|
|
1824
1662
|
"examples": ["#FFFFFF", "#0F172A", "#F8FAFC"]
|
|
1825
1663
|
},
|
|
@@ -1851,14 +1689,15 @@
|
|
|
1851
1689
|
},
|
|
1852
1690
|
"stops": {
|
|
1853
1691
|
"type": "array",
|
|
1854
|
-
"
|
|
1692
|
+
"minItems": 2,
|
|
1693
|
+
"description": "Ordered list of color stops along the gradient. A gradient needs at least two stops.",
|
|
1855
1694
|
"items": {
|
|
1856
1695
|
"type": "object",
|
|
1857
1696
|
"description": "Color stop along the gradient.",
|
|
1858
1697
|
"required": ["color", "position"],
|
|
1859
1698
|
"properties": {
|
|
1860
1699
|
"color": {
|
|
1861
|
-
"
|
|
1700
|
+
"$ref": "#/$defs/ColorRef",
|
|
1862
1701
|
"description": "Stop color: a hex string, a color-scheme slot or role name, or a var:<id> variable reference (a ColorRef).",
|
|
1863
1702
|
"examples": ["#1E40AF", "#22D3EE"]
|
|
1864
1703
|
},
|
|
@@ -1942,12 +1781,12 @@
|
|
|
1942
1781
|
"examples": ["pct5", "ltHorz", "wdUpDiag"]
|
|
1943
1782
|
},
|
|
1944
1783
|
"foregroundColor": {
|
|
1945
|
-
"
|
|
1784
|
+
"$ref": "#/$defs/ColorRef",
|
|
1946
1785
|
"description": "Foreground color for the pattern: a hex string, a color-scheme slot or role name, or a var:<id> variable reference (a ColorRef).",
|
|
1947
1786
|
"examples": ["#0F172A"]
|
|
1948
1787
|
},
|
|
1949
1788
|
"backgroundColor": {
|
|
1950
|
-
"
|
|
1789
|
+
"$ref": "#/$defs/ColorRef",
|
|
1951
1790
|
"description": "Background color behind the pattern: a hex string, a color-scheme slot or role name, or a var:<id> variable reference (a ColorRef).",
|
|
1952
1791
|
"examples": ["#FFFFFF"]
|
|
1953
1792
|
}
|
|
@@ -2018,13 +1857,23 @@
|
|
|
2018
1857
|
},
|
|
2019
1858
|
"Watermark": {
|
|
2020
1859
|
"type": "object",
|
|
2021
|
-
"description": "Decorative watermark image and
|
|
1860
|
+
"description": "Decorative watermark: an image ('src') or a text stamp ('text'), exactly one of the two, with its opacity. An image is drawn once per slide, contained and centered in a fixed frame (the middle 40% of the slide width and height, from 30% to 70% on each axis). A text watermark is one line of text in the heading font and the theme text color at the given opacity, centered on the slide and rotated 30 degrees counterclockwise (rising to the right), sized to span at most 70% of the slide width and at most 30% of the shorter slide edge in height; it is drawn behind the slide content and above the background and slide image. There is no option to move, scale, rotate or tile either form. PPTX export writes one native picture (image) or one native text box (text) per slide with the opacity as alpha, and import restores the watermark. A string or Asset (no opacity) is the image watermark at opacity 0.08. A watermark object needs opacity and exactly one of src and text; use a plain string or Asset for an image at the default opacity. Use design.watermark = false to disable an inherited watermark.",
|
|
2022
1861
|
"additionalProperties": false,
|
|
2023
1862
|
"required": ["opacity"],
|
|
1863
|
+
"oneOf": [
|
|
1864
|
+
{ "required": ["src"] },
|
|
1865
|
+
{ "required": ["text"] }
|
|
1866
|
+
],
|
|
2024
1867
|
"properties": {
|
|
2025
1868
|
"src": {
|
|
2026
1869
|
"type": "string",
|
|
2027
|
-
"description": "Source for the watermark image."
|
|
1870
|
+
"description": "Source for the watermark image: an 'asset:<id>' reference, HTTPS URL, data URI, relative path or local path, as for Asset.src. Exactly one of src and text is set."
|
|
1871
|
+
},
|
|
1872
|
+
"text": {
|
|
1873
|
+
"type": "string",
|
|
1874
|
+
"minLength": 1,
|
|
1875
|
+
"description": "Text for a text watermark, such as DRAFT or CONFIDENTIAL; line breaks are drawn as spaces. Exactly one of src and text is set.",
|
|
1876
|
+
"examples": ["DRAFT", "CONFIDENTIAL"]
|
|
2028
1877
|
},
|
|
2029
1878
|
"opacity": {
|
|
2030
1879
|
"type": "number",
|
|
@@ -2054,7 +1903,7 @@
|
|
|
2054
1903
|
},
|
|
2055
1904
|
"HeaderFooterItem": {
|
|
2056
1905
|
"type": "object",
|
|
2057
|
-
"description": "One header/footer zone. Every configured field renders; fields in one zone stack top to bottom in the order logo, image, text, organization, socials, section, slide number, date. Put a date and a slide number in different zones to keep each on the zone's single line.",
|
|
1906
|
+
"description": "One header/footer zone. Every configured field renders; fields in one zone stack top to bottom in the order logo, image, text, organization, speaker, socials, section, slide number, date. Put a date and a slide number in different zones to keep each on the zone's single line.",
|
|
2058
1907
|
"properties": {
|
|
2059
1908
|
"logo": {
|
|
2060
1909
|
"type": "boolean",
|
|
@@ -2096,7 +1945,11 @@
|
|
|
2096
1945
|
},
|
|
2097
1946
|
"organization": {
|
|
2098
1947
|
"type": "boolean",
|
|
2099
|
-
"description": "Whether to render the primary organization name from organization."
|
|
1948
|
+
"description": "Whether to render the primary organization's name from organization (role 'primary', else the first organization)."
|
|
1949
|
+
},
|
|
1950
|
+
"speaker": {
|
|
1951
|
+
"type": "boolean",
|
|
1952
|
+
"description": "Whether to render the primary (first) speaker's name and title from speaker, joined as 'Ada Lovelace, CTO' (just the name when the speaker has no title). It is generated text: without a named speaker the engine reports unresolved-content at this field. PPTX export writes it as static text and import restores the flag from the file's furniture provenance."
|
|
2100
1953
|
},
|
|
2101
1954
|
"section": {
|
|
2102
1955
|
"type": "boolean",
|
|
@@ -2131,26 +1984,44 @@
|
|
|
2131
1984
|
"items": { "type": "string" }
|
|
2132
1985
|
}
|
|
2133
1986
|
],
|
|
2134
|
-
"description": "Optional reference to one or more narrative
|
|
1987
|
+
"description": "Optional reference to one or more beats of the deck's narrative (each value is the id of a beat in the narrative record that the root 'narrative' resolves to). A single string declares the slide's primary beat; an array declares that one slide covers multiple beats. Declares the slide's role in the story arc; does not constrain ordering or structure. Core validate warns about a beat id the resolved narrative does not define, and reports a beat that no slide references. Slides without a beat are valid; multiple slides may share a beat."
|
|
2135
1988
|
},
|
|
2136
1989
|
"layout": {
|
|
2137
1990
|
"type": "string",
|
|
2138
|
-
"description": "Optional
|
|
1991
|
+
"description": "Optional. Resolves to the 'id' of a 'layouts' catalog record. When omitted, or when it names an id that no inline record, host catalog or default catalog defines, the slide is composed with no layout record: engines arrange title, subtitle, tag and content automatically, a slide with no body payload is a cover (vertically centered), and design hints apply. A layout never changes what a slide contains. An unresolved id is an `unresolved-layout` diagnostic and a `catalog-reference` warning, never an error. Engines must not substitute a different layout for an omitted one. Accepts a bare id (lowercase kebab-case, e.g. 'title-subtitle'), an HTTPS URL pointing at a record file, or a 'pkg:' reference.\n\nResolution order: inline catalogs.layouts.records[] → catalogs.layouts.source → default catalog at https://www.pptx.gallery/layouts.",
|
|
2139
1992
|
"examples": ["title", "title-subtitle", "text-2x", "chart-3x", "image-bleed", "blank", "https://acme.com/decks/layouts/cover.json", "pkg:@acme/decks/layouts/cover"]
|
|
2140
1993
|
},
|
|
2141
1994
|
"title": {
|
|
2142
|
-
"
|
|
2143
|
-
|
|
2144
|
-
|
|
1995
|
+
"oneOf": [
|
|
1996
|
+
{ "type": "string" },
|
|
1997
|
+
{
|
|
1998
|
+
"type": "array",
|
|
1999
|
+
"items": { "$ref": "#/$defs/TextRun" }
|
|
2000
|
+
}
|
|
2001
|
+
],
|
|
2002
|
+
"description": "Slide-level title content. When the resolved layout exposes a 'title' placeholder, the engine renders this value there. Use a string for plain text or TextRun[] for inline rich text (a colored word, bold, a link, a citation or footnote marker); the heading keeps its size and fitting rules either way, and run colors resolve like body text.",
|
|
2003
|
+
"examples": ["Quarterly Review", "Why Now", "Next Steps", ["Revenue grew ", { "text": "28%", "color": "accent1" }]]
|
|
2145
2004
|
},
|
|
2146
2005
|
"subtitle": {
|
|
2147
|
-
"
|
|
2148
|
-
|
|
2006
|
+
"oneOf": [
|
|
2007
|
+
{ "type": "string" },
|
|
2008
|
+
{
|
|
2009
|
+
"type": "array",
|
|
2010
|
+
"items": { "$ref": "#/$defs/TextRun" }
|
|
2011
|
+
}
|
|
2012
|
+
],
|
|
2013
|
+
"description": "Slide-level subtitle or supporting line. When the resolved layout exposes a 'subtitle' placeholder, the engine renders this value there. Use a string for plain text or TextRun[] for inline rich text (a colored word, bold, a link, a citation or footnote marker); the heading keeps its size and fitting rules either way, and run colors resolve like body text.",
|
|
2149
2014
|
"examples": ["Prepared for the board", "Three signals changed this quarter"]
|
|
2150
2015
|
},
|
|
2151
2016
|
"tag": {
|
|
2152
|
-
"
|
|
2153
|
-
|
|
2017
|
+
"oneOf": [
|
|
2018
|
+
{ "type": "string" },
|
|
2019
|
+
{
|
|
2020
|
+
"type": "array",
|
|
2021
|
+
"items": { "$ref": "#/$defs/TextRun" }
|
|
2022
|
+
}
|
|
2023
|
+
],
|
|
2024
|
+
"description": "Small slide-level label or badge. When the resolved layout exposes a 'tag' placeholder, the engine renders this value there. Use a string for plain text or TextRun[] for inline rich text (a colored word, bold, a link, a citation or footnote marker); the heading keeps its size and fitting rules either way, and run colors resolve like body text.",
|
|
2154
2025
|
"examples": ["Intro", "Confidential", "Appendix"]
|
|
2155
2026
|
},
|
|
2156
2027
|
"text": {
|
|
@@ -2184,7 +2055,7 @@
|
|
|
2184
2055
|
},
|
|
2185
2056
|
"video": {
|
|
2186
2057
|
"$ref": "#/$defs/Asset",
|
|
2187
|
-
"description": "Full-slide video source. Presence of this field infers type 'video'."
|
|
2058
|
+
"description": "Full-slide video source. Presence of this field infers type 'video'. Engines do not play video: the preview draws a placeholder (a play badge with the asset's title or source as its caption), and PPTX export draws the same placeholder as native shapes linked to an http(s) source, with no embedded media. Native playback is out of scope (docs/programs/release-readiness)."
|
|
2188
2059
|
},
|
|
2189
2060
|
"chart": {
|
|
2190
2061
|
"$ref": "#/$defs/Chart",
|
|
@@ -2207,7 +2078,7 @@
|
|
|
2207
2078
|
{ "type": "number" },
|
|
2208
2079
|
{ "$ref": "#/$defs/Metric" }
|
|
2209
2080
|
],
|
|
2210
|
-
"description": "Full-slide metric payload. A string or number is shorthand for { \"value\": value }; object form carries optional label, description, unit, delta, and
|
|
2081
|
+
"description": "Full-slide metric payload. A string or number is shorthand for { \"value\": value }; object form carries optional label, description, unit, delta, trend, and sentiment metadata. Numeric values remain numbers; renderers format them for display. Presence of this field infers type 'metric'."
|
|
2211
2082
|
},
|
|
2212
2083
|
"quote": {
|
|
2213
2084
|
"oneOf": [
|
|
@@ -2230,7 +2101,7 @@
|
|
|
2230
2101
|
"description": "Layout-agnostic content blocks rendered together as a composed payload when exact placement is unspecified. At slide root, multiple content payload kinds with no explicit type, blocks, or regions are accepted as shorthand for equivalent blocks."
|
|
2231
2102
|
},
|
|
2232
2103
|
"design": {
|
|
2233
|
-
"$ref": "#/$defs/
|
|
2104
|
+
"$ref": "#/$defs/SlideDesign",
|
|
2234
2105
|
"description": "Slide-level design applied on top of the deck-wide design."
|
|
2235
2106
|
},
|
|
2236
2107
|
"left": {
|
|
@@ -2389,7 +2260,7 @@
|
|
|
2389
2260
|
},
|
|
2390
2261
|
"hidden": {
|
|
2391
2262
|
"type": "boolean",
|
|
2392
|
-
"description": "Whether the slide is hidden from the presented sequence."
|
|
2263
|
+
"description": "Whether the slide is hidden from the presented sequence. The player skips it, the PPTX export writes it as a hidden slide, and per-slide image and PDF output skips it unless the caller asks to include hidden slides (opf CLI: --include-hidden; the deck-level renderSvg: the opt-in skipHidden). A slide named explicitly (opf render --slides, renderSvg slideIndex) is still rendered."
|
|
2393
2264
|
},
|
|
2394
2265
|
"composition": {
|
|
2395
2266
|
"$ref": "#/$defs/Composition"
|
|
@@ -2474,7 +2345,7 @@
|
|
|
2474
2345
|
},
|
|
2475
2346
|
"video": {
|
|
2476
2347
|
"$ref": "#/$defs/Asset",
|
|
2477
|
-
"description": "Source for a video item.",
|
|
2348
|
+
"description": "Source for a video item. Engines do not play video: the preview draws a placeholder (a play badge with the asset's title or source as its caption), and PPTX export draws the same placeholder as native shapes linked to an http(s) source, with no embedded media. Native playback is out of scope (docs/programs/release-readiness).",
|
|
2478
2349
|
"examples": [
|
|
2479
2350
|
"asset:demo-video",
|
|
2480
2351
|
"./media/demo.mp4"
|
|
@@ -2509,7 +2380,7 @@
|
|
|
2509
2380
|
{ "type": "number" },
|
|
2510
2381
|
{ "$ref": "#/$defs/Metric" }
|
|
2511
2382
|
],
|
|
2512
|
-
"description": "Metric payload. A string or number is shorthand for { \"value\": value }; object form carries optional label, description, unit, delta, and
|
|
2383
|
+
"description": "Metric payload. A string or number is shorthand for { \"value\": value }; object form carries optional label, description, unit, delta, trend, and sentiment metadata. Numeric values remain numbers; renderers format them for display.",
|
|
2513
2384
|
"examples": [
|
|
2514
2385
|
"98%",
|
|
2515
2386
|
42,
|
|
@@ -2527,7 +2398,7 @@
|
|
|
2527
2398
|
{ "type": "string" },
|
|
2528
2399
|
{ "$ref": "#/$defs/Quote" }
|
|
2529
2400
|
],
|
|
2530
|
-
"description": "Quote payload. A string is shorthand for { \"text\": value }; object form carries optional attribution and source metadata.",
|
|
2401
|
+
"description": "Quote payload. A string is shorthand for { \"text\": value }; object form carries optional attribution, role, photo and source metadata.",
|
|
2531
2402
|
"examples": [
|
|
2532
2403
|
"This changed how our team handles reviews.",
|
|
2533
2404
|
{
|
|
@@ -2760,30 +2631,46 @@
|
|
|
2760
2631
|
},
|
|
2761
2632
|
"Quote": {
|
|
2762
2633
|
"type": "object",
|
|
2763
|
-
"description": "Quote content with optional attribution metadata. Use 'text' for the quoted text, 'attribution' for the credited person or organization, and 'source' for a citation or URL. A string value in a quote field is shorthand for { \"text\": value }.",
|
|
2634
|
+
"description": "Quote content with optional attribution metadata. Use 'text' for the quoted text, 'attribution' for the credited person or organization, 'role' for that person's title and organization, 'photo' for their headshot and 'source' for a citation or URL. A string value in a quote field is shorthand for { \"text\": value }.",
|
|
2764
2635
|
"additionalProperties": false,
|
|
2765
2636
|
"required": ["text"],
|
|
2766
2637
|
"properties": {
|
|
2767
2638
|
"text": {
|
|
2768
|
-
"
|
|
2769
|
-
|
|
2770
|
-
|
|
2639
|
+
"oneOf": [
|
|
2640
|
+
{ "type": "string" },
|
|
2641
|
+
{
|
|
2642
|
+
"type": "array",
|
|
2643
|
+
"items": { "$ref": "#/$defs/TextRun" }
|
|
2644
|
+
}
|
|
2645
|
+
],
|
|
2646
|
+
"description": "Quoted text: a string, or TextRun[] for inline rich text (a colored phrase, bold, a link, or a citation or footnote marker). The engine draws the surrounding quotation marks.",
|
|
2647
|
+
"examples": ["This changed how our team handles reviews.", ["Cut review time by ", { "text": "40%", "bold": true }, { "text": " in a quarter", "cite": "acme-case-study" }]]
|
|
2771
2648
|
},
|
|
2772
2649
|
"attribution": {
|
|
2773
2650
|
"type": "string",
|
|
2774
|
-
"description": "Person or organization credited for the quote.",
|
|
2775
|
-
"examples": ["
|
|
2651
|
+
"description": "Person or organization credited for the quote. Drawn after the quote text, in the muted text color.",
|
|
2652
|
+
"examples": ["Priya Raman", "Acme Corp"]
|
|
2653
|
+
},
|
|
2654
|
+
"role": {
|
|
2655
|
+
"type": "string",
|
|
2656
|
+
"description": "Title and organization of the attributed person. Drawn on its own line under the attribution; without an attribution it stands alone. It does not replace the attribution, so the person's name belongs in 'attribution'.",
|
|
2657
|
+
"examples": ["VP Operations, Acme", "Head of Platform"]
|
|
2658
|
+
},
|
|
2659
|
+
"photo": {
|
|
2660
|
+
"$ref": "#/$defs/Asset",
|
|
2661
|
+
"description": "Headshot of the attributed person, drawn as a circle beside the attribution and role lines (on the end side in a right-to-left deck). Give it alt text (validate's opf/missing-alt-text rule checks it). A raster photograph works best; an SVG exports as its PNG raster because the circular mask is not confirmed on SVG pictures in PowerPoint. An unresolved source draws the ordinary image placeholder.",
|
|
2662
|
+
"examples": ["./assets/priya-raman.jpg", {"src": "asset:priya-raman", "alt": "Priya Raman"}]
|
|
2776
2663
|
},
|
|
2777
2664
|
"source": {
|
|
2778
2665
|
"type": "string",
|
|
2779
|
-
"description": "Optional quote source, citation, or URL.",
|
|
2666
|
+
"description": "Optional quote source, citation, or URL. Follows the attribution and role after ' - '.",
|
|
2780
2667
|
"examples": ["Customer interview, March 2026", "https://acme.com/case-study"]
|
|
2781
2668
|
}
|
|
2782
2669
|
}
|
|
2783
2670
|
},
|
|
2784
2671
|
"Code": {
|
|
2785
2672
|
"type": "object",
|
|
2786
|
-
"description": "Code content with optional rendering metadata. Use 'source' for the code text, 'language' for syntax highlighting,
|
|
2673
|
+
"description": "Code content with optional rendering metadata. Use 'source' for the code text, 'language' for syntax highlighting, 'filename' when the rendered block should show a file label, and 'highlight' to emphasize lines. A string value in a code field is shorthand for { \"source\": value }.",
|
|
2787
2674
|
"additionalProperties": false,
|
|
2788
2675
|
"required": ["source"],
|
|
2789
2676
|
"properties": {
|
|
@@ -2801,12 +2688,24 @@
|
|
|
2801
2688
|
"type": "string",
|
|
2802
2689
|
"description": "Optional file label shown with the code block.",
|
|
2803
2690
|
"examples": ["app.py", "components/Button.tsx", "terraform/main.tf"]
|
|
2691
|
+
},
|
|
2692
|
+
"highlight": {
|
|
2693
|
+
"type": "array",
|
|
2694
|
+
"minItems": 1,
|
|
2695
|
+
"items": {
|
|
2696
|
+
"oneOf": [
|
|
2697
|
+
{ "type": "integer", "minimum": 1 },
|
|
2698
|
+
{ "type": "array", "minItems": 2, "maxItems": 2, "items": { "type": "integer", "minimum": 1 } }
|
|
2699
|
+
]
|
|
2700
|
+
},
|
|
2701
|
+
"description": "Source lines to emphasize, 1-based: each entry is a line number or an inclusive [start, end] range, so [3, [5, 7]] marks lines 3 and 5 to 7. Lines are counted by line break in 'source', so a line that wraps stays one line. Engines draw a theme-derived band behind the marked lines and dim the other lines slightly, keeping every line at least 4.5:1 against its background; PPTX export draws one native rectangle behind the line text boxes and import restores the list. A line number past the last line, or a range written end before start, gets a validation warning (code-highlight-out-of-range, code-highlight-range-reversed) and is ignored. When a code block is paginated across slides each page keeps the lines that fall on it, renumbered from 1.",
|
|
2702
|
+
"examples": [[3], [3, [5, 7]], [[2, 4]]]
|
|
2804
2703
|
}
|
|
2805
2704
|
}
|
|
2806
2705
|
},
|
|
2807
2706
|
"Metric": {
|
|
2808
2707
|
"type": "object",
|
|
2809
|
-
"description": "Metric content with optional display metadata. Use 'value' for the primary value, 'label' for the metric name, 'description' for supporting context, 'unit' for a suffix/currency marker, 'delta' for change, and '
|
|
2708
|
+
"description": "Metric content with optional display metadata. Use 'value' for the primary value, 'label' for the metric name, 'description' for supporting context, 'unit' for a suffix/currency marker, 'delta' for change, 'trend' for direction, and 'sentiment' for whether the change is good news. A string or number value in a metric field is shorthand for { \"value\": value }; numeric values remain numbers and are formatted by renderers.",
|
|
2810
2709
|
"additionalProperties": false,
|
|
2811
2710
|
"required": ["value"],
|
|
2812
2711
|
"properties": {
|
|
@@ -2844,7 +2743,12 @@
|
|
|
2844
2743
|
"trend": {
|
|
2845
2744
|
"type": "string",
|
|
2846
2745
|
"enum": ["up", "down", "flat"],
|
|
2847
|
-
"description": "Metric trend direction."
|
|
2746
|
+
"description": "Metric trend direction. The preview and the PowerPoint export draw an arrow beside the trend word that always points the way the trend does (up, down or flat) and colour the arrow, the trend word and the delta text by `sentiment`."
|
|
2747
|
+
},
|
|
2748
|
+
"sentiment": {
|
|
2749
|
+
"type": "string",
|
|
2750
|
+
"enum": ["positive", "negative", "neutral"],
|
|
2751
|
+
"description": "Whether the change is good news. Positive draws the trend arrow and the trend and delta text in green, negative in red and neutral in the neutral text colour, each kept at 4.5:1 contrast or more against the slide background. When absent the colour follows the trend: up is positive, down is negative and flat is neutral. Set it when the direction is not the verdict, for example positive on a falling churn, cost or latency trend. The arrow always keeps the direction of `trend`. Only the trend arrow and the trend and delta text take the colour, so sentiment has no visible effect on a metric without a trend."
|
|
2848
2752
|
}
|
|
2849
2753
|
}
|
|
2850
2754
|
},
|
|
@@ -2901,6 +2805,12 @@
|
|
|
2901
2805
|
"type": "string",
|
|
2902
2806
|
"description": "Optional event detail.",
|
|
2903
2807
|
"examples": ["Launch with the first operations team."]
|
|
2808
|
+
},
|
|
2809
|
+
"status": {
|
|
2810
|
+
"type": "string",
|
|
2811
|
+
"enum": ["done", "current", "planned"],
|
|
2812
|
+
"description": "Progress of the event, drawn from the deck's own colors by both the SVG renderer and the PPTX exporter. Absent means no status and the event is drawn as a plain filled marker with normal text, which is also how 'done' looks. 'done' is a filled marker in the primary color with normal text. 'current' marks 'we are here': the filled marker is surrounded by a ring and the event label (`what`) is bold. 'planned' is an outlined, hollow marker (primary-color outline over the slide background) with muted secondary text. Text colors keep a 4.5:1 contrast against the slide background. In PPTX the markers are native ellipses (the ring is a second ellipse), and PPTX import restores the status the export recorded. Status describes progress only; schedule health such as at risk or blocked belongs in the event text.",
|
|
2813
|
+
"examples": ["done", "current", "planned"]
|
|
2904
2814
|
}
|
|
2905
2815
|
}
|
|
2906
2816
|
},
|
|
@@ -3098,13 +3008,24 @@
|
|
|
3098
3008
|
},
|
|
3099
3009
|
"fontFamily": {
|
|
3100
3010
|
"type": "string",
|
|
3101
|
-
"description": "Run font family override.",
|
|
3011
|
+
"description": "Run font family override. It wins over the code font a run with 'code' takes.",
|
|
3102
3012
|
"examples": ["Inter", "Source Serif Pro", "JetBrains Mono"]
|
|
3103
3013
|
},
|
|
3014
|
+
"code": {
|
|
3015
|
+
"type": "boolean",
|
|
3016
|
+
"description": "Whether the run is an inline code span: it is drawn in the design's code font (design.fontScheme.code, else the resolved font scheme's code family, else Roboto Mono), unless the run names its own fontFamily. Only the font changes; there is no background, because a PPTX run cannot have one. Markdown backticks read and write code runs."
|
|
3017
|
+
},
|
|
3018
|
+
"lang": {
|
|
3019
|
+
"type": "string",
|
|
3020
|
+
"pattern": "^[A-Za-z]{2,8}(-[A-Za-z0-9]{1,8})*$",
|
|
3021
|
+
"description": "BCP-47 language tag of the run, such as 'fr-FR' or 'ja-JP', when it differs from the deck language. It sets the proofing language (PPTX a:rPr lang) and the language the run's script fonts and glyph variants follow (for example the Japanese or the Simplified Chinese face for Han characters); without it the run follows the deck language.",
|
|
3022
|
+
"examples": ["fr-FR", "ja-JP", "de"]
|
|
3023
|
+
},
|
|
3104
3024
|
"link": {
|
|
3105
3025
|
"type": "string",
|
|
3106
|
-
"
|
|
3107
|
-
"
|
|
3026
|
+
"pattern": "^(https?://|mailto:|tel:)\\S+$",
|
|
3027
|
+
"description": "URL to link the run text to: an http(s) URL, a 'mailto:' address or a 'tel:' number, without whitespace. The preview draws it as a link and PPTX export writes a native hyperlink for all three; any other scheme is not valid.",
|
|
3028
|
+
"examples": ["https://acme.com", "https://acme.com/case-studies/beta", "mailto:hello@acme.com", "tel:+15551234567"]
|
|
3108
3029
|
},
|
|
3109
3030
|
"superscript": {
|
|
3110
3031
|
"type": "boolean",
|
|
@@ -3119,7 +3040,7 @@
|
|
|
3119
3040
|
{ "type": "string", "minLength": 1 },
|
|
3120
3041
|
{ "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }
|
|
3121
3042
|
],
|
|
3122
|
-
"description": "One or more ids from the top-level references list that this run cites. Engines draw a superscript marker ('1', or '1,2' for several ids) directly after the run and list '<n> <reference text>' in the slide's footnote area; markers are numbered per deck in order of first use, and the same id keeps its number. An id missing from references is a validation error (cite-unknown-reference). Supported in text, bullets and list item runs.",
|
|
3043
|
+
"description": "One or more ids from the top-level references list that this run cites. Engines draw a superscript marker ('1', or '1,2' for several ids) directly after the run and list '<n> <reference text>' in the slide's footnote area; markers are numbered per deck in order of first use, and the same id keeps its number. An id missing from references is a validation error (cite-unknown-reference). Supported in text, bullets and list item runs, in the slide title, subtitle and tag, and in the quote text.",
|
|
3123
3044
|
"examples": ["gartner-2026", ["gartner-2026", "annual-report"]]
|
|
3124
3045
|
},
|
|
3125
3046
|
"footnote": {
|
|
@@ -3127,7 +3048,7 @@
|
|
|
3127
3048
|
{ "type": "string", "minLength": 1 },
|
|
3128
3049
|
{ "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/TextRun" } }
|
|
3129
3050
|
],
|
|
3130
|
-
"description": "An inline note for this run, without a references entry. Engines draw a superscript marker after the run and list the note in the slide's footnote area; every footnote takes a new number in the deck's marker sequence. Supported in text, bullets and list item runs.",
|
|
3051
|
+
"description": "An inline note for this run, without a references entry. Engines draw a superscript marker after the run and list the note in the slide's footnote area; every footnote takes a new number in the deck's marker sequence. Supported in text, bullets and list item runs, in the slide title, subtitle and tag, and in the quote text.",
|
|
3131
3052
|
"examples": ["Excludes the discontinued hardware line."]
|
|
3132
3053
|
}
|
|
3133
3054
|
}
|
|
@@ -3203,27 +3124,42 @@
|
|
|
3203
3124
|
"properties": {
|
|
3204
3125
|
"type": {
|
|
3205
3126
|
"type": "string",
|
|
3206
|
-
"description": "Chart type id. Resolves to the id of a chartTypes catalog record; renderers map that record through mappings.openxml and any renderer-specific mapping they understand. The bundled catalog covers the chart types Aspose.Slides officially supports
|
|
3127
|
+
"description": "Chart type id. Resolves to the id of a chartTypes catalog record; renderers map that record through mappings.openxml and any renderer-specific mapping they understand. The bundled catalog covers the chart types Aspose.Slides officially supports, plus 'combo' (clustered columns with line series, see 'line' and 'secondaryAxis').",
|
|
3207
3128
|
"examples": [
|
|
3208
3129
|
"column", "bar", "line", "pie", "doughnut", "area", "scatter", "radar",
|
|
3209
|
-
"waterfall", "funnel", "treemap", "stacked-column
|
|
3130
|
+
"waterfall", "funnel", "treemap", "stacked-column", "combo"
|
|
3210
3131
|
]
|
|
3211
3132
|
},
|
|
3212
3133
|
"data": {
|
|
3213
3134
|
"oneOf": [
|
|
3214
3135
|
{ "$ref": "#/$defs/ChartData" },
|
|
3215
|
-
{ "$ref": "#/$defs/ChartDataSource" },
|
|
3216
3136
|
{ "$ref": "#/$defs/DatasetRef" }
|
|
3217
3137
|
],
|
|
3218
|
-
"description": "Chart data. Inline data uses a tabular columns/rows shape; renderers convert rows to chart series internally. A DatasetRef ({ \"dataset\": \"<id>\" }) plots a top-level dataset instead.
|
|
3138
|
+
"description": "Chart data. Inline data uses a tabular columns/rows shape; renderers convert rows to chart series internally. A DatasetRef ({ \"dataset\": \"<id>\" }) plots a top-level dataset instead. Data from a spreadsheet or file is imported into inline columns and rows, and its origin is recorded in data.source."
|
|
3219
3139
|
},
|
|
3220
3140
|
"mapping": {
|
|
3221
3141
|
"$ref": "#/$defs/ChartMapping",
|
|
3222
3142
|
"description": "Optional series mapping by column name: which column is the category, which is the X column of a scatter chart, and which columns are plotted, in order. Absent keeps the positional rule (first column the category, then the X column for scatter, every other column a series)."
|
|
3223
3143
|
},
|
|
3144
|
+
"line": {
|
|
3145
|
+
"type": "array",
|
|
3146
|
+
"items": { "type": "string" },
|
|
3147
|
+
"minItems": 1,
|
|
3148
|
+
"uniqueItems": true,
|
|
3149
|
+
"description": "Combo charts only (type 'combo'): the plotted series, by column name, that are drawn as lines with markers; every other plotted series is drawn as clustered columns. Absent: the last plotted series is the line. A combo chart keeps at least one column series, so a list that names every series draws the first one as columns. Column series are drawn, exported and listed in the legend first, then the line series on the primary axis, then those on the secondary axis, each in plotted order. A name that is not a column is a 'chart-mapping-unknown-column' error; a column that is not plotted is a 'chart-mapping-adapted' warning. On any other chart type it is ignored with a 'chart-option-adapted' warning.",
|
|
3150
|
+
"examples": [["Margin"]]
|
|
3151
|
+
},
|
|
3152
|
+
"secondaryAxis": {
|
|
3153
|
+
"type": "array",
|
|
3154
|
+
"items": { "type": "string" },
|
|
3155
|
+
"minItems": 1,
|
|
3156
|
+
"uniqueItems": true,
|
|
3157
|
+
"description": "Combo charts only: line series, by column name, plotted against a secondary value axis at the right of the plot. That axis has its own scale, and its tick labels use the number format of the first secondary series' column (DataColumn.format), for example '0%' for a margin. Absent: every series shares the primary value axis at the left. A name that is not a line series (see 'line') stays on the primary axis with a 'chart-mapping-adapted' warning; an unknown column is a 'chart-mapping-unknown-column' error. On any other chart type it is ignored with a 'chart-option-adapted' warning.",
|
|
3158
|
+
"examples": [["Margin"]]
|
|
3159
|
+
},
|
|
3224
3160
|
"axisTitles": {
|
|
3225
3161
|
"$ref": "#/$defs/ChartAxisTitles",
|
|
3226
|
-
"description": "Optional axis titles. Absent keeps today's untitled axes. Supported on the chart types that have a category/value (or X/Y) axis pair (column, bar, line, area, scatter, and the histogram, pareto, waterfall and box-and-whisker constructs; the funnel construct takes a category title only); a title on a type without that axis (pie, doughnut, radar, treemap, map) is dropped with a 'chart-option-adapted' diagnostic by renderers and exporters."
|
|
3162
|
+
"description": "Optional axis titles. Absent keeps today's untitled axes. Supported on the chart types that have a category/value (or X/Y) axis pair (column, bar, line, area, scatter, and the histogram, pareto, waterfall and box-and-whisker constructs; the funnel construct takes a category title only; a combo chart also takes 'secondary' when it plots a series on the secondary axis); a title on a type without that axis (pie, doughnut, radar, treemap, map) is dropped with a 'chart-option-adapted' diagnostic by renderers and exporters."
|
|
3227
3163
|
},
|
|
3228
3164
|
"legend": {
|
|
3229
3165
|
"type": "string",
|
|
@@ -3236,13 +3172,22 @@
|
|
|
3236
3172
|
{ "$ref": "#/$defs/ChartDataLabels" }
|
|
3237
3173
|
],
|
|
3238
3174
|
"description": "Optional data labels. true shows value labels at each type's default position, false (or absent) shows none, which is today's behaviour. Use the object form for the label content, position and separator."
|
|
3175
|
+
},
|
|
3176
|
+
"alt": {
|
|
3177
|
+
"type": "string",
|
|
3178
|
+
"description": "Text alternative for the chart: what the data shows (the point and the key numbers), not 'a chart' or 'bar chart'. The preview exposes it as the chart's accessible name (role img with aria-label) and the PowerPoint export writes it as the chart frame's alternative text (descr); import reads it back. An empty string marks the chart decorative, with the same meaning as an empty Asset alt, but it is a reviewed choice that opf/chart-text-alternative still reports as info (a chart almost always carries a message). When absent, validate accepts text beside the chart instead.",
|
|
3179
|
+
"examples": ["Revenue grew from $12M in Q1 to $18M in Q2, with the steepest rise in the West region."]
|
|
3180
|
+
},
|
|
3181
|
+
"highlight": {
|
|
3182
|
+
"$ref": "#/$defs/ChartHighlight",
|
|
3183
|
+
"description": "Optional emphasis: the series and/or categories that carry the message. The engines draw the highlighted marks in the deck's primary (accent) color and every other mark in a muted neutral derived from the theme (a light grey on a light chart panel, a dim grey on a dark one); there is no color field. A mark is highlighted when its series OR its category is named. Absent keeps today's colors exactly. Supported on column, bar and line charts (series and categories; on a line a category highlight marks that category's points), pie and doughnut charts (categories, one per slice), and area, scatter and radar charts (series); the histogram, pareto, waterfall, funnel, treemap, box-and-whisker, map and combo constructs drop the option with a 'chart-option-adapted' diagnostic, as does a part the type cannot highlight. A name that matches no column or row label is a 'chart-highlight-unknown-name' error."
|
|
3239
3184
|
}
|
|
3240
3185
|
}
|
|
3241
3186
|
},
|
|
3242
3187
|
"ChartAxisTitles": {
|
|
3243
3188
|
"type": "object",
|
|
3244
3189
|
"additionalProperties": false,
|
|
3245
|
-
"description": "Titles for the
|
|
3190
|
+
"description": "Titles for the axes of a chart. 'category' is the axis that carries the row labels (the horizontal axis of a column or line chart, the vertical axis of a bar chart, the X axis of a scatter chart); 'value' is the other axis; 'secondary' is the secondary value axis of a combo chart.",
|
|
3246
3191
|
"properties": {
|
|
3247
3192
|
"category": {
|
|
3248
3193
|
"type": "string",
|
|
@@ -3251,11 +3196,41 @@
|
|
|
3251
3196
|
},
|
|
3252
3197
|
"value": {
|
|
3253
3198
|
"type": "string",
|
|
3254
|
-
"description": "Title of the value (Y) axis.",
|
|
3199
|
+
"description": "Title of the value (Y) axis. On a combo chart, the primary (left) value axis.",
|
|
3255
3200
|
"examples": ["Revenue ($M)", "Customers"]
|
|
3201
|
+
},
|
|
3202
|
+
"secondary": {
|
|
3203
|
+
"type": "string",
|
|
3204
|
+
"description": "Combo charts only: title of the secondary value axis at the right of the plot, drawn rotated like the primary value axis title. Dropped with a 'chart-option-adapted' diagnostic on any other chart type and on a combo chart without 'secondaryAxis'.",
|
|
3205
|
+
"examples": ["Margin (%)"]
|
|
3256
3206
|
}
|
|
3257
3207
|
}
|
|
3258
3208
|
},
|
|
3209
|
+
"ChartHighlight": {
|
|
3210
|
+
"type": "object",
|
|
3211
|
+
"additionalProperties": false,
|
|
3212
|
+
"minProperties": 1,
|
|
3213
|
+
"description": "Which series and categories a chart emphasizes. Names are matched exactly: series by data column name (after any 'fields' selection; a series is a plotted value column), categories by row label (the first column, or mapping.category), as text. A category label shared by several rows highlights each of them.",
|
|
3214
|
+
"properties": {
|
|
3215
|
+
"series": {
|
|
3216
|
+
"type": "array",
|
|
3217
|
+
"items": { "type": "string" },
|
|
3218
|
+
"minItems": 1,
|
|
3219
|
+
"uniqueItems": true,
|
|
3220
|
+
"description": "Series (value columns) to highlight: all marks of each named series. A name that is not a column is a 'chart-highlight-unknown-name' error; a column that is not plotted as a series (the category or X column, or one mapping.series leaves out) highlights nothing and is a 'chart-highlight-adapted' warning.",
|
|
3221
|
+
"examples": [["Revenue"]]
|
|
3222
|
+
},
|
|
3223
|
+
"categories": {
|
|
3224
|
+
"type": "array",
|
|
3225
|
+
"items": { "type": "string" },
|
|
3226
|
+
"minItems": 1,
|
|
3227
|
+
"uniqueItems": true,
|
|
3228
|
+
"description": "Categories (row labels) to highlight: the marks of each named category (a column or bar of every series, a line's points, a pie or doughnut slice). A label no row has is a 'chart-highlight-unknown-name' error.",
|
|
3229
|
+
"examples": [["Q3"]]
|
|
3230
|
+
}
|
|
3231
|
+
},
|
|
3232
|
+
"examples": [{ "series": ["Revenue"] }, { "categories": ["Q3"] }]
|
|
3233
|
+
},
|
|
3259
3234
|
"ChartDataLabels": {
|
|
3260
3235
|
"type": "object",
|
|
3261
3236
|
"additionalProperties": false,
|
|
@@ -3271,7 +3246,7 @@
|
|
|
3271
3246
|
"position": {
|
|
3272
3247
|
"type": "string",
|
|
3273
3248
|
"enum": ["auto", "center", "inside-end", "inside-base", "outside-end", "above", "below", "left", "right"],
|
|
3274
|
-
"description": "Where a label sits relative to its mark. 'auto' (the default) is the type's default: outside-end for clustered columns and bars, pie slices and the histogram, pareto and waterfall constructs; center for stacked columns and bars; above for line and scatter points. Clustered columns and bars and the histogram, pareto and waterfall constructs take center, inside-end, inside-base and outside-end; stacked columns and bars take center, inside-end and inside-base; pie takes center, inside-end and outside-end; line and scatter points take above, below, left, right and center. Area, doughnut and radar charts and the funnel and treemap constructs take only 'auto' (the box-and-whisker and map constructs have no data labels). An unsupported position falls back to 'auto' with a 'chart-option-adapted' diagnostic."
|
|
3249
|
+
"description": "Where a label sits relative to its mark. 'auto' (the default) is the type's default: outside-end for clustered columns and bars, pie slices and the histogram, pareto and waterfall constructs; center for stacked columns and bars; above for line and scatter points. Clustered columns and bars and the histogram, pareto and waterfall constructs take center, inside-end, inside-base and outside-end; stacked columns and bars take center, inside-end and inside-base; pie takes center, inside-end and outside-end; line and scatter points take above, below, left, right and center. Area, doughnut and radar charts and the funnel and treemap constructs take only 'auto' (the box-and-whisker and map constructs have no data labels). A combo chart places the labels of its column series like clustered columns and those of its line series like line points; a position only one part takes applies to that part, and the other part keeps its default (outside-end, above). An unsupported position falls back to 'auto' with a 'chart-option-adapted' diagnostic."
|
|
3275
3250
|
},
|
|
3276
3251
|
"separator": {
|
|
3277
3252
|
"type": "string",
|
|
@@ -3571,35 +3546,6 @@
|
|
|
3571
3546
|
},
|
|
3572
3547
|
"examples": [{ "category": "Quarter", "series": ["Costs", "Revenue"] }, { "category": "Region", "x": "Spend", "series": ["Revenue"] }]
|
|
3573
3548
|
},
|
|
3574
|
-
"ChartDataSource": {
|
|
3575
|
-
"type": "object",
|
|
3576
|
-
"description": "Chart data sourced from an asset reference, URL, data URI, relative path, or local path such as CSV, TSV, JSON, or XLSX. The source is interpreted as a table; optional columns select or order fields from that table.",
|
|
3577
|
-
"additionalProperties": false,
|
|
3578
|
-
"required": ["src"],
|
|
3579
|
-
"properties": {
|
|
3580
|
-
"src": {
|
|
3581
|
-
"type": "string",
|
|
3582
|
-
"description": "Data source. Use 'asset:<id>' to reference the top-level assets registry, or provide an HTTPS URL, data URI, relative path, or local filesystem path.",
|
|
3583
|
-
"examples": ["asset:revenue", "asset:pipeline-csv", "./data/revenue.csv", "https://cdn.acme.com/data/revenue.csv"]
|
|
3584
|
-
},
|
|
3585
|
-
"sheet": {
|
|
3586
|
-
"type": "string",
|
|
3587
|
-
"description": "Optional sheet name or table name for spreadsheet-like assets.",
|
|
3588
|
-
"examples": ["Sheet1", "Revenue"]
|
|
3589
|
-
},
|
|
3590
|
-
"range": {
|
|
3591
|
-
"type": "string",
|
|
3592
|
-
"description": "Optional A1-style range or engine-defined range selector for spreadsheet-like assets.",
|
|
3593
|
-
"examples": ["A1:D8", "Revenue!A1:D8"]
|
|
3594
|
-
},
|
|
3595
|
-
"columns": {
|
|
3596
|
-
"type": "array",
|
|
3597
|
-
"items": { "type": "string" },
|
|
3598
|
-
"description": "Optional ordered columns or fields to read from the source. When omitted, renderers may use the source's own header row or schema.",
|
|
3599
|
-
"examples": [["Quarter", "Revenue"], ["Month", "Revenue", "Costs"]]
|
|
3600
|
-
}
|
|
3601
|
-
}
|
|
3602
|
-
},
|
|
3603
3549
|
"ChartDataCell": {
|
|
3604
3550
|
"oneOf": [
|
|
3605
3551
|
{ "type": "string" },
|
|
@@ -3792,7 +3738,7 @@
|
|
|
3792
3738
|
"properties": {
|
|
3793
3739
|
"narratives": {
|
|
3794
3740
|
"$ref": "#/$defs/CatalogEntry",
|
|
3795
|
-
"description": "Catalog of narrative templates. Records validate against https://openpresentation.org/schema/opf-narrative/v1. Default source: https://www.pptx.gallery/narratives."
|
|
3741
|
+
"description": "Catalog of narrative templates. Records validate against https://openpresentation.org/schema/opf-narrative/v1. A custom narrative goes in 'catalogs.narratives.records' and is referenced by its id from the root 'narrative'. Default source: https://www.pptx.gallery/narratives."
|
|
3796
3742
|
},
|
|
3797
3743
|
"themes": {
|
|
3798
3744
|
"$ref": "#/$defs/CatalogEntry",
|
|
@@ -3850,7 +3796,7 @@
|
|
|
3850
3796
|
"description": "Ordered search path of sources. The engine tries each in order; first match wins. The default catalog for the kind is appended implicitly at the end."
|
|
3851
3797
|
}
|
|
3852
3798
|
],
|
|
3853
|
-
"description": "Single source or an ordered search path of sources. When omitted, the engine falls back to the default catalog at https://www.pptx.gallery/<kind>, resolved from its bundled snapshot.
|
|
3799
|
+
"description": "Single source or an ordered search path of sources. When omitted, the engine falls back to the default catalog at https://www.pptx.gallery/<kind>, resolved from its bundled snapshot. Engines never fetch a source. The host loads the records itself and passes them to the renderer and exporter as a 'catalogSources' map from the source string to its records; a source with no entry in that map contributes no records, except the default catalog's own URL and the '@openpresentation/opf' package, which resolve from the bundled snapshot."
|
|
3854
3800
|
},
|
|
3855
3801
|
"records": {
|
|
3856
3802
|
"type": "array",
|
|
@@ -3861,7 +3807,7 @@
|
|
|
3861
3807
|
},
|
|
3862
3808
|
"CatalogSource": {
|
|
3863
3809
|
"type": "string",
|
|
3864
|
-
"description": "Catalog source location. Accepts:\n- A bare URL pointing at a catalog directory (e.g. 'https://acme.com/decks/narratives'); record ids resolve to '<base>/<id>.json'.\n- A URL pointing at an index file (e.g. 'https://acme.com/decks/narratives/index.json'); records are resolved relative to the index file's directory and the index entries describe what's available. Index files follow https://openpresentation.org/schema/opf-catalog-index/v1; the default catalog's index is https://www.pptx.gallery/<kind>/index.json.\n- A package reference of the form 'pkg:<package>[/<subpath>]';
|
|
3810
|
+
"description": "Catalog source location. Accepts:\n- A bare URL pointing at a catalog directory (e.g. 'https://acme.com/decks/narratives'); record ids resolve to '<base>/<id>.json'.\n- A URL pointing at an index file (e.g. 'https://acme.com/decks/narratives/index.json'); records are resolved relative to the index file's directory and the index entries describe what's available. Index files follow https://openpresentation.org/schema/opf-catalog-index/v1; the default catalog's index is https://www.pptx.gallery/<kind>/index.json.\n- A package reference of the form 'pkg:<package>[/<subpath>]'. 'pkg:@openpresentation/opf/...' resolves from the bundled snapshot; any other package reference needs the host to supply its records in 'catalogSources'.\n\nEngines never fetch or install anything for a source: the host supplies the records of every source other than the bundled default, as a 'catalogSources' map from the source string to its records.",
|
|
3865
3811
|
"examples": [
|
|
3866
3812
|
"https://www.pptx.gallery/narratives",
|
|
3867
3813
|
"https://acme.com/decks/narratives/index.json",
|