Open Presentation

Search docs

Loading documentation…
    OpenPresentation/opf
    Browse docs
    On this page
    View source

    Slide Design

    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.

    Metadata

    Definition
    #/$defs/SlideDesign
    Form
    2 combined constraints (allOf)
    Source
    spec/schemas/opf.schema.json

    Field index

    This definition uses the forms or value constraints below.

    allOf 1 · ref:Design

    Referenced Design · object

    Visual design system applied to the presentation; individual slides may override fields via Slide.design.

    FieldTypeReq.DefaultDescription
    themeref:CatalogReference——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.
    colorSchemestring | ref:ColorScheme——Color scheme for the presentation. Accepts two forms: - A colorSchemes reference: a bare id ('cool-horizon') or 'name:id' ('acme:ocean'). - 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. Without either, the theme's colorScheme applies, then the engine default color scheme.
    fontSchemestring | ref:FontScheme——Font scheme for heading, body, accent, and code text. Accepts two forms: - A fontSchemes reference: a bare id ('aptos') or 'name:id' ('acme:inter'). - Object form: a FontScheme with an optional 'id' reference as the base plus pair/role overrides. Without either, the theme's fontScheme applies, then the engine default font scheme.
    dimensionsref:DimensionPreset | ref:Dimensions——Slide dimensions and aspect ratio. String shorthand such as 'widescreen' is equivalent to { preset: 'widescreen' }.
    dimensions · Named choices (see schema for other values and constraints)
    "16:9""4:3""16:10""1:1""4:5""9:16""letter""a4""widescreen""standard"
    backgroundref:BackgroundShortcut | ref:Background——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.
    background · Named choices (see schema for other values and constraints)
    "light1""light2""dark1""dark2"
    variantref:ColorVariantSlot | ref:ColorVariant——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.
    variant · Named choices (see schema for other values and constraints)
    "light1""light2""dark1""dark2""accent1""accent2""accent3""accent4""accent5""accent6"
    logostring | const——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.
    logo · Named choices (see schema for other values and constraints)
    false
    watermarkconst | ref:Asset | ref:Watermark——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.
    watermark · Named choices (see schema for other values and constraints)
    false
    headerconst | ref:HeaderFooter——Repeated header furniture rendered outside the main slide content. Use false to suppress an inherited header.
    header · Named choices (see schema for other values and constraints)
    false
    footerconst | ref:HeaderFooter——Repeated footer furniture rendered outside the main slide content. Use false to suppress an inherited footer.
    footer · Named choices (see schema for other values and constraints)
    false
    titleAlignmentenum——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.
    titleAlignment · Allowed values
    "start""center""end"
    titlePositionenum——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.
    titlePosition · Allowed values
    "top""start"
    contentAlignmentenum——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.
    contentAlignment · Allowed values
    "start""center""end"
    contentBoxboolean——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.
    imageFitenum——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.
    imageFit · Allowed values
    "cover""contain""stretch""auto"
    listBulletenum——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.
    listBullet · Allowed values
    "character""image""none"
    listStyleenum——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.
    listStyle · Allowed values
    "stack""rows"
    mirrorboolean——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.

    theme

    typeref:CatalogReferencerequirednodefault—

    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.

    theme.json
    {
      "theme": "minimal"
    }

    colorScheme

    typestring | ref:ColorSchemerequirednodefault—

    Color scheme for the presentation. Accepts two forms: - A colorSchemes reference: a bare id ('cool-horizon') or 'name:id' ('acme:ocean'). - 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. Without either, the theme's colorScheme applies, then the engine default color scheme.

    colorScheme.json
    {
      "colorScheme": "cool-horizon"
    }

    fontScheme

    typestring | ref:FontSchemerequirednodefault—

    Font scheme for heading, body, accent, and code text. Accepts two forms: - A fontSchemes reference: a bare id ('aptos') or 'name:id' ('acme:inter'). - Object form: a FontScheme with an optional 'id' reference as the base plus pair/role overrides. Without either, the theme's fontScheme applies, then the engine default font scheme.

    fontScheme (oneOf 2).type · Allowed values
    "sans-serif""serif""monospace"
    fontScheme (oneOf 2).app · Allowed values
    "powerpoint""google-slides"
    fontScheme (oneOf 2).scriptGroup · Allowed values
    "latin""eastAsian""complexScript"
    fontScheme.json
    {
      "fontScheme": "aptos"
    }

    dimensions

    typeref:DimensionPreset | ref:Dimensionsrequirednodefault—

    Slide dimensions and aspect ratio. String shorthand such as 'widescreen' is equivalent to { preset: 'widescreen' }.

    dimensions · Named choices (see schema for other values and constraints)
    "16:9""4:3""16:10""1:1""4:5""9:16""letter""a4""widescreen""standard"
    dimensions (oneOf 2).preset · Allowed values
    "16:9""4:3""16:10""1:1""4:5""9:16""letter""a4""widescreen""standard"
    dimensions.json
    {
      "dimensions": "widescreen"
    }

    background

    typeref:BackgroundShortcut | ref:Backgroundrequirednodefault—

    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.

    Named choices are not exhaustive. See the schema for other values and constraints.
    background · Named choices
    "light1", "light2", "dark1", "dark2"
    background (oneOf 2) (oneOf 1).type · Allowed values
    "theme"
    background (oneOf 2) (oneOf 1).slot · Allowed values
    "light1", "light2", "dark1", "dark2"
    background (oneOf 2) (oneOf 2).type · Allowed values
    "solid"
    background (oneOf 2) (oneOf 2).color, background (oneOf 2) (oneOf 2).color (anyOf 4).color, background (oneOf 2) (oneOf 3).gradient.stops[].color, background (oneOf 2) (oneOf 4).recolor (oneOf 2).dark, background (oneOf 2) (oneOf 4).recolor (oneOf 2).light, background (oneOf 2) (oneOf 4).overlay (oneOf 1).color, background (oneOf 2) (oneOf 5).pattern.foregroundColor, background (oneOf 2) (oneOf 5).pattern.backgroundColor · Named choices
    "accent1", "accent2", "accent3", "accent4", "accent5", "accent6", "dark1", "dark2", "light1", "light2", "hyperlink", "followedHyperlink", "primary", "secondary", "accent", "background", "surface", "surfaceAlt", "text", "textSecondary"
    background (oneOf 2) (oneOf 3).appearance, background (oneOf 2) (oneOf 4).appearance · Allowed values
    "dark", "light"
    background (oneOf 2) (oneOf 3).type · Allowed values
    "gradient"
    background (oneOf 2) (oneOf 4).type · Allowed values
    "image"
    background (oneOf 2) (oneOf 4).fit · Allowed values
    "cover", "contain", "stretch", "tile"
    background (oneOf 2) (oneOf 4).recolor · Named choices
    "grayscale"
    background (oneOf 2) (oneOf 4).overlay · Named choices
    false
    background (oneOf 2) (oneOf 4).overlay (oneOf 1).edge · Allowed values
    "top", "bottom", "start", "end"
    background (oneOf 2) (oneOf 4).textPlacement · Allowed values
    "top-start", "top-center", "middle-start", "middle-center", "bottom-start", "bottom-center", "panel"
    background (oneOf 2) (oneOf 5).type · Allowed values
    "pattern"
    background.json
    {
      "background": "dark1"
    }

    variant

    typeref:ColorVariantSlot | ref:ColorVariantrequirednodefault—

    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.

    variant · Named choices (see schema for other values and constraints)
    "light1""light2""dark1""dark2""accent1""accent2""accent3""accent4""accent5""accent6"
    variant (oneOf 2).background · Allowed values
    "light1""light2""dark1""dark2""accent1""accent2""accent3""accent4""accent5""accent6"
    variant (oneOf 2).accents[] · Allowed values
    "accent1""accent2""accent3""accent4""accent5""accent6"
    variant.json
    {
      "variant": "dark1"
    }

    watermark

    typeconst | ref:Asset | ref:Watermarkrequirednodefault—

    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.

    watermark · Named choices (see schema for other values and constraints)
    false
    watermark.json
    {
      "watermark": false
    }

    header

    typeconst | ref:HeaderFooterrequirednodefault—

    Repeated header furniture rendered outside the main slide content. Use false to suppress an inherited header.

    header · Named choices (see schema for other values and constraints)
    false
    header.json
    {
      "header": false
    }

    titleAlignment

    typeenumrequirednodefault—

    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.

    titleAlignment · Allowed values
    "start""center""end"
    titleAlignment.json
    {
      "titleAlignment": "start"
    }

    titlePosition

    typeenumrequirednodefault—

    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.

    titlePosition · Allowed values
    "top""start"
    titlePosition.json
    {
      "titlePosition": "top"
    }

    contentAlignment

    typeenumrequirednodefault—

    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.

    contentAlignment · Allowed values
    "start""center""end"
    contentAlignment.json
    {
      "contentAlignment": "start"
    }

    contentBox

    typebooleanrequirednodefault—

    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

    typeenumrequirednodefault—

    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.

    imageFit · Allowed values
    "cover""contain""stretch""auto"
    imageFit.json
    {
      "imageFit": "cover"
    }

    listBullet

    typeenumrequirednodefault—

    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.

    listBullet · Allowed values
    "character""image""none"
    listBullet.json
    {
      "listBullet": "character"
    }

    listStyle

    typeenumrequirednodefault—

    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.

    listStyle · Allowed values
    "stack""rows"
    listStyle.json
    {
      "listStyle": "stack"
    }

    mirror

    typebooleanrequirednodefault—

    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.

    Exact constraints for Referenced Design
    Referenced Design schema
    {
      "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."
        }
      }
    }
    Exact constraints for allOf 1
    allOf 1 schema
    {
      "$ref": "#/$defs/Design"
    }

    allOf 2 · restriction

    Exact constraints for allOf 2
    allOf 2 schema
    {
      "not": {
        "required": [
          "dimensions"
        ]
      }
    }
    Complete definition constraints
    Schema constraints
    {
      "description": "A slide's design: every Design field except dimensions. A PPTX has one slide size, so the size is set once, on the deck's design.dimensions (or its theme), and a slide's design cannot set it. A slide-level theme whose resolved dimensions differ from the deck's is a validate warning (opf/slide-theme-dimensions); exporting such a deck to PPTX fails with mixed-slide-dimensions.",
      "allOf": [
        {
          "$ref": "#/$defs/Design"
        },
        {
          "not": {
            "required": [
              "dimensions"
            ]
          }
        }
      ]
    }