OPF
DocsReferenceView source

OPF Presentation Schema Reference

This reference documents the author-facing shape of a complete *.opf.json presentation document. It summarizes the canonical schema in spec/schemas/opf.schema.json; the schema remains the source of truth for validators.

Document Contract

  • Schema id: https://openpresentation.org/schema/opf/v1
  • Required top-level fields: slides
  • Additional top-level fields: not allowed

Top-Level Fields

FieldRequiredTypeNotes
$schemanoconst:"https://openpresentation.org/schema/opf/v1"Optional OPF schema version. When omitted, validators and engines should assume the latest supported OPF schema.
namenostringDisplay 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...
descriptionnostringFree-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/co...
filenamenostringOptional 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...
organizationnooneOf:ref:Organization / array<ref:Organization>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) su...
speakernooneOf:ref:Speaker / array<ref:Speaker>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, 'speake...
authornooneOf:string / array<string>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 wh...
audiencenooneOf:string / ref:Audience / array<oneOf:string / ref:Audience>Intended audiences for the presentation. Accepts any of: - A single string shorthand: free-form description ('Series B investors'), an audiences catalog id ('executive'), an HTTPS URL, or a 'pkg:' reference. - A singl...
purposenooneOf:string / ref:PurposePrimary goal of the presentation. Accepts either: - A string shorthand: free-form goal ('Raise a Series B round of $30M'), a purposes catalog id ('decide', 'align'), an HTTPS URL, or a 'pkg:' reference. - An inline Pu...
languagenooneOf:string / ref:LanguageLanguage for the presentation content. Accepts either: - A string shorthand: a BCP-47 language tag ('en-US', 'en-GB', 'ja-JP', 'fr'), a languages catalog id ('english', 'japanese'), an HTTPS URL, or a 'pkg:' reference...
tonenooneOf:string / ref:ToneDesired tone for the presentation. Accepts either: - A string shorthand: a tones catalog id ('formal'), an HTTPS URL, or a 'pkg:' reference. - An inline Tone object for custom tone metadata or catalog-backed overrides...
takeawaynooneOf:string / array<string>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.
durationnointegerTarget 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....
tagsnoarray<string>Free-form labels used for categorization, search, and filtering. Lowercase kebab-case is recommended for consistency across a deck library.
designnoref:DesignOptional 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.
variablesnoref:VariablesOptional 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 a...
templatenobooleanMarks 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...
narrativenostringThe 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 p...
slidesyesarray<ref:Slide>Ordered array of slides that make up the presentation.
referencesnoarray<ref:Reference>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...
datasetsnoref:DatasetsOptional 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 c...
assetsnoref:AssetsOptional reusable asset registry for images, data files, videos, documents, fonts, and other resources referenced elsewhere in the deck via 'asset:<id>' strings.
catalogsnoref:CatalogsOptional per-kind catalog overrides. Each kind may declare a non-default 'source' and/or inline 'records' that override or supplement the default catalog at https://www.pptx.gallery/<kind>. References elsewhere in the...
extensionsnoobjectCustom data passthrough for agent workflows; ignored by the engine but preserved across read/write round-trips.

Object And Type Reference

Assets

  • Type: object
  • Required fields: none
  • Purpose: 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.

No named properties.

Asset

  • Type: oneOf:string / object
  • Required fields: none
  • Purpose: 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.

No named properties.

Audience

  • Type: anyOf:schema / schema
  • Required fields: none
  • Purpose: Inline audience metadata for the presentation. Use 'id' to reference an audiences catalog record and override selected fields, or use 'name' for a custom inline audience.
  • Conditional requirement: id or name
FieldRequiredTypeNotes
idnostringOptional audiences catalog id to resolve before applying inline overrides.
namenostringHuman-readable audience name shown in pickers.
summarynostringOne-sentence positioning of the audience.
descriptionnostringLonger prose describing the audience and how to address them.
senioritynoenum:ic | manager | director | vp | c-suite | mixedTypical seniority level of the audience.
technicalFluencynoenum:low | medium | high | mixedTypical technical fluency of the audience.
decisionPowernoenum:informational | advisory | decision-makerWhether the audience is expected to be informed, advise, or decide.
attentionBudgetMinutesnonumberRealistic upper bound on focused attention for a single presentation, in minutes.
recommendedNarrativesnoarray<string>Soft cross-link: narrative-catalog ids that work well for this audience.
recommendedTonesnoarray<string>Soft cross-link: tone-catalog ids that work well for this audience.
tagsnoarray<string>Free-form labels for filtering and search.

Purpose

  • Type: anyOf:schema / schema
  • Required fields: none
  • Purpose: Inline purpose metadata for the presentation. Use 'id' to reference a purposes catalog record and override selected fields, or use 'name' for a custom inline purpose.
  • Conditional requirement: id or name
FieldRequiredTypeNotes
idnostringOptional purposes catalog id to resolve before applying inline overrides.
namenostringHuman-readable purpose name shown in pickers.
summarynostringOne-sentence positioning of the purpose.
descriptionnostringLonger prose describing when to use this purpose and how it should shape a deck.
outcomenostringDesired audience outcome after the presentation.
successCriterianoarray<string>Observable signals that the deck accomplished this purpose.
recommendedNarrativesnoarray<string>Soft cross-link: narrative-catalog ids that work well for this purpose.
recommendedTonesnoarray<string>Soft cross-link: tone-catalog ids that work well for this purpose.
tagsnoarray<string>Free-form labels for filtering and search.

Language

  • Type: anyOf:schema / schema
  • Required fields: none
  • Purpose: Inline language metadata for the presentation. Use 'id' to reference a languages catalog record and override selected fields, or use 'bcp47' for a custom language tag without a catalog record.
  • Conditional requirement: id or bcp47
FieldRequiredTypeNotes
idnostringOptional languages catalog id to resolve before applying inline overrides.
namenostringHuman-readable language name.
bcp47nostringBCP-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.
ooxmlLangnostringCurated 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'). Engine...
codenostringISO 639-3 or 639-2 language code carried for engines that prefer ISO codes.
directionnoenum:ltr | rtlBase 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...
scriptnostringISO 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 eastAsia...
fontSchemenostringDefault font-scheme id for this language when targeting PowerPoint output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does. Its major/minor families fill the language'...
googleFontSchemenostringDefault font-scheme id for this language when targeting Google Slides output. Resolves against catalogs.fontSchemes the same way design.fontScheme or design.fontScheme.id does. Used in place of 'fontScheme' when resol...
summarynostringOne-sentence note about coverage or font defaults.
descriptionnostringLonger prose describing the language record and any font-pairing rationale.
tagsnoarray<string>Free-form labels for filtering and search.

Tone

  • Type: anyOf:schema / schema
  • Required fields: none
  • Purpose: Inline tone metadata for the presentation. Use 'id' to reference a tones catalog record and override selected fields, or use 'name' for a custom inline tone.
  • Conditional requirement: id or name
FieldRequiredTypeNotes
idnostringOptional tones catalog id to resolve before applying inline overrides.
namenostringHuman-readable tone name shown in pickers.
summarynostringOne-sentence positioning of the tone.
descriptionnostringLonger prose describing the tone and the kinds of decks it suits.
voiceCuesnoarray<string>Short directives that shape AI generation toward this tone.
avoidnoarray<string>Anti-patterns that AI generation should not produce when this tone is active.
samplePhrasesnoarray<string>Short example phrases that exemplify this tone.
recommendedNarrativesnoarray<string>Soft cross-link: narrative-catalog ids this tone pairs well with.
tagsnoarray<string>Free-form labels for filtering and search.

