Repository navigation
Expand file tree
/
Copy pathopf.schema.json
More file actions
5828 lines (5828 loc) · 340 KB
/
Copy pathopf.schema.json
File metadata and controls
5828 lines (5828 loc) · 340 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://openpresentation.org/schema/opf/v1",
"$comment": "The v1 in the $id is the pre-1.0 line, not a frozen contract: this schema may change in any 0.x minor release. The release that produced this copy is the version of the @openpresentation/opf package it came from (opf --version; opf schemas lists it next to each id). See docs/schema-versioning.md.",
"title": "Presentation",
"description": "Open-source JSON format for describing PowerPoint presentations. Agents describe narratives, content, audience, reusable assets, and design — the engine handles OOXML complexity.\n\nContent references (Slide.layout, design.theme, design.colorScheme / design.colorScheme.id, design.fontScheme / design.fontScheme.id, narrative, audience, purpose and tone, and the colorScheme / fontScheme a theme record names) point at catalog records. Each is a bare 'id' or a 'name:id' whose prefix names a group in 'catalogs'. A bare id resolves in catalogs.custom, then in the records embedded under catalogs.default, then in the catalog the host registered for catalogs.default.source (or the host's default catalog when 'default' is omitted); 'name:id' resolves in catalogs.<name>, then in the catalog the host registered for its source. A reference that resolves nowhere is the warning opf/unresolved-reference, and the slide uses automatic composition or the engine default. Engines never fetch a catalog: a saved document embeds every record it uses, and hosts register any other catalog by its source string. See docs/default-catalog.md.\n\nchart.type, the language tag and the keys of Organization.socials / Speaker.socials are engine vocabularies, validated directly with no catalog lookup. When a document names no theme, color scheme or font scheme, every engine uses the same small engine defaults (spec/reference/engine-defaults.json). Asset references use 'asset:<id>' strings that point into the top-level assets registry, and content color fields (rich-text runs, styled table cells) accept hex values, color-scheme slot/role names, or 'var:<id>' references into the top-level variables map.",
"type": "object",
"required": ["slides"],
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"const": "https://openpresentation.org/schema/opf/v1",
"description": "Optional OPF schema version. When omitted, validators and engines should assume the latest supported OPF schema."
},
"id": {
"type": "string",
"minLength": 1,
"description": "Optional identity of the document: an opaque, non-empty string that says 'this is the same deck' across saves, exports, imports and publishes. Core never makes one (it has no clock and no randomness); 'opf create' and hosts do, and a UUID is recommended. Any string is valid, so a host keeps the deck id it already has (such as 'dk_5e8f1a7b3c909d426b1e7c3a'). Kept on save, export, import and publish; a duplicate, a fork or a deck filled from a template is a new deck and gets a new id. PowerPoint round trip: written to the OPF_DOCUMENT_V1 tag and restored on import, and an export with provenance off drops it. The id is a claim, not a credential: a file can carry any id, so a host must check who owns an id before it selects a stored deck.",
"examples": ["0192f4c8-6b1e-7c3a-9d42-5e8f1a7b3c90", "dk_5e8f1a7b3c909d426b1e7c3a"]
},
"name": {
"type": "string",
"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'.",
"examples": ["Q4 2026 Business Review", "Series B Pitch — Acme", "The Future of Agentic Workflows"]
},
"description": {
"type": "string",
"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'.",
"examples": ["Quarterly business review covering revenue, product, and hiring milestones for the executive team."]
},
"filename": {
"type": "string",
"description": "Optional base filename for exports (without extension). The opf CLI (convert) 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.",
"examples": ["q4-2026-business-review", "acme-series-b-pitch"]
},
"organization": {
"oneOf": [
{ "$ref": "#/$defs/Organization" },
{
"type": "array",
"items": { "$ref": "#/$defs/Organization" },
"minItems": 1
}
],
"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 cover and section logo, the 'socials' header/footer field and the 'organization.<field>' built-in variables; the others are available by id as 'organization.<id>.<field>' and are not drawn automatically."
},
"speaker": {
"oneOf": [
{ "$ref": "#/$defs/Speaker" },
{
"type": "array",
"items": { "$ref": "#/$defs/Speaker" },
"minItems": 1
}
],
"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>' read it, 'speakers' lists every name, and 'speaker.<id>.<field>' addresses one by id. A speaker is drawn nowhere else."
},
"author": {
"oneOf": [
{ "type": "string" },
{
"type": "array",
"items": { "type": "string" },
"minItems": 1
}
],
"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 ', ').",
"examples": ["Bob Lee", ["Bob Lee", "Carla Diaz"]]
},
"audience": {
"oneOf": [
{ "type": "string" },
{ "$ref": "#/$defs/Audience" },
{
"type": "array",
"items": {
"oneOf": [
{ "type": "string" },
{ "$ref": "#/$defs/Audience" }
]
},
"minItems": 1
}
],
"description": "Intended audiences for the presentation. Accepts any of:\n- A single string: an audiences reference ('executive', or 'acme:board' for a record of the catalogs.acme group), or free-form text ('Series B investors'). A string that is a bare id or 'name:id' is a reference; any other string is free text and is never looked up.\n- A single inline Audience object, for custom audience metadata or overrides on a referenced record. Object form has the fields of https://openpresentation.org/schema/opf-audience/v1.\n- An array of strings and/or inline Audience objects, for more than one audience.\n\nA reference resolves like every content reference (see catalogs); one that resolves nowhere is the warning opf/unresolved-reference. Nothing is drawn from the audience.",
"examples": [
"executive",
"Biology Students and Wildlife Enthusiasts",
["executive"],
["board", "c-suite"],
{ "id": "executive", "attentionBudgetMinutes": 20 },
["Series B investors", "acme:board"],
[
{ "id": "executive", "attentionBudgetMinutes": 20 },
{
"name": "Regional Sales Leaders",
"seniority": "director",
"technicalFluency": "medium",
"decisionPower": "advisory"
}
]
]
},
"purpose": {
"oneOf": [
{ "type": "string" },
{ "$ref": "#/$defs/Purpose" }
],
"description": "Primary goal of the presentation. Accepts either:\n- A string: a purposes reference ('decide', or 'acme:fundraise' for a record of the catalogs.acme group), or a free-form goal ('Raise a Series B round of $30M'). A string that is a bare id or 'name:id' is a reference; any other string is free text and is never looked up.\n- An inline Purpose object for custom purpose metadata or overrides on a referenced record. Object form has the fields of https://openpresentation.org/schema/opf-purpose/v1.\n\nA reference resolves like every content reference (see catalogs); one that resolves nowhere is the warning opf/unresolved-reference. Nothing is drawn from the purpose.",
"examples": [
"Raise a Series B round of $30M",
"align",
"educate",
"acme:fundraise",
{ "id": "decide", "outcome": "Approve the Q4 hiring plan" },
{ "name": "Secure renewal", "outcome": "Customer signs a 12-month renewal" }
]
},
"language": {
"oneOf": [{ "$ref": "#/$defs/LanguageTag" }, { "$ref": "#/$defs/Language" }],
"description": "Language of the presentation content, an engine vocabulary: a BCP-47 language tag, validated directly with no catalog lookup. Accepts either:\n- A BCP-47 tag ('en-US', 'en-GB', 'ja', 'zh-Hans', 'ar-SA').\n- An inline Language object: a 'bcp47' tag plus overrides of what engines know about it (name, ooxmlLang, script, direction, the script font schemes).\n\nEngines know the script, base direction, OOXML language tag and default script fonts of the tags in spec/reference/engine-vocabularies.json; any other well-formed tag is accepted and its script is inferred from the tag. Language names and descriptions are catalog display metadata, not part of the document.",
"examples": [
"en-US",
"en-GB",
"es-MX",
"ja",
"fr",
{ "bcp47": "en-US", "fontScheme": "aptos", "googleFontScheme": "roboto" },
{ "bcp47": "ar-SA", "name": "Arabic (Saudi Arabia)", "direction": "rtl", "script": "Arab" }
]
},
"tone": {
"oneOf": [{ "$ref": "#/$defs/CatalogReference" }, { "$ref": "#/$defs/Tone" }],
"description": "Desired tone for the presentation. Accepts either:\n- A tones reference: a bare id ('formal') or 'name:id' for a record of a named catalogs group.\n- An inline Tone object for custom tone metadata or overrides on a referenced record. Object form has the fields of https://openpresentation.org/schema/opf-tone/v1.\n\nA reference resolves like every content reference (see catalogs); one that resolves nowhere is the warning opf/unresolved-reference. Nothing is drawn from the tone.",
"examples": [
"formal",
"casual",
"inspirational",
"technical",
"persuasive",
"acme:house-voice",
{ "id": "formal", "voiceCues": ["Use precise, concise language."] },
{ "name": "Founder direct", "voiceCues": ["Use first person sparingly.", "Make the ask concrete."] }
]
},
"takeaway": {
"oneOf": [
{ "type": "string" },
{
"type": "array",
"items": { "type": "string" },
"minItems": 1
}
],
"description": "Audience-facing takeaway the presentation should leave behind. Array form supports multiple takeaways. Deck-level intent used by AI to seed and pressure-test slide content.",
"examples": [
"Agent latency is the new bottleneck for AI products.",
[
"Agent latency is the new bottleneck for AI products.",
"Our runtime is 8x faster than the next-best option.",
"Customers see ROI within the first quarter."
]
]
},
"duration": {
"type": "integer",
"minimum": 1,
"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."
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "Free-form labels used for categorization, search, and filtering. Lowercase kebab-case is recommended for consistency across a deck library.",
"examples": [["qbr", "internal", "fy26-q4"], ["pitch", "fundraising", "confidential"]]
},
"design": {
"$ref": "#/$defs/Design",
"description": "Optional design system covering theme, color scheme, font scheme, dimensions, background, logo, watermark, header, and footer applied to the deck. When omitted, engines use their default design configuration."
},
"variables": {
"$ref": "#/$defs/Variables",
"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."
},
"template": {
"type": "boolean",
"description": "Marks this document as a template: an incomplete OPF file. A template declares variables (top-level 'variables') and references them from content, and may leave required variables unfilled; validation then reports the unfilled variables instead of failing, and previews and exports use each variable's 'example'. Filling a template (resolveVariables, or 'opf fill') returns a normal deck with this marker removed. Absent or false: a normal deck, where an unfilled required variable is an error. See docs/templates-and-variables.md.",
"default": false
},
"narrative": {
"$ref": "#/$defs/CatalogReference",
"description": "The deck's narrative plan, by reference: a bare narratives id ('classic-story') or 'name:id' for a record of a named catalogs group ('acme:founder-pitch'). The deck holds only this pointer; the plan (the arc, its beats and what each beat must do) lives in the record, which has the fields of https://openpresentation.org/schema/opf-narrative/v1. A narrative the document defines itself is a record in catalogs.custom.narratives, referenced here by its key.\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\nThe reference resolves like every content reference (see catalogs); one that resolves nowhere is the warning opf/unresolved-reference, never an error.\n\nDeck-level concerns that are not part of the storyline (audience, tone, takeaway, duration) live as siblings on the presentation root.",
"examples": ["classic-story", "problem-solution", "scqa", "pitch-deck", "acme:founder-pitch"]
},
"slides": {
"type": "array",
"items": { "$ref": "#/$defs/Slide" },
"minItems": 1,
"description": "Ordered array of slides that make up the presentation."
},
"references": {
"type": "array",
"items": { "$ref": "#/$defs/Reference" },
"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.",
"examples": [[{ "id": "gartner-2026", "text": "Gartner, Market Guide for Presentation Tooling, 2026", "link": "https://www.gartner.com" }]]
},
"datasets": {
"$ref": "#/$defs/Datasets",
"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. A dataset says where it came from with 'datasource', 'query', 'retrieved', 'version', 'sha256' and 'generator' (see 'datasources'). See docs/chart-table-data.md."
},
"datasources": {
"$ref": "#/$defs/DataSources",
"description": "Optional data sources, keyed by id: the places data comes from (a warehouse, a workbook, an API), described once. A dataset or inline chart data names one with 'datasource': \"<id>\" and records what it took, when and by whom beside its own columns and rows. A data source never holds credentials. Engines never read, fetch or refresh a data source; they keep the entries through editing, export and re-import. An unknown id is the error opf/datasource-unknown. See docs/data-sources.md."
},
"assets": {
"$ref": "#/$defs/Assets",
"description": "Optional reusable asset registry for images, data files, videos, documents, fonts, and other resources referenced elsewhere in the deck via 'asset:<id>' strings."
},
"icons": {
"$ref": "#/$defs/Icons",
"description": "Optional deck-local icons, keyed by name: an author's or an LLM's own SVG, written once and named by any `icon` of the deck. See docs/icons.md."
},
"catalogs": {
"$ref": "#/$defs/Catalogs",
"description": "The catalog records this document embeds, grouped by the catalog they came from: 'default' (the catalog bare ids come from), 'custom' (records the document defines itself) and any number of named catalogs ('acme', referenced as 'acme:<id>'). A saved document embeds every record it references, so it renders the same with no catalog registered. See Catalogs."
},
"extensions": {
"type": "object",
"description": "Custom data passthrough for agent workflows; ignored by the engine but preserved across read/write round-trips."
}
},
"$defs": {
"Assets": {
"type": "object",
"description": "Reusable asset registry for resources used by slides, charts, metadata, and design. Keys are stable asset ids referenced elsewhere as 'asset:<id>'. Each asset can be a source string or an object with src plus optional metadata.",
"propertyNames": {
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._-]*$"
},
"additionalProperties": { "$ref": "#/$defs/Asset" },
"examples": [
{
"acme-logo": "./assets/acme-logo.svg",
"watermark": { "src": "./assets/watermark.png", "alt": "Acme watermark" },
"revenue": { "src": "./data/revenue.csv", "mediaType": "text/csv" }
}
]
},
"Asset": {
"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.",
"oneOf": [
{
"type": "string",
"examples": ["asset:acme-logo", "https://cdn.acme.com/image.png", "./assets/image.png", "data:image/png;base64,..."]
},
{
"type": "object",
"additionalProperties": false,
"required": ["src"],
"properties": {
"src": {
"type": "string",
"description": "Resource source. Accepts an 'asset:<id>' reference, HTTPS URL, data URI, relative path resolved against the OPF file location, or local filesystem path.",
"examples": ["asset:acme-logo", "./assets/logo.svg", "https://cdn.acme.com/logo.png", "data:image/svg+xml;base64,...", "/Users/alice/decks/data/revenue.csv"]
},
"alt": {
"type": "string",
"description": "Alternative text for images and other visual assets."
},
"title": {
"type": "string",
"description": "Human-readable asset title for editors and asset pickers."
},
"description": {
"type": "string",
"description": "Optional notes about the asset's contents, provenance, or intended use."
},
"mediaType": {
"type": "string",
"description": "Optional MIME media type when it cannot be inferred from src.",
"examples": ["image/svg+xml", "image/png", "text/csv", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"]
}
}
}
]
},
"ImagePayload": {
"description": "An image source and optional image-local text callouts. Other resource kinds use Asset and do not accept callouts.",
"oneOf": [
{
"type": "string",
"examples": [
"asset:acme-logo",
"https://cdn.acme.com/image.png",
"./assets/image.png",
"data:image/png;base64,..."
]
},
{
"type": "object",
"additionalProperties": false,
"required": [
"src"
],
"properties": {
"src": {
"type": "string",
"description": "Image source. Accepts an 'asset:<id>' reference, HTTPS URL, data URI, relative path resolved against the OPF file location, or local filesystem path.",
"examples": [
"asset:acme-logo",
"./assets/logo.svg",
"https://cdn.acme.com/logo.png",
"data:image/svg+xml;base64,..."
]
},
"alt": {
"type": "string",
"description": "Alternative text for the image."
},
"title": {
"type": "string",
"description": "Human-readable asset title for editors and asset pickers."
},
"description": {
"type": "string",
"description": "Optional notes about the asset's contents, provenance, or intended use."
},
"mediaType": {
"type": "string",
"description": "Optional MIME media type when it cannot be inferred from src.",
"examples": [
"image/svg+xml",
"image/png",
"image/webp"
]
},
"callouts": {
"type": "array",
"items": {
"$ref": "#/$defs/ImageCallout"
},
"description": "Editable text panels over this image. Coordinates are fractions of its visible frame, measured from the physical top-left even in RTL. Panels are drawn above masks and overlays; overflowing text is reported, never clipped or shrunk below the body role."
}
}
}
]
},
"ImageCallout": {
"type": "object",
"additionalProperties": false,
"required": [
"text",
"x",
"y",
"width",
"height"
],
"properties": {
"text": {
"type": "string",
"description": "Plain editable text. Native edits preserve current words; an empty string is retained."
},
"x": {
"$ref": "#/$defs/FiniteNumber",
"description": "Signed fraction of the visible image frame width from its physical left edge. A callout points at pixels, and a picture never mirrors, so this coordinate is physical in every language. Negative values or values greater than 1 position the panel outside the image; its text is not clipped to the image. The slide crops what lies outside it."
},
"y": {
"$ref": "#/$defs/FiniteNumber",
"description": "Signed fraction of the visible image frame height from its physical top edge. Negative values or values greater than 1 position the panel outside the image; its text is not clipped to the image. The slide crops what lies outside it."
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1,
"description": "Positive fraction of the visible image frame width, at most 1. The signed x origin controls placement outside the frame."
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1,
"description": "Positive fraction of the visible image frame height, at most 1. The signed y origin controls placement outside the frame."
}
}
},
"Audience": {
"type": "object",
"additionalProperties": false,
"description": "Inline audience metadata for the presentation. Use 'id' to reference an audiences record (a bare id or 'name:id') and override selected fields, or use 'name' for a custom inline audience.",
"anyOf": [
{ "required": ["id"] },
{ "required": ["name"] }
],
"properties": {
"id": {
"$ref": "#/$defs/CatalogReference",
"description": "Optional audiences reference (a bare id or 'name:id') resolved before applying the inline overrides.",
"examples": ["executive", "board", "engineering-team"]
},
"name": {
"type": "string",
"description": "Human-readable audience name shown in pickers."
},
"summary": {
"type": "string",
"description": "One-sentence positioning of the audience."
},
"description": {
"type": "string",
"description": "Longer prose describing the audience and how to address them."
},
"seniority": {
"type": "string",
"enum": ["ic", "manager", "director", "vp", "c-suite", "mixed"],
"description": "Typical seniority level of the audience."
},
"technicalFluency": {
"type": "string",
"enum": ["low", "medium", "high", "mixed"],
"description": "Typical technical fluency of the audience."
},
"decisionPower": {
"type": "string",
"enum": ["informational", "advisory", "decision-maker"],
"description": "Whether the audience is expected to be informed, advise, or decide."
},
"attentionBudgetMinutes": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Realistic upper bound on focused attention for a single presentation, in minutes."
},
"recommendedNarratives": {
"type": "array",
"items": { "type": "string" },
"description": "Soft cross-link: narrative ids that work well for this audience, for picker UIs. Never resolved, embedded or validated as references."
},
"recommendedTones": {
"type": "array",
"items": { "type": "string" },
"description": "Soft cross-link: tone ids that work well for this audience, for picker UIs. Never resolved, embedded or validated as references."
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "Free-form labels for filtering and search."
}
}
},
"Purpose": {
"type": "object",
"additionalProperties": false,
"description": "Inline purpose metadata for the presentation. Use 'id' to reference a purposes record (a bare id or 'name:id') and override selected fields, or use 'name' for a custom inline purpose.",
"anyOf": [
{ "required": ["id"] },
{ "required": ["name"] }
],
"properties": {
"id": {
"$ref": "#/$defs/CatalogReference",
"description": "Optional purposes reference (a bare id or 'name:id') resolved before applying the inline overrides.",
"examples": ["inform", "decide", "align", "persuade", "educate"]
},
"name": {
"type": "string",
"description": "Human-readable purpose name shown in pickers."
},
"summary": {
"type": "string",
"description": "One-sentence positioning of the purpose."
},
"description": {
"type": "string",
"description": "Longer prose describing when to use this purpose and how it should shape a deck."
},
"outcome": {
"type": "string",
"description": "Desired audience outcome after the presentation."
},
"successCriteria": {
"type": "array",
"items": { "type": "string" },
"description": "Observable signals that the deck accomplished this purpose."
},
"recommendedNarratives": {
"type": "array",
"items": { "type": "string" },
"description": "Soft cross-link: narrative ids that work well for this purpose, for picker UIs. Never resolved, embedded or validated as references."
},
"recommendedTones": {
"type": "array",
"items": { "type": "string" },
"description": "Soft cross-link: tone ids that work well for this purpose, for picker UIs. Never resolved, embedded or validated as references."
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "Free-form labels for filtering and search."
}
}
},
"Language": {
"type": "object",
"additionalProperties": false,
"description": "Inline language metadata for the presentation: a BCP-47 'bcp47' tag plus overrides of what engines know about it. Languages are an engine vocabulary, not catalog records, so there is no 'id'.",
"required": ["bcp47"],
"not": { "required": ["id"] },
"properties": {
"name": {
"type": "string",
"description": "Human-readable language name.",
"examples": ["English", "English (United Kingdom)", "Arabic (Saudi Arabia)"]
},
"bcp47": {
"$ref": "#/$defs/LanguageTag",
"description": "BCP-47 language tag used for locale-aware rendering, proofing, and accessibility metadata. Use 'en-GB' for UK English; 'en-UK' is not a valid BCP-47 region form.",
"examples": ["en", "en-US", "en-GB", "ar-SA", "zh-Hans"]
},
"ooxmlLang": {
"type": "string",
"description": "Culture tag for OOXML text-run language attributes (a:rPr/@lang, a:endParaRPr/@lang), in the language-[Script-]REGION form Office recognizes (e.g. 'ja-JP', 'ar-SA', 'ms-MY', 'nb-NO', 'fil-PH', 'zh-CN'). Without it, engines emit the curated tag of their language vocabulary (spec/reference/engine-vocabularies.json) for a tag without a region, and a region-bearing tag as written. Curated rather than inferred so output does not depend on the runtime's locale data.",
"examples": ["en-US", "ja-JP", "ar-SA", "ms-MY", "nb-NO", "zh-CN"]
},
"code": {
"type": "string",
"description": "ISO 639-3 or 639-2 language code carried for engines that prefer ISO codes.",
"examples": ["ENG", "ARA", "JPN", "ZHO"]
},
"direction": {
"type": "string",
"enum": ["ltr", "rtl"],
"description": "Base text direction for the language. When omitted, engines derive it from the script: Arabic (Arab), Hebrew (Hebr), Syriac (Syrc), Thaana (Thaa), N'Ko (Nkoo), Adlam (Adlm), Samaritan (Samr), Mandaic (Mand) and Hanifi Rohingya (Rohg) are right-to-left; every other script is left-to-right. The engine language vocabulary (spec/reference/engine-vocabularies.json) states it for the tags it knows. A right-to-left deck mirrors its layout, and one rule says what follows it. Layout words and layout coordinates are logical: 'start' and 'end' in alignments, header and footer zones, the cells blocks name with 'region', image placement, overlay bands and shape anchors, the order of side-by-side blocks and columns, and an overlay shape's 'x' all run from the edge the deck starts on. Coordinates and sides that name pixels of a picture or parts of a plot are physical in every language: ImageFocus, ImageCallout 'x', a chart's 'legend' and data label 'position', and the 'left' and 'right' of table cell borders and paddings and of a shape's padding."
},
"script": {
"type": "string",
"description": "ISO 15924 script code of the language's writing system. The script selects the OOXML font slot the language's text uses: East Asian scripts (Hans, Hant, Hani, Jpan, Kore, Hang, Hira, Kana, Bopo, Yiii) use the eastAsian slot; complex scripts (for example Arab, Hebr, Syrc, Thaa, Deva, Beng, Guru, Gujr, Orya, Taml, Telu, Knda, Mlym, Sinh, Thai, Laoo, Tibt, Mymr, Khmr, Mong) use the complexScript slot; every other script (Latn, Cyrl, Grek, Armn, Geor, Ethi, ...) uses the latin slot. When omitted, engines infer it from the BCP-47 tag. The engine language vocabulary (spec/reference/engine-vocabularies.json) states it for the tags it knows. See docs/programs/font-fidelity-everywhere/script-font-model.md.",
"examples": ["Latn", "Cyrl", "Grek", "Arab", "Hebr", "Jpan", "Kore", "Hans", "Hant", "Deva", "Thai"]
},
"fontScheme": {
"$ref": "#/$defs/CatalogReference",
"description": "Font-scheme reference (a bare id or 'name:id') for this language's script slot when targeting PowerPoint output. Its major/minor families fill the language's script slot (eastAsian or complexScript, chosen by 'script') unless the effective design font scheme sets that slot itself; the latin slot always follows the design font scheme. Without it, engines use the default script fonts of their language vocabulary."
},
"googleFontScheme": {
"$ref": "#/$defs/CatalogReference",
"description": "Font-scheme reference (a bare id or 'name:id') used in place of 'fontScheme' when resolving script fonts for Google Slides output."
},
"summary": {
"type": "string",
"description": "One-sentence note about coverage or font defaults."
},
"description": {
"type": "string",
"description": "Longer prose describing the language record and any font-pairing rationale."
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "Free-form labels for filtering and search."
}
}
},
"Tone": {
"type": "object",
"additionalProperties": false,
"description": "Inline tone metadata for the presentation. Use 'id' to reference a tones record (a bare id or 'name:id') and override selected fields, or use 'name' for a custom inline tone.",
"anyOf": [
{ "required": ["id"] },
{ "required": ["name"] }
],
"properties": {
"id": {
"$ref": "#/$defs/CatalogReference",
"description": "Optional tones reference (a bare id or 'name:id') resolved before applying the inline overrides.",
"examples": ["formal", "casual", "technical", "persuasive"]
},
"name": {
"type": "string",
"description": "Human-readable tone name shown in pickers."
},
"summary": {
"type": "string",
"description": "One-sentence positioning of the tone."
},
"description": {
"type": "string",
"description": "Longer prose describing the tone and the kinds of decks it suits."
},
"voiceCues": {
"type": "array",
"items": { "type": "string" },
"description": "Short directives that shape AI generation toward this tone."
},
"avoid": {
"type": "array",
"items": { "type": "string" },
"description": "Anti-patterns that AI generation should not produce when this tone is active."
},
"samplePhrases": {
"type": "array",
"items": { "type": "string" },
"description": "Short example phrases that exemplify this tone."
},
"recommendedNarratives": {
"type": "array",
"items": { "type": "string" },
"description": "Soft cross-link: narrative ids this tone pairs well with, for picker UIs. Never resolved, embedded or validated as references."
},
"tags": {
"type": "array",
"items": { "type": "string" },
"description": "Free-form labels for filtering and search."
}
}
},
"Organization": {
"type": "object",
"additionalProperties": false,
"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 cover and section logo (unless design.logo overrides it) and the 'socials' header/footer field (its socials). Every field is also a built-in variable ('{{organization.name}}', 'organization.<id>.<field>'), and every logo a slide-scoped image ('var:organization.logo.icon', 'var:organization.<id>.logo'). Nothing else about an organization is drawn automatically. See docs/templates-and-variables.md.",
"required": ["id", "name"],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"description": "Stable identifier for the organization, used to reference it from Speaker.organization and to address it in built-in variables as 'organization.<id>.<field>'. Must be unique among organizations (a duplicate is a validation error).",
"examples": ["acme", "acme-corp", "devconf-2026"]
},
"name": {
"type": "string",
"description": "Display name. The built-in variable 'organization.name' (primary organization) or 'organization.<id>.name' carries it into any string, such as a header or footer text of '{{organization.name}}'.",
"examples": ["Acme Corp", "DevConf 2026", "Beta Industries"]
},
"legalName": {
"type": "string",
"description": "Optional legal entity name when it differs from the display name. Never drawn automatically; available as the built-in variable 'organization.legalName'.",
"examples": ["Acme Corporation, Inc.", "Beta Industries, LLC"]
},
"logo": {
"oneOf": [
{ "$ref": "#/$defs/Asset" },
{ "$ref": "#/$defs/OrganizationLogo" }
],
"description": "The organization's logo. A path, URL or Asset is one logo for every shape; an object gives up to four shapes (full, stacked, icon, wordmark), each a path or Asset, or { onLight, onDark } for the two backgrounds. A path is resolved against the OPF file location; an HTTPS URL, data URI or 'asset:<id>' reference works too. SVG (preferred for vector logos) or PNG with transparency are typical. The primary organization's full logo (role 'primary', else the first organization) is drawn on cover and section slides unless design.logo names another or is false. Every logo is also a slide-scoped built-in image, placed with a whole-field reference in any image field: 'var:organization.logo' (the full logo), 'var:organization.logo.icon' (likewise stacked, wordmark, full), and 'var:organization.<id>.logo' or 'var:organization.<id>.logo.<shape>' for another organization. A missing shape falls back to full, and full to the first defined of wordmark, stacked and icon. The onLight or onDark value is chosen for each slide's background; a missing one uses the other. See docs/templates-and-variables.md and docs/design-resolution.md.",
"examples": [
"./assets/acme-logo.svg",
{ "full": "./assets/acme-logo.svg", "icon": "./assets/acme-mark.svg" },
{ "full": { "onLight": "./assets/acme-logo.svg", "onDark": "./assets/acme-logo-white.svg" }, "icon": "./assets/acme-mark.svg" },
"https://cdn.acme.com/logo.svg",
"asset:acme-logo"
]
},
"domain": {
"type": "string",
"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'.",
"examples": ["acme.com", "beta-industries.io", "devconf.org"]
},
"email": {
"type": "string",
"format": "email",
"description": "General contact email for the organization. Never drawn automatically; available as the built-in variable 'organization.email'.",
"examples": ["hello@acme.com", "sales@acme.com", "info@beta-industries.io"]
},
"phone": {
"type": "string",
"description": "Main contact phone number for the organization. E.164 format is recommended. Never drawn automatically; available as the built-in variable 'organization.phone'.",
"examples": ["+14155551234", "+442071838750"]
},
"tagline": {
"type": "string",
"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}}'.",
"examples": ["Build the future of work", "Infrastructure for AI agents", "Where teams ship faster"]
},
"role": {
"type": "string",
"enum": ["primary", "partner", "client", "sponsor", "host"],
"description": "Role of the organization relative to the presentation. Only 'primary' has behavior: it selects the primary organization (cover and section logo, the 'socials' header/footer field, 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."
},
"socials": {
"$ref": "#/$defs/Socials",
"description": "Optional social media handles or URLs for the organization. The primary organization's socials render in header/footer zones that set socials: true; otherwise they are authoring metadata."
}
}
},
"Speaker": {
"type": "object",
"additionalProperties": false,
"description": "A person presenting the deck. A speaker is drawn only through built-in variables ('{{speaker.name}}' inside any string, a header or footer text included, and 'var:speaker.photo' as a whole image field). No layout, cover or bio slide places a speaker on its own. See docs/templates-and-variables.md.",
"required": ["id", "name"],
"properties": {
"id": {
"type": "string",
"pattern": "^[a-zA-Z0-9_-]+$",
"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}}'.",
"examples": ["alice", "alice-chen", "speaker-1"]
},
"name": {
"type": "string",
"description": "Display name. Built-in variable 'speaker.name' (first speaker) or 'speaker.<id>.name'; every name is listed by 'speakers'.",
"examples": ["Alice Chen", "Bob Lee", "Dr. Carla Diaz"]
},
"title": {
"type": "string",
"description": "Role or title. Built-in variable 'speaker.title' (or 'speaker.<id>.title'), for example in a footer text of '{{speaker.name}}, {{speaker.title}}'.",
"examples": ["VP of Engineering", "Founder & CEO", "Chief Product Officer", "Senior Staff Engineer"]
},
"photo": {
"$ref": "#/$defs/Asset",
"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.",
"examples": [
"https://cdn.acme.com/headshots/alice.jpg",
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAABAAEDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAr/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AJ//2Q==",
"./assets/photos/alice.png",
"asset:photo-alice"
]
},
"email": {
"type": "string",
"format": "email",
"description": "Contact email. Never drawn automatically; available as the built-in variable 'speaker.email'.",
"examples": ["alice@acme.com", "alice.chen@acme.com"]
},
"phone": {
"type": "string",
"description": "Contact phone number for the speaker. E.164 format is recommended. Never drawn automatically; available as the built-in variable 'speaker.phone'.",
"examples": ["+14155551234", "+442071838750"]
},
"bio": {
"type": "string",
"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.",
"examples": [
"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."
]
},
"organization": {
"type": "string",
"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.",
"examples": ["acme", "beta", "devconf-2026"]
},
"socials": {
"$ref": "#/$defs/Socials",
"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)."
}
}
},
"Socials": {
"type": "object",
"description": "Social media handles or URLs, keyed by platform. The keys are an engine vocabulary validated directly (no catalog lookup): engines link a handle with the platform's URL pattern and handle prefix (spec/reference/engine-vocabularies.json). Each value is a string, either a full URL or a platform handle (e.g., '@acme'). Brand colors and icons are catalog display metadata for authoring UIs; engines render the profile URL, not icons or brand colors. Used both for organization and speaker records.",
"additionalProperties": {
"type": "string",
"description": "Handle or URL for the platform identified by the property key."
},
"examples": [
{
"linkedin": "https://linkedin.com/in/alice-chen",
"x": "@alicechen",
"github": "alicechen"
},
{
"linkedin": "https://linkedin.com/company/acme",
"bluesky": "acme.bsky.social",
"mastodon": "https://hachyderm.io/@acme"
}
],
"propertyNames": {
"enum": ["linkedin", "x", "github", "youtube", "instagram", "facebook", "tiktok", "threads", "mastodon", "bluesky"],
"description": "Platform key, one of the engine's social platforms."
}
},
"Design": {
"type": "object",
"additionalProperties": false,
"description": "Visual design system applied to the presentation; individual slides may override fields via Slide.design.",
"properties": {
"theme": {
"$ref": "#/$defs/CatalogReference",
"description": "Theme for the deck: a themes reference, a bare id ('minimal') or 'name:id' ('acme:brand'). The theme supplies the default color scheme, font scheme, background and dimensions; design.colorScheme, design.fontScheme, design.background and design.dimensions override it field by field. A reference that resolves nowhere is the warning opf/unresolved-reference and engines use the engine default theme.",
"examples": ["minimal", "classic", "bold", "acme:brand"]
},
"colorScheme": {
"oneOf": [
{ "type": "string" },
{ "$ref": "#/$defs/ColorScheme" }
],
"description": "Color scheme for the presentation. Accepts two forms:\n- A colorSchemes reference: a bare id ('cool-horizon') or 'name:id' ('acme:ocean').\n- Object form: a ColorScheme with an optional 'id' reference as the base plus slot/role overrides. Without 'id', the overrides apply on top of the engine default color scheme.\n\nWithout either, the theme's colorScheme applies, then the engine default color scheme.",
"examples": [
"cool-horizon",
"boost",
"burnt-orange",
{ "id": "cool-horizon", "accent1": "#FF6F61" }
]
},
"fontScheme": {
"oneOf": [
{ "type": "string" },
{ "$ref": "#/$defs/FontScheme" }
],
"description": "Font scheme for heading, body, accent, and code text. Accepts two forms:\n- A fontSchemes reference: a bare id ('aptos') or 'name:id' ('acme:inter').\n- Object form: a FontScheme with an optional 'id' reference as the base plus pair/role overrides.\n\nWithout either, the theme's fontScheme applies, then the engine default font scheme.",
"examples": [
"aptos",
"tenorite",
{ "id": "aptos", "heading": "Inter" }
]
},
"dimensions": {
"oneOf": [
{ "$ref": "#/$defs/DimensionPreset" },
{ "$ref": "#/$defs/Dimensions" }
],
"description": "Slide dimensions and aspect ratio. String shorthand such as 'widescreen' is equivalent to { preset: 'widescreen' }.",
"examples": ["widescreen", "16:9", { "preset": "16:10" }]
},
"background": {
"oneOf": [
{ "$ref": "#/$defs/BackgroundShortcut" },
{ "$ref": "#/$defs/Background" }
],
"description": "Default slide background applied across the deck unless overridden on a slide (slides.N.design.background); the resolved theme's background is the fallback. A background is the only canvas fill and never moves content. String shorthand accepts theme slots ('light1', 'light2', 'dark1', 'dark2'), hex colors, or an image source starting with 'asset:', 'https://', 'data:', './' or '../' (a cover image); object forms support theme, solid, gradient, image, or pattern fills.",
"examples": ["dark1", "#ffff00", { "type": "theme", "slot": "light1" }]
},
"variant": {
"oneOf": [
{ "$ref": "#/$defs/ColorVariantSlot" },
{ "$ref": "#/$defs/ColorVariant" }
],
"description": "Optional color variant, as a background slot ('light1', 'light2', 'dark1', 'dark2', or an accent 'accent1' to 'accent6'; the same as { background: slot }) or the object form, which is needed only for an accent order: which slot of the color scheme is the slide background (and so which are the text and the alternate surface), and optionally the order of the accents. A variant is a mapping over the same twelve-slot scheme, as PowerPoint's color map is, never a second scheme. Without it the background decides: a theme-slot background ('dark1', { type: 'theme', slot }) is the variant of that slot, a picture or gradient takes its 'tone', and any other background picks light or dark by its luminance. A slide's variant replaces the deck's whole, including its accent order. A slide's layout record can name a variant too (layout design.variant): it outranks the deck's and the theme's, and the slide's own variant or background still wins.",
"examples": ["dark1", { "background": "light1", "accents": ["accent2", "accent1", "accent3", "accent4", "accent5", "accent6"] }]
},
"logo": {
"oneOf": [
{
"type": "string",
"pattern": "^var:organization(\\.[A-Za-z0-9_-]+)?\\.logo(\\.(full|stacked|icon|wordmark))?$"
},
{ "type": "boolean", "const": false }
],
"description": "Which logo covers, section dividers and picture bullets draw. Logos live on the organization (Organization.logo); without this field covers and sections draw the primary organization's full logo and picture bullets its icon. A logo reference overrides that: 'var:organization.beta.logo' draws organization beta's logo, and a reference that names a shape ('var:organization.logo.wordmark') draws that shape everywhere this field applies. false draws no logo. A slide's design.logo overrides the deck's; absence inherits. An override naming an organization without a logo draws nothing (validation warns). Placement (reference engines): on a cover or section slide (no body payload on a heading-only layout such as title, title-subtitle or section-divider, or no layout) the logo is drawn at the top-left of the free area, inside the slide padding and below any header furniture, in a box 56 reference pixels tall and at most four times as wide; the tag/title/subtitle group then centers in the remaining span. Content slides never get an automatic logo; a header or footer zone places one with image: 'var:organization.logo.icon'. composeSlide returns the cover box as geometry.logo.",
"examples": ["var:organization.logo.wordmark", "var:organization.beta.logo", false]
},
"watermark": {
"oneOf": [
{ "type": "boolean", "const": false },
{ "$ref": "#/$defs/Asset" },
{ "$ref": "#/$defs/Watermark" }
],
"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.",
"examples": [false, "asset:watermark", { "src": "asset:watermark", "opacity": 0.08 }, { "text": "DRAFT", "opacity": 0.1 }]
},
"header": {
"oneOf": [
{ "type": "boolean", "const": false },
{ "$ref": "#/$defs/HeaderFooter" }
],
"description": "Repeated header furniture rendered outside the main slide content. Use false to suppress an inherited header.",
"examples": [false, { "start": { "text": "{{slide.section}}" }, "end": { "image": "var:organization.logo.icon" } }]
},
"footer": {
"oneOf": [
{ "type": "boolean", "const": false },
{ "$ref": "#/$defs/HeaderFooter" }
],
"description": "Repeated footer furniture rendered outside the main slide content. Use false to suppress an inherited footer.",
"examples": [
false,
{ "start": { "image": "var:organization.logo.icon" }, "center": { "text": "Confidential" }, "end": { "text": "{{slide.number}}" } }
]
},
"titleAlignment": {
"type": "string",
"enum": ["start", "center", "end"],
"description": "Default horizontal alignment for the title heading area (the title and the tag) in resolved layouts. Effective value: the slide's design, then the deck's design, then the theme's design.titleAlignment, then the layout record's design.titleAlignment, then the engine default. Logical: 'start' is the edge a paragraph starts on (the left for left-to-right text, the right for right-to-left text) and 'end' is the opposite edge."
},
"titlePosition": {
"type": "string",
"enum": ["top", "start"],
"description": "Where the heading group (tag, title and subtitle) sits on a slide with body content. 'top' (the default) stacks it above the body. 'start' sets it beside the body, in a column of two fifths of the content width (the body takes the other three fifths, a gap apart) on the reading side: the left in a left-to-right deck, the right in a right-to-left deck; design.mirror swaps the side. The group is centered down the column at its role size, aligned by titleAlignment. On a layout, the rows that hold only headings give way and the title column runs down beside the layout's body regions, which keep their own arrangement; a 'subtitle' region joins the title's group, and a layout without a title region gets the column for the slide's title. Content no region takes sits below them, across the slide. A layout whose title already shares a row with a body region keeps its own placement. On a slide without a layout the automatic composition fills the free area beside the column. A slide without body content (a cover), a slide whose blocks name cells of its grid ('region': start, center, end, top, middle, bottom: they name its columns themselves) and a portrait canvas (taller than wide) keep the title on top. Header and footer zones, placed pictures and footnotes keep their places: the column lies between them. A slide that gives up its layout for the automatic grid to set its text larger (the layout's recomposition) puts its title on top, taking the column's width for its body. Effective value: the slide's design, then the deck's design, then the theme's design.titlePosition, then the layout record's design.titlePosition, then 'top'. PPTX export: a layout record that sets 'start' (and every layout of a deck or theme that sets it) gets a slide layout with its title placeholder beside the body; a slide that sets it on another layout keeps its title's own position on that slide."
},
"contentAlignment": {
"type": "string",
"enum": ["start", "center", "end"],
"description": "Default horizontal alignment for body/content regions in resolved layouts. Effective value: the slide's design, then the deck's design, then the theme's design.contentAlignment, then the layout record's design.contentAlignment, then the engine default. The tag follows titleAlignment (and so does a subtitle in the title area, as on a cover) unless the slide's own design sets contentAlignment. Logical: 'start' is the edge a paragraph starts on (the left for left-to-right text, the right for right-to-left text) and 'end' is the opposite edge."
},
"contentBox": {
"type": "boolean",
"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 theme's design.contentBox, then the layout record's design.contentBox, then the engine default."
},
"imageFit": {
"type": "string",
"enum": ["cover", "contain", "stretch", "auto"],
"description": "Default fit of image blocks (and Slide.image) that set no fit of their own: 'cover' fills the frame and crops what overflows around the block's focus, 'contain' shows the whole picture in a frame of its own proportions, centered across and placed down the cell by the region's anchor (top by default), 'stretch' scales it to the frame exactly, 'auto' covers when the crop keeps at least 85% of the picture's width or height (its proportions read from the file, EXIF orientation applied) and contains otherwise; an SVG, or a picture whose size cannot be read from the document, is contained. Effective value: the slide's design, then the deck's design, then the theme's design.imageFit, then the layout record's design.imageFit, then 'cover'; a slide composed with no layout shows its pictures whole ('contain') instead. Backgrounds set their own fit."
},
"listBullet": {
"type": "string",
"enum": ["character", "image", "none"],
"description": "Marker style for items and bullets lists. Effective value: the slide's design, then the deck's design, then the theme's design.listBullet, then the layout record's design.listBullet, then 'character'. 'character' (the default) draws the glyph marker. 'image' draws the primary organization's icon logo (or the organization and shape design.logo names; the onDark value on dark backgrounds) as a picture bullet: a square with side 0.65 times 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. 'none' draws no marker and no hanging indent, so each entry's text (and its description) starts at the left edge of the list: use it for label-and-description lists such as pillars, team members and questions with answers. Nested levels keep their indent. A list that sets numbering still draws its numbers."
},
"listStyle": {
"type": "string",
"enum": ["stack", "rows"],
"description": "How list entries are arranged. 'stack' draws each entry's text with its description under it, the entries close together, as before. 'rows' draws ruled rows: a hairline between two first-level entries (the scheme's border neutral, 1 reference pixel), 0.8 em between rows and no bullet (a numbered list keeps its numbers); when every entry has a description and sits at the first level, the labels are bold and, when the widest fits 40% of the list's width on one line, sit in a column beside their descriptions, first baselines aligned, else each description sits under its label. Both engines draw the rules (PowerPoint: native lines). Effective value: the slide's design, then the deck's design, then the theme's design.listStyle, then the layout record's design.listStyle. Without one, a list of two or more first-level entries that each pair a short label (3 words or fewer, no full stop) with a description is drawn as rows when that sets no block of the slide smaller, and every other list is stacked."
},
"mirror": {
"type": "boolean",
"description": "Draw the slide's template layout mirrored: each row's cells and the column sizes reversed, so a 'beside' layout puts its picture, chart or table at the end. Logical: a right-to-left deck mirrors on top. Binding and reading order do not change. Effective value: the slide's design, then the deck's design, then the layout record's design.mirror, then false. Slides without a template layout ignore it, except that it moves a title beside the body (titlePosition 'start') to the end side."
}
}
},
"ColorScheme": {
"type": "object",
"additionalProperties": false,
"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 record as the base; slot and role overrides on the same object take precedence over the resolved scheme. The string form of design.colorScheme is equivalent to setting only 'id'.",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Name of this palette. PPTX export writes it as the name of the theme's color scheme (a:clrScheme name), which PowerPoint lists under Design, Variants, Colors; without it, an object form with 'id' writes that id, and the string form or an object without 'id' writes 'OpenPresentation'. It names the palette only: it is not a reference and resolves nothing.",
"examples": ["Harbour", "Acme 2026"]
},
"id": {
"$ref": "#/$defs/CatalogReference",
"description": "Color-scheme reference (a bare id or 'name:id') resolved as the base; slot and role overrides on the surrounding ColorScheme object take precedence over the resolved scheme.",
"examples": ["cool-horizon", "boost", "burnt-orange", "ocean-depth", "corporate-blue"]
},
"accent1": {
"$ref": "#/$defs/HexColor",
"description": "Accent 1 color (hex). Mirrors the OOXML accent1 slot.",
"examples": ["#2874A6", "#FD3223", "#F77F00"]
},
"accent2": {
"$ref": "#/$defs/HexColor",
"description": "Accent 2 color (hex). Mirrors the OOXML accent2 slot.",
"examples": ["#1B4F72", "#0308DB", "#D62828"]
},
"accent3": {
"$ref": "#/$defs/HexColor",
"description": "Accent 3 color (hex). Mirrors the OOXML accent3 slot.",
"examples": ["#5499C7", "#4F4955", "#003049"]
},
"accent4": {
"$ref": "#/$defs/HexColor",
"description": "Accent 4 color (hex). Mirrors the OOXML accent4 slot.",
"examples": ["#7BDBB2", "#A1DB30", "#FCBF49"]
},
"accent5": {
"$ref": "#/$defs/HexColor",
"description": "Accent 5 color (hex). Mirrors the OOXML accent5 slot.",
"examples": ["#3AC67A", "#0682FE", "#EAE2B7"]