{
  "$id": "https://getnarro.com/schema/slide-frontmatter.schema.json",
  "title": "Narro slide frontmatter",
  "description": "The YAML block after a slide's opening separator. Keys not listed here are passed to the layout component as props.",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "layout": {
      "description": "Layout name. Resolves against the deck's `layouts/` directory, then the theme, then the built-ins.",
      "type": "string",
      "examples": [
        "default",
        "cover",
        "section",
        "quote",
        "end",
        "two-column",
        "three-column",
        "image-right",
        "image-full"
      ]
    },
    "class": {
      "description": "Tailwind classes for this slide's root element.",
      "type": "string"
    },
    "id": {
      "description": "Stable identifier. Makes the slide linkable and keeps diffs stable when edited.",
      "type": "string"
    },
    "transition": {
      "description": "Transition into this slide.",
      "type": "string"
    },
    "background": {
      "description": "Background colour or image for this slide.",
      "type": "string"
    },
    "notes": {
      "description": "Speaker notes. Never rendered on the slide; shown in the presenter view.",
      "type": "string"
    }
  },
  "additionalProperties": true
}