Organization

  • Type: object
  • Required fields: id, name
  • Purpose: 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 organ...
FieldRequiredTypeNotes
idyesstringStable 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 val...
nameyesstringDisplay 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.
legalNamenostringOptional legal entity name when it differs from the display name. Never drawn automatically; available as the built-in variable 'organization.legalName'.
logonoref:AssetSource 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 log...
domainnostringBare internet domain for the organization. Never drawn automatically and not used to look up assets; available as the built-in variable 'organization.domain'.
emailnostringGeneral contact email for the organization. Never drawn automatically; available as the built-in variable 'organization.email'.
phonenostringMain contact phone number for the organization. E.164 format is recommended. Never drawn automatically; available as the built-in variable 'organization.phone'.
taglinenostringShort 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}}'.
rolenoenum:primary | partner | client | sponsor | hostRole 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>' bui...
socialsnoref:SocialsOptional 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
  • Required fields: id, name
  • Purpose: 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.
FieldRequiredTypeNotes
idyesstringStable 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}}'.
nameyesstringDisplay 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'.
titlenostringRole or title. Built-in variable 'speaker.title'; the 'speaker' header/footer field draws it after the name ('Alice Chen, VP of Engineering').
photonoref:AssetSource 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 appropr...
emailnostringContact email. Never drawn automatically; available as the built-in variable 'speaker.email'.
phonenostringContact phone number for the speaker. E.164 format is recommended. Never drawn automatically; available as the built-in variable 'speaker.phone'.
bionostringShort biographical paragraph. Never drawn automatically; available as the built-in variable 'speaker.bio', for a bio or 'about the speaker' slide you write.
organizationIdnostringReference 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 becaus...
socialsnoref:SocialsOptional 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 organizatio...

Socials

  • Type: object
  • Required fields: none
  • Purpose: Social media handles or URLs, keyed by platform id from the 'socialPlatforms' catalog. Each value is a string either a full URL or a platform handle (e.g., '@acme'). The catalog record for each platform carries the URL pattern and handle prefix that engines use to render and link the profile URL, plus brand color and themed icons as catalog metadata for authoring UIs (engines render the profile URL, not icons or brand colors). Keys resolve to the 'id' of a 'socialPlatforms' catalog record. Re...

No named properties.

Design

  • Type: object
  • Required fields: none
  • Purpose: Visual design system applied to the presentation; individual slides may override fields via Slide.design.
FieldRequiredTypeNotes
themenooneOf:string / ref:ThemeTheme for the deck. Accepts two forms: - String shorthand: 'design.theme = "minimal"'. Bare id, HTTPS URL, or 'pkg:' reference resolved as the 'id' of a 'themes' catalog record. - Object form: a Theme with an optional...
colorSchemenooneOf:string / ref:ColorSchemeColor scheme for the presentation. Accepts two forms: - String shorthand: 'design.colorScheme = "cool-horizon"'. Bare id, HTTPS URL, or 'pkg:' reference resolved as the 'id' of a 'colorSchemes' catalog record. - Objec...
fontSchemenooneOf:string / ref:FontSchemeFont scheme for heading, body, accent, and code text. Accepts two forms: - String shorthand: 'design.fontScheme = "aptos"'. Bare id, HTTPS URL, or 'pkg:' reference resolved as the 'id' of a 'fontSchemes' catalog recor...
dimensionsnooneOf:ref:DimensionPreset / ref:DimensionsSlide dimensions and aspect ratio. String shorthand such as 'widescreen' is equivalent to { preset: 'widescreen' }.
backgroundnooneOf:ref:BackgroundShortcut / ref:BackgroundDefault slide background applied across the deck unless overridden on a slide. String shorthand accepts theme slots ('light1', 'light2', 'dark1', 'dark2') or hex colors; object forms support theme, solid, gradient, im...
logonooneOf:ref:Asset / ref:LogoSetDeck logo assets used by covers, section dividers, headers, footers and picture bullets. A string or Asset object is the default logo source; the LogoSet object form provides light/dark, stacked, icon, and wordmark va...
watermarknooneOf:const:false / ref:Asset / ref:WatermarkOptional 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...
headernooneOf:const:false / ref:HeaderFooterRepeated header furniture rendered outside the main slide content. Use false to suppress an inherited header.
footernooneOf:const:false / ref:HeaderFooterRepeated footer furniture rendered outside the main slide content. Use false to suppress an inherited footer.
titleAlignmentnoenum:left | center | rightDefault 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.
contentAlignmentnoenum:left | center | rightDefault 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 cove...
contentBoxnobooleanWhether 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.
slideImagenooneOf:ref:Asset / objectOptional 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...
contentDirectionnoenum:horizontal | verticalAxis 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' i...
chartPrimarynoenum:none | top | bottom | left | rightWhere 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.mod...
imageFillnoenum:crop | fitHow 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.
listBulletnoenum:character | imageMarker 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. 'i...

Theme

  • Type: object
  • Required fields: none
  • Purpose: Theme bundle used by the design system. In design.theme, 'id' resolves a themes catalog record as the base; any sibling fields override the resolved theme. The string shorthand on design.theme is equivalent to setting only 'id'.
FieldRequiredTypeNotes
idnostringTheme reference. Resolves to the 'id' of a 'themes' catalog record. Accepts a bare id (lowercase kebab-case, e.g. 'minimal'), an HTTPS URL pointing at a record file, or a 'pkg:' reference. Field overrides on the surro...
namenostringHuman-readable theme name shown in pickers.
summarynostringOne-sentence positioning of the theme - when to reach for it.
descriptionnostringLonger prose describing what the theme looks and feels like and the kinds of decks it suits.
colorSchemenooneOf:string / ref:ColorSchemeDefault color scheme for this theme. A string resolves against catalogs.colorSchemes; an object may provide an 'id' base reference plus overrides.
fontSchemenooneOf:string / ref:FontSchemeDefault font scheme for this theme. A string resolves against catalogs.fontSchemes; an object may provide an 'id' base reference plus overrides.
backgroundnooneOf:ref:BackgroundShortcut / ref:BackgroundDefault background for this theme. String shorthand accepts theme slots ('light1', 'light2', 'dark1', 'dark2') or hex colors.
dimensionsnooneOf:ref:DimensionPreset / ref:DimensionsDefault slide size for this theme. A string preset is equivalent to { preset: value }.
tagsnoarray<string>Free-form labels for filtering and search.

ColorScheme

  • Type: object
  • Required fields: none
  • Purpose: 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. Two parallel...
FieldRequiredTypeNotes
idnostringColor scheme reference. Resolves to the 'id' of a 'colorSchemes' catalog record. Accepts a bare id (lowercase kebab-case, e.g. 'cool-horizon'), an HTTPS URL pointing at a record file, or a 'pkg:' reference. Slot and r...
accent1noref:HexColorAccent 1 color (hex). Mirrors the OOXML accent1 slot.
accent2noref:HexColorAccent 2 color (hex). Mirrors the OOXML accent2 slot.
accent3noref:HexColorAccent 3 color (hex). Mirrors the OOXML accent3 slot.
accent4noref:HexColorAccent 4 color (hex). Mirrors the OOXML accent4 slot.
accent5noref:HexColorAccent 5 color (hex). Mirrors the OOXML accent5 slot.
accent6noref:HexColorAccent 6 color (hex). Mirrors the OOXML accent6 slot.
dark1noref:HexColorDark 1 color (hex). Typically the deepest neutral; OOXML dark1.
dark2noref:HexColorDark 2 color (hex). Secondary dark; OOXML dark2.
light1noref:HexColorLight 1 color (hex). Typically the slide canvas; OOXML lt1.
light2noref:HexColorLight 2 color (hex). Secondary light surface; OOXML lt2.
hyperlinknoref:HexColorHyperlink 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...
followedHyperlinknoref:HexColorFollowed-hyperlink color (hex). OOXML folHlink.
primarynoref:HexColorAbstract role: primary brand color (hex). The engine maps this onto an OOXML accent slot when serializing.
secondarynoref:HexColorAbstract role: secondary brand color (hex).
accentnoref:HexColorAbstract role: accent color used for highlights and emphasis (hex).
backgroundnoref:HexColorAbstract 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.
surfacenoref:HexColorAbstract role: color for elevated surfaces such as cards and panels (hex). Overrides the default of light2 (dark2 on a dark slide).
textnoref:HexColorAbstract role: primary body text color (hex). Overrides dark1 on a light slide only; a dark slide always uses light1.
textSecondarynoref:HexColorAbstract role: secondary or muted text color used for captions and supporting copy (hex). Overrides the default of dark2 (light2 on a dark slide).

FontScheme

  • Type: object
  • Required fields: none
  • Purpose: 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. Two parallel models are supported and may be mixed: - OOXML pairs (major, minor) - heading and body family names that round-trip directly to PowerPoint majorFont/minorFont entries. - Abstract roles...
FieldRequiredTypeNotes
idnostringFont scheme reference. Resolves to the 'id' of a 'fontSchemes' catalog record. Accepts a bare id (lowercase kebab-case, e.g. 'aptos'), an HTTPS URL pointing at a record file, or a 'pkg:' reference. Field overrides on...
majornostringHeading (major) font family mirrors the OOXML majorFont entry. Pairs with 'minor'.
minornostringBody (minor) font family mirrors the OOXML minorFont entry. Pairs with 'major'.
eastAsiannoobjectEast Asian script fonts. Maps to the OOXML a:ea element of majorFont (major) and minorFont (minor), and to run-level a:ea. When set, they fill the eastAsian slot for every language; when omitted, the slot comes from t...
complexScriptnoobjectComplex-script fonts (for example Arabic, Hebrew, Indic and Thai). Maps to the OOXML a:cs element of majorFont (major) and minorFont (minor), and to run-level a:cs. When set, they fill the complexScript slot for every...
typenoenum:sans-serif | serif | monospaceHigh-level typographic class of the scheme.
appnoenum:powerpoint | google-slidesTarget application this font pairing is intended for. Metadata for pickers and catalog filters: no engine changes its output by it.
languageFamilynoenum:latin | ea | cs | eastAsian | complexScriptFont-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...
headingnostringAbstract role: font family name used for slide titles and headings. Maps onto the OOXML major slot when serializing.
bodynostringAbstract role: font family name used for body copy. Maps onto the OOXML minor slot when serializing.
accentnostringAbstract 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...
codenostringAbstract 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...

SlideDesign

  • Type: allOf:ref:Design + schema
  • Required fields: none
  • Purpose: 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.

No named properties.

DimensionPreset

  • Type: enum:16:9 | 4:3 | 16:10 | 1:1 | 4:5 | 9:16 | letter | a4 | widescreen | standard
  • Required fields: none
  • Purpose: 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).

No named properties.

Dimensions

  • Type: object
  • Required fields: none
  • Purpose: Slide dimensions; either pick a preset or specify custom inches.
FieldRequiredTypeNotes
presetnoref:DimensionPreset
widthInchesnonumberCustom slide width in inches; overrides the preset width when provided.
heightInchesnonumberCustom slide height in inches; overrides the preset height when provided.

ThemeBackgroundSlot

  • Type: enum:light1 | light2 | dark1 | dark2
  • Required fields: none
  • Purpose: PowerPoint theme-controlled slide background slot from the active color scheme. These are slots, not assumptions about actual colors: light1 is usually white and dark1 is usually black by convention, but the color scheme controls the real values.

No named properties.

HexColor

  • Type: string
  • Required fields: none
  • Purpose: Hex color shorthand accepted by selected string fields.

No named properties.

ColorRef

  • Type: anyOf:ref:HexColor / enum:accent1 | accent2 | accent3 | accent4 | accent5 | accent6 | dark1 | dark2 | light1 | light2 | hyperlink | followedHyperlink | primary | secondary | accent | background | surface | surfaceAlt | text | textSecondary / string
  • Required fields: none
  • Purpose: 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: - Literal hex: '#RGB', '#RRGGBB', or '#RRGGBBAA'. - 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',...

No named properties.

Variables

  • Type: object
  • Required fields: none
  • Purpose: 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: ex...

No named properties.

Variable

  • Type: oneOf:ref:HexColor / ref:ColorVariable / ref:TextVariable / ref:NumberVariable / ref:DateVariable / ref:ImageVariable / ref:UrlVariable / ref:ListVariable
  • Required fields: none
  • Purpose: A single named variable: a hex string (shorthand for a color variable) or an object whose 'type' is color, text, number, date, image, url or list. 'value' is the current value and is optional: a variable with no value is unfilled, which a template allows and a normal deck does not. 'example' only illustrates the slot (fill forms, template previews) and never reaches output.

No named properties.

ColorVariable

  • Type: object
  • Required fields: type
  • Purpose: A named color. Content color fields reference it as 'var:<id>'. Colors resolve at render time through the ordinary color-reference path, so a color variable keeps working as before.
FieldRequiredTypeNotes
typeyesconst:"color"Variable kind. One of color, text, number, date, image, url or list.
valuenoref:HexColorHex color this variable resolves to.
requirednobooleanWhether the variable must be filled. Defaults to true: a variable with no 'value' is unfilled, and an unfilled required variable is an error in a normal deck and expected in a template. Set false for an optional slot:...
labelnostringOptional short human label for forms and fill panels.
descriptionnostringOptional prose describing what the variable is for, surfaced by pickers, fill forms and agents.
examplenoref:HexColorIllustrative color shown in fill forms and used when a template is previewed with examples. Never written to output.

TextVariable

  • Type: object
  • Required fields: type
  • Purpose: Text content. Plain string or rich TextRun[]. Insert it inline as '{{<id>}}' inside any string (rich text is flattened to plain text there), or reference it whole as 'var:<id>' in a field that accepts string or TextRun[] (the rich runs are kept).
FieldRequiredTypeNotes
typeyesconst:"text"Variable kind. One of color, text, number, date, image, url or list.
valuenooneOf:string / array<ref:TextRun>Text this variable resolves to: a plain string, or TextRun[] for rich text.
requirednobooleanWhether the variable must be filled. Defaults to true: a variable with no 'value' is unfilled, and an unfilled required variable is an error in a normal deck and expected in a template. Set false for an optional slot:...
labelnostringOptional short human label for forms and fill panels.
descriptionnostringOptional prose describing what the variable is for, surfaced by pickers, fill forms and agents.
examplenooneOf:string / array<ref:TextRun>Illustrative text shown in fill forms and used when a template is previewed with examples. Never written to output.

NumberVariable

  • Type: object
  • Required fields: type
  • Purpose: A number. '{{<id>}}' inserts it as text using 'format'; 'var:<id>' as a whole field supplies the number itself (chart values, font sizes).
FieldRequiredTypeNotes
typeyesconst:"number"Variable kind. One of color, text, number, date, image, url or list.
valuenonumberNumber this variable resolves to.
requirednobooleanWhether the variable must be filled. Defaults to true: a variable with no 'value' is unfilled, and an unfilled required variable is an error in a normal deck and expected in a template. Set false for an optional slot:...
labelnostringOptional short human label for forms and fill panels.
descriptionnostringOptional prose describing what the variable is for, surfaced by pickers, fill forms and agents.
examplenonumberIllustrative number shown in fill forms and used when a template is previewed with examples. Never written to output.
formatnoref:NumberFormatDisplay pattern used by '{{<id>}}' (the shared NumberFormat syntax). A literal prefix, a numeric part of '#', '0', ',' and '.', and a literal suffix. '0' pads digits, '#' is optional, ',' groups thousands, digits afte...

NumberFormat

  • Type: string
  • Required fields: none
  • Purpose: Number display pattern, shared by NumberVariable.format, data column formats (DataColumn.format) and table cell formats (StyledTableCell.format). An optional literal prefix, a numeric part of '#', '0', ',' and '.', and an optional literal suffix. '0' pads digits, '#' is optional, ',' groups thousands, digits after '.' fix the decimals ('0' required, '#' optional), and a '%' in the prefix or suffix multiplies the value by 100. English separators only. A format applies only to number values; st...

No named properties.

DateVariable

  • Type: object
  • Required fields: type
  • Purpose: A calendar date as an ISO YYYY-MM-DD string. No time zone and no clock are involved. '{{<id>}}' inserts it formatted with 'format'.
FieldRequiredTypeNotes
typeyesconst:"date"Variable kind. One of color, text, number, date, image, url or list.
valuenostringISO calendar date (YYYY-MM-DD) this variable resolves to.
requirednobooleanWhether the variable must be filled. Defaults to true: a variable with no 'value' is unfilled, and an unfilled required variable is an error in a normal deck and expected in a template. Set false for an optional slot:...
labelnostringOptional short human label for forms and fill panels.
descriptionnostringOptional prose describing what the variable is for, surfaced by pickers, fill forms and agents.
examplenostringIllustrative ISO date shown in fill forms and used when a template is previewed with examples. Never written to output.
formatnostringDate display pattern, the same LDML-style tokens as header/footer dateFormat: yyyy, yy, MMMM, MMM, MM, M, dd, d, EEEE, EEE and quoted literals. English names. Default 'MMMM d, yyyy'.

ImageVariable

  • Type: object
  • Required fields: type
  • Purpose: An image source: any Asset (an 'asset:<id>' reference, HTTPS URL, data URI, relative or local path, or an object with src, alt and metadata). Reference it whole as 'var:<id>' in an image, asset or src field; '{{<id>}}' inserts the source string.
FieldRequiredTypeNotes
typeyesconst:"image"Variable kind. One of color, text, number, date, image, url or list.
valuenoref:AssetImage source this variable resolves to.
requirednobooleanWhether the variable must be filled. Defaults to true: a variable with no 'value' is unfilled, and an unfilled required variable is an error in a normal deck and expected in a template. Set false for an optional slot:...
labelnostringOptional short human label for forms and fill panels.
descriptionnostringOptional prose describing what the variable is for, surfaced by pickers, fill forms and agents.
examplenoref:AssetIllustrative image source shown in fill forms and used when a template is previewed with examples. Never written to output.

UrlVariable

  • Type: object
  • Required fields: type
  • Purpose: A link target (http, https, mailto or tel). Use it as '{{<id>}}' inside a link string or reference it whole as 'var:<id>' in a link field.
FieldRequiredTypeNotes
typeyesconst:"url"Variable kind. One of color, text, number, date, image, url or list.
valuenostringLink target this variable resolves to.
requirednobooleanWhether the variable must be filled. Defaults to true: a variable with no 'value' is unfilled, and an unfilled required variable is an error in a normal deck and expected in a template. Set false for an optional slot:...
labelnostringOptional short human label for forms and fill panels.
descriptionnostringOptional prose describing what the variable is for, surfaced by pickers, fill forms and agents.
examplenostringIllustrative link shown in fill forms and used when a template is previewed with examples. Never written to output.

ListVariable

  • Type: object
  • Required fields: type
  • Purpose: A list of strings, for bullets and list items. A whole-string array element 'var:<id>' splices every entry into the array in place; a whole field 'var:<id>' becomes the array; '{{<id>}}' joins the entries with ', ' (or the separator after a pipe: '{{<id>|; }}').
FieldRequiredTypeNotes
typeyesconst:"list"Variable kind. One of color, text, number, date, image, url or list.
valuenoarray<string>Entries this variable resolves to.
requirednobooleanWhether the variable must be filled. Defaults to true: a variable with no 'value' is unfilled, and an unfilled required variable is an error in a normal deck and expected in a template. Set false for an optional slot:...
labelnostringOptional short human label for forms and fill panels.
descriptionnostringOptional prose describing what the variable is for, surfaced by pickers, fill forms and agents.
examplenoarray<string>Illustrative entries shown in fill forms and used when a template is previewed with examples. Never written to output.

BackgroundShortcut

  • Type: oneOf:ref:ThemeBackgroundSlot / ref:HexColor
  • Required fields: none
  • Purpose: String shorthand for a background. Theme slots ('light1', 'light2', 'dark1', 'dark2') are equivalent to { type: 'theme', slot: value }; hex colors are equivalent to { type: 'solid', color: value }.

No named properties.

Background

  • Type: oneOf:ref:ThemeBackground / ref:SolidBackground / ref:GradientBackground / ref:ImageBackground / ref:PatternBackground
  • Required fields: none
  • Purpose: Background fill applied to slides. Theme backgrounds preserve PowerPoint's color-scheme background choice; other variants represent fixed background fills.

No named properties.

ThemeBackground

  • Type: object
  • Required fields: type, slot
  • Purpose: Theme-controlled PowerPoint slide background. The slot is resolved through the active color scheme and remains theme-aware.
FieldRequiredTypeNotes
typeyesconst:"theme"Theme-controlled background fill.
slotyesref:ThemeBackgroundSlot

SolidBackground

  • Type: object
  • Required fields: type, color
  • Purpose: Fixed solid slide background fill.
FieldRequiredTypeNotes
typeyesconst:"solid"Fixed solid background fill.
coloryesref:ColorRefFixed 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: ......
opacitynonumberBackground opacity from 0 (fully transparent) to 1 (fully opaque).

GradientBackground

  • Type: object
  • Required fields: type, gradient
  • Purpose: Fixed gradient slide background fill.
FieldRequiredTypeNotes
typeyesconst:"gradient"Fixed gradient background fill.
gradientyesobjectGradient fill definition.
opacitynonumberBackground opacity from 0 (fully transparent) to 1 (fully opaque).

ImageBackground

  • Type: object
  • Required fields: type, image
  • Purpose: Fixed image slide background fill.
FieldRequiredTypeNotes
typeyesconst:"image"Fixed image background fill.
imageyesobjectImage fill definition.
opacitynonumberBackground opacity from 0 (fully transparent) to 1 (fully opaque).

PatternBackground

  • Type: object
  • Required fields: type, pattern
  • Purpose: Fixed pattern slide background fill.
FieldRequiredTypeNotes
typeyesconst:"pattern"Fixed pattern background fill.
patternyesobjectPattern fill definition.
opacitynonumberBackground opacity from 0 (fully transparent) to 1 (fully opaque).

LogoSet

  • Type: object
  • Required fields: none
  • Purpose: Deck logo variants surfaced by covers, section dividers, headers, footers and picture bullets. Organization identity lives in organization; this object only controls visual rendering assets. Engines select one variant per slot and background tone (resolveLogo in @openpresentation/opf): same-tone variants first, neutral ones next, the opposite tone last. Lockup on a dark background: light, default, stackedLight, stacked, wordmarkLight, wordmark, iconLight, icon, then dark, stackedDark, wordmar...
FieldRequiredTypeNotes
defaultnoref:AssetDefault full-lockup logo. Used as fallback when no more specific variant is set.
lightnoref:AssetLight-colored full-lockup logo intended for rendering on dark backgrounds.
darknoref:AssetDark-colored full-lockup logo intended for rendering on light backgrounds.
stackednoref:AssetStacked vertical logo lockup, suited to portrait or square brand-mark slots.
stackedLightnoref:AssetLight-colored stacked logo variant intended for rendering on dark backgrounds.
stackedDarknoref:AssetDark-colored stacked logo variant intended for rendering on light backgrounds.
iconnoref:AssetDefault icon, mark, or symbol without wordmark. Useful for tight spaces such as footers, badges, and slide-corner marks.
iconLightnoref:AssetLight-colored icon variant intended for rendering on dark backgrounds.
iconDarknoref:AssetDark-colored icon variant intended for rendering on light backgrounds.
wordmarknoref:AssetDefault wordmark: the organization name set in branded typography, without icon.
wordmarkLightnoref:AssetLight-colored wordmark variant intended for rendering on dark backgrounds.
wordmarkDarknoref:AssetDark-colored wordmark variant intended for rendering on light backgrounds.

Watermark

  • Type: oneOf:schema / schema
  • Required fields: opacity
  • Purpose: 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...
FieldRequiredTypeNotes
srcnostringSource 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.
textnostringText for a text watermark, such as DRAFT or CONFIDENTIAL; line breaks are drawn as spaces. Exactly one of src and text is set.
opacityyesnumberWatermark opacity from 0 (fully transparent) to 1 (fully opaque).

HeaderFooter

  • Type: object
  • Required fields: none
  • Purpose: Repeated header or footer content split into left, center, and right zones. Header/footer content is slide furniture, separate from the main slide content payloads.
FieldRequiredTypeNotes
leftnoref:HeaderFooterItemLeft-aligned header/footer content.
centernoref:HeaderFooterItemCentered header/footer content.
rightnoref:HeaderFooterItemRight-aligned header/footer content.

HeaderFooterItem

  • Type: object
  • Required fields: none
  • Purpose: 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.
FieldRequiredTypeNotes
logonobooleanWhether to render the deck's icon logo in this zone: a slide's design.logo, then design.logo, then the primary organization's logo (LogoSet icon variants first, light ones on dark backgrounds). It is a generated image...
textnostringLiteral text rendered in this zone.
imagenoref:AssetGeneric image rendered in this zone, such as a logo, partner mark, certification badge, or icon.
slideNumbernobooleanWhether to render the current slide number in this zone. PPTX export writes a native slide-number field when its value fits within one accepted text line; a value split across lines exports as static text with a diagn...
slideNumberFormatnostringTemplate for the slide number when slideNumber is true. {current} is the displayed slide number (a native PPTX field when its value fits within one accepted text line); {total} is the number of slides in the rendered...
datenooneOf:boolean / stringtrue renders the current date: the renderer or exporter must be given an explicit ISO date by its host (core never reads a clock). PPTX export writes a native date field only for a supported dateFormat whose complete...
dateFormatnostringDate pattern for date. Tokens: yyyy (2026), yy (26), MMMM (April), MMM (Apr), MM (04), M (4), dd (09), d (9), EEEE (Thursday), EEE (Thu). Text in single quotes and other non-letter characters are literal. Month and we...
organizationnobooleanWhether to render the primary organization's name from organization (role 'primary', else the first organization).
speakernobooleanWhether 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 report...
sectionnobooleanWhether to render the current slide section label.
socialsnobooleanWhether to render the primary organization's social profiles from organization.socials, one line per platform in key order. A handle is formatted through the platform's socialPlatforms record (companyUrlPattern, else...

Slide

  • Type: object
  • Required fields: none
  • Purpose: A single slide. Content can be authored as a full-slide root payload, or inside promoted named region keys such as 'left', 'center+right', and 'top:left'.
FieldRequiredTypeNotes
idnostringOptional stable identifier for the slide within the document. Use when another system needs to reference a slide across edits, comments, generation state, exports, or narrative tooling. Slide order is defined by the s...
typenoenum:text | list | image | chart | table | video | code | metric | quote | timelineOptional full-slide content kind. When omitted, engines infer the kind from root payload fields.
beatnooneOf:string / array<string>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 arr...
layoutnostringOptional. 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 a...
titlenooneOf:string / array<ref:TextRun>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 ci...
subtitlenooneOf:string / array<ref:TextRun>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, b...
tagnooneOf:string / array<ref:TextRun>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,...
textnooneOf:string / array<ref:TextRun>Full-slide text payload. Use a string for plain text or TextRun[] for inline rich text. TextRun items may be plain strings or formatted run objects.
itemsnoarray<ref:ListItem>Full-slide generic list payload. Presence of this field infers type 'list'. At slide root, multiple content payload kinds with no explicit type, blocks, or regions are accepted as shorthand for layout-agnostic blocks.
bulletsnoarray<ref:BulletItem>Full-slide text-style bullet payload. Presence of this field infers type 'text'.
numberingnoref:NumberingSpecNumber the full-slide items or bullets instead of bulleting them. A style name (arabic, roman-upper, roman-lower, alpha-upper, alpha-lower) or a Numbering object applies to every list level; an array gives one ent...
imagenoref:AssetFull-slide image source. Presence of this field infers type 'image'.
videonoref:AssetFull-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...
chartnoref:ChartFull-slide chart payload. Presence of this field infers type 'chart'.
tablenoref:TableFull-slide table payload. Presence of this field infers type 'table'.
codenooneOf:string / ref:CodeFull-slide code payload. A string is shorthand for { "source": value }; object form carries optional syntax language and filename metadata.
metricnooneOf:string / number / ref:MetricFull-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...
quotenooneOf:string / ref:QuoteFull-slide quote payload. A string is shorthand for { "text": value }; object form carries optional attribution and source metadata. Presence of this field infers type 'quote'.
timelinenoref:TimelineFull-slide timeline payload. An array is shorthand for { "events": value }; object form carries optional name and description metadata. Presence of this field infers type 'timeline'.
captionnoref:CaptionCaption for the slide's root image, chart, table or video payload. Valid only when the slide root holds exactly one of those payloads.
blocksnoarray<ref:ContentPayload>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 short...
designnoref:SlideDesignSlide-level design applied on top of the deck-wide design.
leftnoref:ContentPayload
centernoref:ContentPayload
rightnoref:ContentPayload
left+centernoref:ContentPayload
center+rightnoref:ContentPayload
left+center+rightnoref:ContentPayload
topnoref:ContentPayload
middlenoref:ContentPayload
bottomnoref:ContentPayload
top+middlenoref:ContentPayload
middle+bottomnoref:ContentPayload
top+middle+bottomnoref:ContentPayload
top:leftnoref:ContentPayload
top:centernoref:ContentPayload
top:rightnoref:ContentPayload
top:left+centernoref:ContentPayload
top:center+rightnoref:ContentPayload
top:left+center+rightnoref:ContentPayload
middle:leftnoref:ContentPayload
middle:centernoref:ContentPayload
middle:rightnoref:ContentPayload
middle:left+centernoref:ContentPayload
middle:center+rightnoref:ContentPayload
middle:left+center+rightnoref:ContentPayload
bottom:leftnoref:ContentPayload
bottom:centernoref:ContentPayload
bottom:rightnoref:ContentPayload
bottom:left+centernoref:ContentPayload
bottom:center+rightnoref:ContentPayload
bottom:left+center+rightnoref:ContentPayload
top+middle:leftnoref:ContentPayload
top+middle:centernoref:ContentPayload
top+middle:rightnoref:ContentPayload
top+middle:left+centernoref:ContentPayload
top+middle:center+rightnoref:ContentPayload
top+middle:left+center+rightnoref:ContentPayload
middle+bottom:leftnoref:ContentPayload
middle+bottom:centernoref:ContentPayload
middle+bottom:rightnoref:ContentPayload
middle+bottom:left+centernoref:ContentPayload
middle+bottom:center+rightnoref:ContentPayload
middle+bottom:left+center+rightnoref:ContentPayload
top+middle+bottom:leftnoref:ContentPayload
top+middle+bottom:centernoref:ContentPayload
top+middle+bottom:rightnoref:ContentPayload
top+middle+bottom:left+centernoref:ContentPayload
top+middle+bottom:center+rightnoref:ContentPayload
top+middle+bottom:left+center+rightnoref:ContentPayload
notesnostringSpeaker notes shown in presenter view.
sectionnostringPowerPoint-style slide section label. Consecutive slides with the same value belong to the same section in presenter view, outlines, and PowerPoint section-aware exports.
hiddennobooleanWhether 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 (o...
compositionnoref:Composition
extensionsnoobjectCustom data passthrough for agent workflows at slide scope; ignored by the engine but preserved across read/write round-trips. Use for review state, generation provenance, or authoring conventions such as { "authoring...

ContentPayload

  • Type: allOf:schema + schema + schema + schema + schema + schema + schema + schema + schema + schema + schema + schema
  • Required fields: none
  • Purpose: A content leaf or recursively composed group. A group contains blocks and optional composition; it cannot mix blocks with leaf payload fields. Groups may nest up to 32 levels.
FieldRequiredTypeNotes
idnostringOptional stable identifier for this payload, unique among slide and payload ids in the document. Use when another system needs to address the payload across edits patch-style agent edits, comments, review state, or ge...
extensionsnoobjectCustom data passthrough for agent workflows at payload scope; ignored by the engine but preserved across read/write round-trips.
typenoenum:text | list | image | chart | table | video | code | metric | quote | timeline | groupOptional content kind. When omitted, engines infer the kind from the fields present.
textnooneOf:string / array<ref:TextRun>Text payload. Use a string for plain text or TextRun[] for inline rich text. TextRun items may be plain strings or formatted run objects.
itemsnoarray<ref:ListItem>Generic list payload. Each item is either a plain string, a TextRun[] rich text sequence, or a ListItem object. List nesting uses item.level rather than nested content payloads.
bulletsnoarray<ref:BulletItem>Text-style bullet payload. Presence of this field infers type 'text'.
numberingnoref:NumberingSpecNumber the payload's items or bullets instead of bulleting them. A style name (arabic, roman-upper, roman-lower, alpha-upper, alpha-lower) or a Numbering object applies to every list level; an array gives one entr...
imagenoref:AssetSource for an image item.
videonoref:AssetSource 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...
chartnoref:ChartChart payload. Presence of this field infers type 'chart'.
tablenoref:TableTable payload. Presence of this field infers type 'table'.
codenooneOf:string / ref:CodeCode payload. A string is shorthand for { "source": value }; object form carries optional syntax language and filename metadata.
metricnooneOf:string / number / ref:MetricMetric 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...
quotenooneOf:string / ref:QuoteQuote payload. A string is shorthand for { "text": value }; object form carries optional attribution, role, photo and source metadata.
timelinenoref:TimelineTimeline payload ordered by narrative or chronology.
captionnoref:CaptionCaption for an image, chart, table or video payload, composed inside the block's region (below the media by default). Invalid on other payload kinds and on groups.
blocksnoarray<ref:ContentPayload>Ordered children of a group. Each child is a leaf or another group.
compositionnoref:CompositionArrangement within this group. Only minFontSize and overflow inherit from the parent; strict overflow cannot be weakened.

Quote

  • Type: object
  • Required fields: text
  • Purpose: 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 }.
FieldRequiredTypeNotes
textyesoneOf:string / array<ref:TextRun>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.
attributionnostringPerson or organization credited for the quote. Drawn after the quote text, in the muted text color.
rolenostringTitle 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'.
photonoref:AssetHeadshot 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 photogr...
sourcenostringOptional quote source, citation, or URL. Follows the attribution and role after ' - '.

Code

  • Type: object
  • Required fields: source
  • Purpose: 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 }.
FieldRequiredTypeNotes
sourceyesstringSource code text to display.
languagenostringLanguage identifier used for syntax highlighting.
filenamenostringOptional file label shown with the code block.
highlightnoarray<oneOf:integer / array<integer>>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...

Metric

  • Type: object
  • Required fields: value
  • Purpose: 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.
FieldRequiredTypeNotes
valueyesoneOf:string / numberPrimary metric value.
labelnostringMetric label.
descriptionnostringOptional supporting context for the metric.
unitnostringMetric unit, suffix, or currency marker.
deltanooneOf:string / numberMetric change value.
trendnoenum:up | down | flatMetric 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...
sentimentnoenum:positive | negative | neutralWhether 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 back...

Timeline

  • Type: oneOf:array<ref:TimelineEvent> / object
  • Required fields: none
  • Purpose: Timeline content. An array is shorthand for { "events": value }; object form carries optional name and description metadata.

No named properties.

TimelineEvent

  • Type: object
  • Required fields: what
  • Purpose: A single event inside a timeline content payload.
FieldRequiredTypeNotes
whennostringEvent time, date, or sequence label. Use ISO-like values when possible, but human labels are allowed for quarters, eras, and relative milestones.
whatyesstringShort event label.
descriptionnostringOptional event detail.
statusnoenum:done | current | plannedProgress 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'...

ListItem

  • Type: oneOf:string / array<ref:TextRun> / object
  • Required fields: none
  • Purpose: A flat item inside a list. Strings cover the common case, TextRun[] supports inline rich text without an object wrapper, and object form adds description and nesting depth without creating nested slide content payloads.

No named properties.

BulletItem

  • Type: oneOf:string / array<ref:TextRun> / object
  • Required fields: none
  • Purpose: A flat bullet item. Strings cover the common case, TextRun[] supports inline rich text without an object wrapper, and object form adds nesting depth without list-item descriptions.

No named properties.

NumberingStyle

  • Type: enum:arabic | roman-upper | roman-lower | alpha-upper | alpha-lower
  • Required fields: none
  • Purpose: A list number style: 1, 2, 3; I, II, III; i, ii, iii; A, B, C; a, b, c. Alphabetic numbering past 26 repeats the letter as PowerPoint does (aa, bb, cc). Roman numerals stop at 3999; larger values are drawn in arabic with a numbering-adapted diagnostic.

No named properties.

Numbering

  • Type: object
  • Required fields: none
  • Purpose: Numbering of one list level.
FieldRequiredTypeNotes
stylenoref:NumberingStyleNumber style. Default arabic.
startnointegerFirst number counted at this level. Default 1. Native PowerPoint accepts 1 to 32767.
suffixnoenum:period | paren | paren-bothText after the number: period (1.), paren (1)) or paren-both ((1)). Default period.

NumberingSpec

  • Type: oneOf:ref:NumberingStyle / ref:Numbering / array<oneOf:ref:NumberingStyle / ref:Numbering>
  • Required fields: none
  • Purpose: The value of a numbering field: a style name or Numbering object for every level, or an array with one entry per level (at most 9, the native depth).

No named properties.

TextRun

  • Type: oneOf:string / object
  • Required fields: none
  • Purpose: A contiguous run of text. Strings cover unformatted spans; object form adds character formatting.

No named properties.

Caption

  • Type: oneOf:string / array<ref:TextRun> / object
  • Required fields: none
  • Purpose: A caption for an image, chart, table or video payload. A string or TextRun[] is the caption text placed below the media; object form adds the position and alignment.

No named properties.

Reference

  • Type: object
  • Required fields: id, text
  • Purpose: A source that runs cite with 'cite'. Cited references are listed in the footnote area of the slides that cite them, numbered per deck in order of first use; referencesSlide() builds an ordinary list slide of them.
FieldRequiredTypeNotes
idyesstringIdentifier runs cite. Unique within the references list.
textyesoneOf:string / array<ref:TextRun>The reference as it is listed: a string or TextRun[] for inline rich text.
urlnostringOptional link for the reference; a references slide links its entry to it.

Chart

  • Type: object
  • Required fields: type, data
  • Purpose: Chart content. The chart object keeps chart-specific fields together so slides and regions do not expose loose chart fields.
FieldRequiredTypeNotes
typeyesstringChart 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...
datayesoneOf:ref:ChartData / ref:DatasetRefChart 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...
mappingnoref:ChartMappingOptional 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, the...
linenoarray<string>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 comb...
secondaryAxisnoarray<string>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' co...
axisTitlesnoref:ChartAxisTitlesOptional 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-...
legendnoenum:none | top | bottom | left | rightOptional legend position. 'none' hides the legend. Absent keeps today's behaviour exactly (a legend at the right of multi-series charts and of pie and doughnut charts, none for single-series charts). A named position...
dataLabelsnooneOf:boolean / ref:ChartDataLabelsOptional 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.
altnostringText 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 ex...
highlightnoref:ChartHighlightOptional 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 lig...

ChartAxisTitles

  • Type: object
  • Required fields: none
  • Purpose: 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.
FieldRequiredTypeNotes
categorynostringTitle of the category (X) axis.
valuenostringTitle of the value (Y) axis. On a combo chart, the primary (left) value axis.
secondarynostringCombo 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 c...

ChartHighlight

  • Type: object
  • Required fields: none
  • Purpose: 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.
FieldRequiredTypeNotes
seriesnoarray<string>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 ma...
categoriesnoarray<string>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.

ChartDataLabels

  • Type: object
  • Required fields: none
  • Purpose: Data label settings. A label shows the selected content parts in the fixed order category, value, percent, joined by the separator.
FieldRequiredTypeNotes
contentnoarray<enum:value | percent | category>Which parts a label shows. Defaults to ['value']. 'percent' is the share of the total and exists only on pie and doughnut charts; 'category' shows the category name (the X value on a scatter chart). A part a chart typ...
positionnoenum:auto | center | inside-end | inside-base | outside-end | above | below | left | rightWhere 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 column...
separatornostringText between the parts of a label that shows more than one. Defaults to ', '.

Table

  • Type: object
  • Required fields: none
  • Purpose: Table content, inline or dataset-backed. An inline table has 'rows' (required) and optional 'columns'. A dataset-backed table has 'dataset' (required) and optional 'fields', and no 'rows' or 'columns': it takes its headers, rows and column formats from the dataset (per-cell styles need an inline table).
  • Conditional requirement: dataset, or otherwise rows
FieldRequiredTypeNotes
columnsnoarray<oneOf:string / array<ref:TextRun> / ref:StyledTableCell / ref:DataColumn / null>Optional column labels. Labels may be strings, rich runs, styled cell objects or DataColumn objects ({ "name", "format" }). A header's 'format' (DataColumn or StyledTableCell) is the column's number format; a body cel...
rowsnoarray<array<ref:TableCell>>Two-dimensional table row data; each row aligns by index with columns when columns are supplied.
datasetnoref:DatasetIdId of a top-level dataset that supplies this table's headers, rows and column formats. Excludes 'rows' and 'columns'. An unknown id is a 'dataset-unknown' error.
fieldsnoref:DatasetFieldsDataset tables only: the dataset columns to show, by name and in order. Absent shows every column. An unknown name is a 'dataset-field-unknown' error.

ChartData

  • Type: object
  • Required fields: columns, rows
  • Purpose: Inline tabular data driving a chart. The first column usually supplies category/x-axis labels; subsequent columns are plotted measures unless 'chart.mapping' or a chart type maps them differently. Value cells are numbers; a string is read only in strict decimal syntax ('12', '-3.5', '1e6'), and anything else ('12%', '$5', '(5)', '1,234') is a gap and a 'chart-value-not-numeric' warning.
FieldRequiredTypeNotes
columnsyesarray<oneOf:string / ref:DataColumn>Ordered column labels for the chart data table. A label is a string or a DataColumn ({ "name", "format" }) whose number format the data labels, value axis and exported workbook use.
rowsyesarray<array<ref:ChartDataCell>>Tabular chart rows. Each row aligns by index with columns.
sourcenoref:DataSourceRefOptional provenance: where this inline data came from. Engines never read, fetch or refresh it; they keep it through editing, export and re-import.

DataColumn

  • Type: object
  • Required fields: name
  • Purpose: A named data column with an optional number format. Anywhere a chart or dataset column is a string it may be a DataColumn; the string form is { "name": value } with no format. A table column header may also be a DataColumn.
FieldRequiredTypeNotes
nameyesstringColumn label, used as the series name, the table header and the name 'fields' and 'chart.mapping' address.
formatnoref:NumberFormatNumber format of the column's number values (data labels, value axis, table cells, exported workbook). Absent: the General form.

DataSourceRef

  • Type: object
  • Required fields: src
  • Purpose: Provenance of inline data or a dataset: the file, sheet and range it came from and when. Engines never read, fetch or refresh it; they keep it through editing, export and re-import. Re-import the data to update it.
FieldRequiredTypeNotes
srcyesstringWhere the data came from: an 'asset:<id>' reference, a URL, or a relative or local path.
sheetnostringSheet or table name inside a spreadsheet source.
rangenostringA1-style range inside a spreadsheet source.
fieldsnoarray<string>The source fields the data was taken from, in order.
retrievednoanyOf:schema / schemaWhen the data was taken from the source: an ISO 8601 date or date-time.
descriptionnostringFree-form note about the source.

DatasetId

  • Type: string
  • Required fields: none
  • Purpose: Id of an entry in the top-level datasets map (the assets id pattern).

No named properties.

DatasetFields

  • Type: array<string>
  • Required fields: none
  • Purpose: Dataset column names to use, in order, each at most once. Selects and orders the dataset's columns; an unknown name is a 'dataset-field-unknown' error.

No named properties.

Datasets

  • Type: object
  • Required fields: none
  • Purpose: Shared data tables keyed by id (the assets id pattern). Charts reference one with 'chart.data': { "dataset": "<id>" } and tables with 'table': { "dataset": "<id>" }.

No named properties.

Dataset

  • Type: object
  • Required fields: columns, rows
  • Purpose: One shared data table: named columns (strings or DataColumn objects with a number format) and rows of scalar cells. Column names are unique ('data-column-duplicate' error). Rich text and styling belong in an inline table.
FieldRequiredTypeNotes
titlenostringHuman name of the dataset, shown by editors.
descriptionnostringWhat the dataset holds.
columnsyesarray<oneOf:string / ref:DataColumn>Ordered, uniquely named columns.
rowsyesarray<array<ref:ChartDataCell>>Rows of scalar cells (string, number, boolean, null); each row aligns by index with columns.
sourcenoref:DataSourceRefOptional provenance. Engines never read, fetch or refresh it.

DatasetRef

  • Type: object
  • Required fields: dataset
  • Purpose: Chart data taken from a top-level dataset. Engines inline it before plotting; 'chart.mapping' names columns after the 'fields' selection.
FieldRequiredTypeNotes
datasetyesref:DatasetIdId of the dataset. An unknown id is a 'dataset-unknown' error.
fieldsnoref:DatasetFieldsThe dataset columns to use, by name and in order. Absent uses every column.

ChartMapping

  • Type: object
  • Required fields: none
  • Purpose: Series mapping by column name (after any 'fields' selection). Mapping only selects and orders columns; pie, doughnut and other single-series constructs still plot one series. An unknown name is a 'chart-mapping-unknown-column' error; a series that repeats the category or X column, and an X column on a chart type without an X axis, are dropped with a 'chart-mapping-adapted' warning.
FieldRequiredTypeNotes
categorynostringThe label (category) column. Default: the first column.
xnostringThe X column of an XY (scatter) chart. Default: the second column (the first, when the category is the second column), and only when there are three or more columns: with two, the second column is the one series, plot...
seriesnoarray<string>The plotted columns, in order. Default: every column that is not the category or the X column.

ChartDataCell

  • Type: oneOf:string / number / boolean / null
  • Required fields: none
  • Purpose: A cell in inline chart data.

No named properties.

TableCell

  • Type: oneOf:ref:TableCellValue / ref:StyledTableCell
  • Required fields: none
  • Purpose: A scalar, rich-run array, or styled/spanning cell object. Existing scalar and rich forms remain valid.

No named properties.

TableCellValue

  • Type: oneOf:string / number / boolean / null / array<ref:TextRun>
  • Required fields: none
  • Purpose: A scalar table value or canonical rich text runs, without cell decoration or geometry.

No named properties.

StyledTableCell

  • Type: object
  • Required fields: value
  • Purpose: A cell with explicit visual style or merged geometry. Its position remains its array column index; use null placeholders for every covered grid position.
FieldRequiredTypeNotes
valueyesref:TableCellValueEditable cell content; styling and spans do not change its scalar type or rich runs.
stylenoref:TableCellStyle
colSpannointegerNumber of grid columns covered, starting at this cell. Covered positions must contain null. Default 1.
rowSpannointegerNumber of grid rows covered, starting at this cell. Covered positions must contain null. Header cells cannot span into body rows. Default 1.
formatnoref:NumberFormatNumber format. On a body cell it formats that cell's number value (and wins over the column's format); on a header cell (in 'columns') it is the column's format, the same as a DataColumn header. Strings, booleans, nul...

TableCellStyle

  • Type: object
  • Required fields: none
  • Purpose: Cell appearance. Sizes use reference pixels at a 720-pixel canvas short edge and scale with the slide.
FieldRequiredTypeNotes
fillnoref:ColorRefCell background: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference. Eight-digit hex colors include alpha; #00000000 is transparent.
colornoref:ColorRefDefault text color, overridden by individual rich run colors. Accepts a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference.
alignnoenum:left | center | rightHorizontal text alignment inside the cell.
verticalAlignnoenum:top | middle | bottomVertical alignment inside the padded cell box.
paddingnoref:TableCellPadding
bordersnoobjectIndependent cell edges. Omitted edges retain the table theme border; width 0 removes an edge.

TableCellPadding

  • Type: object
  • Required fields: none
  • Purpose: Text insets in reference pixels. Defaults: top 8, right 10, bottom 4, left 10.
FieldRequiredTypeNotes
topnonumber
rightnonumber
bottomnonumber
leftnonumber

TableCellBorder

  • Type: object
  • Required fields: color, width
  • Purpose: One explicit cell border.
FieldRequiredTypeNotes
coloryesref:ColorRefBorder color: a hex color, a color-scheme slot or role name, or a 'var:<id>' variable reference. Eight-digit hex colors include alpha; #00000000 is transparent.
widthyesnumberBorder width in reference pixels; 0 removes this edge.
dashnoenum:solid | dash | dotDefault solid.

Catalogs

FieldRequiredTypeNotes
narrativesnoref:CatalogEntryCatalog 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 'narrat...
themesnoref:CatalogEntryCatalog of themes. Records validate against https://openpresentation.org/schema/opf-theme/v1. Default source: https://www.pptx.gallery/themes.
colorSchemesnoref:CatalogEntryCatalog of color schemes. Records validate against https://openpresentation.org/schema/opf-color-scheme/v1. Default source: https://www.pptx.gallery/color-schemes.
fontSchemesnoref:CatalogEntryCatalog of font schemes. Records validate against https://openpresentation.org/schema/opf-font-scheme/v1. Default source: https://www.pptx.gallery/font-schemes.
languagesnoref:CatalogEntryCatalog of languages. Records validate against https://openpresentation.org/schema/opf-language/v1. Default source: https://www.pptx.gallery/languages.
layoutsnoref:CatalogEntryCatalog of slide layouts. Records validate against https://openpresentation.org/schema/opf-layout/v1. Default source: https://www.pptx.gallery/layouts.
chartTypesnoref:CatalogEntryCatalog of chart types. Records validate against https://openpresentation.org/schema/opf-chart-type/v1. Default source: https://www.pptx.gallery/chart-types.
tonesnoref:CatalogEntryCatalog of presentation tones. Records validate against https://openpresentation.org/schema/opf-tone/v1. Default source: https://www.pptx.gallery/tones. Referenced from tone.
purposesnoref:CatalogEntryCatalog of presentation purposes. Records validate against https://openpresentation.org/schema/opf-purpose/v1. Default source: https://www.pptx.gallery/purposes. Referenced from purpose.
audiencesnoref:CatalogEntryCatalog of presentation audiences. Records validate against https://openpresentation.org/schema/opf-audience/v1. Default source: https://www.pptx.gallery/audiences. Referenced from audience.
socialPlatformsnoref:CatalogEntryCatalog of social-media platforms. Records validate against https://openpresentation.org/schema/opf-social-platform/v1. Default source: https://www.pptx.gallery/social-platforms. Referenced via the property keys of an...

CatalogEntry

  • Type: object
  • Required fields: none
  • Purpose: A catalog override for one record kind. 'source' replaces the default registry; 'records' adds inline records that take precedence over anything fetched from a source. Either or both may be provided; both omitted means the kind uses its default catalog.
FieldRequiredTypeNotes
sourcenooneOf:ref:CatalogSource / array<ref:CatalogSource>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...
recordsnoarray<object>Inline catalog records embedded in this OPF document. Each record validates against the kind's companion schema (e.g. https://openpresentation.org/schema/opf-narrative/v1 for narratives). Inline records win over anyth...

CatalogSource

No named properties.

Composition

  • Type: object
  • Required fields: none
  • Purpose: Portable dynamic composition. Slide fields override the resolved layout. Nested groups arrange their children independently, inheriting only minFontSize and overflow. Explicit promoted regions retain their positions.
FieldRequiredTypeNotes
modenoenum:auto | grid | row | columnauto chooses a grid from available space and content; grid uses columns; row and column use one horizontal or vertical track.
columnsnointegerColumn count for grid. In auto mode this caps the number of columns.
gapnonumberSpace between cells as a fraction of the container short edge (canvas at slide root). Default 0.03333333333333333.
paddingnonumberInset as a fraction of the container short edge. Default 0.08 on a slide, 0 inside a group.
weightsnoarray<number>Relative track sizes: columns for row/grid/auto, rows for column. Omitted tracks have weight 1; extra weights are ignored.
minFontSizenonumberMinimum readable text size in reference pixels at a 720-pixel canvas short edge. Default 16. Overflow is diagnosed when text cannot fit at this size.
overflownoenum:warn | errorwarn returns diagnostics for content that does not fit; error rejects layout. Content is never silently removed. Default warn.