{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "lang": {
      "type": "string"
    },
    "size": {
      "type": "object",
      "properties": {
        "width": {
          "type": "number",
          "exclusiveMinimum": 0
        },
        "height": {
          "type": "number",
          "exclusiveMinimum": 0
        }
      },
      "required": [
        "width",
        "height"
      ],
      "additionalProperties": false
    },
    "theme": {
      "type": "object",
      "properties": {
        "colors": {
          "type": "object",
          "properties": {
            "fg": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
            },
            "bg": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
            },
            "muted": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
            },
            "accent": {
              "type": "string",
              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
            }
          },
          "additionalProperties": false
        },
        "fonts": {
          "type": "object",
          "properties": {
            "title": {
              "type": "object",
              "properties": {
                "family": {
                  "type": "string"
                },
                "latin": {
                  "type": "string"
                },
                "ea": {
                  "type": "string"
                }
              },
              "required": [
                "family",
                "latin",
                "ea"
              ],
              "additionalProperties": false
            },
            "body": {
              "type": "object",
              "properties": {
                "family": {
                  "type": "string"
                },
                "latin": {
                  "type": "string"
                },
                "ea": {
                  "type": "string"
                }
              },
              "required": [
                "family",
                "latin",
                "ea"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "title",
            "body"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "colors"
      ],
      "additionalProperties": false
    },
    "slides": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "the section it is, by its id in script.md"
          },
          "picture": {
            "description": "a picture under everything, the size of the slide; none for none",
            "type": "string"
          },
          "background": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "solid"
                  },
                  "paint": {
                    "type": "object",
                    "properties": {
                      "color": {
                        "type": "string",
                        "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                        "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                      },
                      "alpha": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                      }
                    },
                    "required": [
                      "color"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "kind",
                  "paint"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "const": "linear"
                  },
                  "angle": {
                    "type": "number"
                  },
                  "stops": {
                    "minItems": 2,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "at": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        },
                        "paint": {
                          "type": "object",
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                            },
                            "alpha": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1
                            }
                          },
                          "required": [
                            "color"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "at",
                        "paint"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "kind",
                  "angle",
                  "stops"
                ],
                "additionalProperties": false
              }
            ]
          },
          "backdrop": {
            "description": "a picture as the slide's background, for decoration nobody edits",
            "type": "string"
          },
          "description": {
            "description": "what the slide's picture shows, for a screen reader",
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "layers": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/__schema0"
            }
          }
        },
        "required": [
          "slug",
          "layers"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "title",
    "lang",
    "size",
    "slides"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "text"
            },
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "width": {
              "type": "number",
              "minimum": 0
            },
            "height": {
              "type": "number",
              "minimum": 0
            },
            "lineHeight": {
              "type": "number",
              "exclusiveMinimum": 0
            },
            "runs": {
              "minItems": 1,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "text": {
                    "type": "string"
                  },
                  "size": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "description": "px"
                  },
                  "bold": {
                    "type": "boolean"
                  },
                  "italic": {
                    "type": "boolean"
                  },
                  "underline": {
                    "type": "boolean"
                  },
                  "strike": {
                    "type": "boolean"
                  },
                  "color": {
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                    "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                  },
                  "alpha": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  },
                  "letterSpacing": {
                    "type": "number"
                  },
                  "font": {
                    "description": "the face; the theme's font when left out",
                    "type": "string"
                  },
                  "ea": {
                    "description": "the face for East Asian characters",
                    "type": "string"
                  },
                  "family": {
                    "description": "the font-family, to find it among the theme's fonts",
                    "type": "string"
                  },
                  "highlight": {
                    "description": "a color marked behind the run",
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
                  }
                },
                "required": [
                  "text",
                  "size",
                  "color"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "kind",
            "x",
            "y",
            "width",
            "height",
            "runs"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "prose"
            },
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "width": {
              "type": "number",
              "minimum": 0
            },
            "height": {
              "type": "number",
              "minimum": 0
            },
            "title": {
              "description": "the slide's title: PowerPoint's title placeholder",
              "type": "boolean"
            },
            "text": {
              "type": "object",
              "properties": {
                "inset": {
                  "type": "object",
                  "properties": {
                    "left": {
                      "type": "number"
                    },
                    "top": {
                      "type": "number"
                    },
                    "right": {
                      "type": "number"
                    },
                    "bottom": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "left",
                    "top",
                    "right",
                    "bottom"
                  ],
                  "additionalProperties": false
                },
                "wrap": {
                  "description": "whether PowerPoint wraps it; true when left out",
                  "type": "boolean"
                },
                "paragraphs": {
                  "minItems": 1,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "align": {
                        "type": "string",
                        "enum": [
                          "left",
                          "center",
                          "right",
                          "justify"
                        ]
                      },
                      "lineHeight": {
                        "description": "px; 1.2 times the first run's size when left out",
                        "type": "number",
                        "exclusiveMinimum": 0
                      },
                      "spaceBefore": {
                        "type": "number"
                      },
                      "marginLeft": {
                        "type": "number"
                      },
                      "marginRight": {
                        "type": "number"
                      },
                      "indent": {
                        "type": "number"
                      },
                      "bullet": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "char": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "required": [
                              "char"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "startAt": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "startAt"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "runs": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string"
                            },
                            "size": {
                              "type": "number",
                              "exclusiveMinimum": 0,
                              "description": "px"
                            },
                            "bold": {
                              "type": "boolean"
                            },
                            "italic": {
                              "type": "boolean"
                            },
                            "underline": {
                              "type": "boolean"
                            },
                            "strike": {
                              "type": "boolean"
                            },
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                            },
                            "alpha": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1
                            },
                            "letterSpacing": {
                              "type": "number"
                            },
                            "font": {
                              "description": "the face; the theme's font when left out",
                              "type": "string"
                            },
                            "ea": {
                              "description": "the face for East Asian characters",
                              "type": "string"
                            },
                            "family": {
                              "description": "the font-family, to find it among the theme's fonts",
                              "type": "string"
                            },
                            "highlight": {
                              "description": "a color marked behind the run",
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
                            }
                          },
                          "required": [
                            "text",
                            "size",
                            "color"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "runs"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "paragraphs"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "kind",
            "x",
            "y",
            "width",
            "height",
            "text"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "shape"
            },
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "width": {
              "type": "number",
              "minimum": 0
            },
            "height": {
              "type": "number",
              "minimum": 0
            },
            "fill": {
              "type": "object",
              "properties": {
                "color": {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                  "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                },
                "alpha": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1
                }
              },
              "required": [
                "color"
              ],
              "additionalProperties": false
            },
            "outline": {
              "type": "object",
              "properties": {
                "width": {
                  "type": "number",
                  "exclusiveMinimum": 0
                },
                "paint": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                      "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                    },
                    "alpha": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1
                    }
                  },
                  "required": [
                    "color"
                  ],
                  "additionalProperties": false
                },
                "dash": {
                  "type": "string",
                  "enum": [
                    "dash",
                    "dot"
                  ]
                }
              },
              "required": [
                "width",
                "paint"
              ],
              "additionalProperties": false
            },
            "shadow": {
              "description": "one shadow beneath the shape, as CSS box-shadow's first",
              "type": "object",
              "properties": {
                "x": {
                  "type": "number"
                },
                "y": {
                  "type": "number"
                },
                "blur": {
                  "type": "number",
                  "minimum": 0
                },
                "paint": {
                  "type": "object",
                  "properties": {
                    "color": {
                      "type": "string",
                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                      "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                    },
                    "alpha": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1
                    }
                  },
                  "required": [
                    "color"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "x",
                "y",
                "blur",
                "paint"
              ],
              "additionalProperties": false
            },
            "rotate": {
              "description": "degrees clockwise about its center",
              "type": "number"
            },
            "radius": {
              "type": "number",
              "minimum": 0
            },
            "geometry": {
              "description": "one of PowerPoint's own shapes in place of a rectangle",
              "type": "string",
              "enum": [
                "ellipse",
                "triangle",
                "diamond",
                "chevron",
                "homePlate",
                "rightArrow",
                "leftArrow",
                "upArrow",
                "downArrow",
                "round2SameRect",
                "wedgeRoundRectCallout"
              ]
            },
            "text": {
              "type": "object",
              "properties": {
                "inset": {
                  "type": "object",
                  "properties": {
                    "left": {
                      "type": "number"
                    },
                    "top": {
                      "type": "number"
                    },
                    "right": {
                      "type": "number"
                    },
                    "bottom": {
                      "type": "number"
                    }
                  },
                  "required": [
                    "left",
                    "top",
                    "right",
                    "bottom"
                  ],
                  "additionalProperties": false
                },
                "wrap": {
                  "description": "whether PowerPoint wraps it; true when left out",
                  "type": "boolean"
                },
                "paragraphs": {
                  "minItems": 1,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "align": {
                        "type": "string",
                        "enum": [
                          "left",
                          "center",
                          "right",
                          "justify"
                        ]
                      },
                      "lineHeight": {
                        "description": "px; 1.2 times the first run's size when left out",
                        "type": "number",
                        "exclusiveMinimum": 0
                      },
                      "spaceBefore": {
                        "type": "number"
                      },
                      "marginLeft": {
                        "type": "number"
                      },
                      "marginRight": {
                        "type": "number"
                      },
                      "indent": {
                        "type": "number"
                      },
                      "bullet": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "char": {
                                "type": "string",
                                "minLength": 1
                              }
                            },
                            "required": [
                              "char"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "startAt": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "startAt"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "runs": {
                        "minItems": 1,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string"
                            },
                            "size": {
                              "type": "number",
                              "exclusiveMinimum": 0,
                              "description": "px"
                            },
                            "bold": {
                              "type": "boolean"
                            },
                            "italic": {
                              "type": "boolean"
                            },
                            "underline": {
                              "type": "boolean"
                            },
                            "strike": {
                              "type": "boolean"
                            },
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                            },
                            "alpha": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1
                            },
                            "letterSpacing": {
                              "type": "number"
                            },
                            "font": {
                              "description": "the face; the theme's font when left out",
                              "type": "string"
                            },
                            "ea": {
                              "description": "the face for East Asian characters",
                              "type": "string"
                            },
                            "family": {
                              "description": "the font-family, to find it among the theme's fonts",
                              "type": "string"
                            },
                            "highlight": {
                              "description": "a color marked behind the run",
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
                            }
                          },
                          "required": [
                            "text",
                            "size",
                            "color"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "runs"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "paragraphs"
              ],
              "additionalProperties": false
            },
            "layers": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema0"
              }
            }
          },
          "required": [
            "kind",
            "x",
            "y",
            "width",
            "height"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "rule"
            },
            "x1": {
              "type": "number"
            },
            "y1": {
              "type": "number"
            },
            "x2": {
              "type": "number"
            },
            "y2": {
              "type": "number"
            },
            "width": {
              "type": "number",
              "exclusiveMinimum": 0
            },
            "paint": {
              "type": "object",
              "properties": {
                "color": {
                  "type": "string",
                  "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                  "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                },
                "alpha": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1
                }
              },
              "required": [
                "color"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "kind",
            "x1",
            "y1",
            "x2",
            "y2",
            "width",
            "paint"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "table"
            },
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "columns": {
              "minItems": 1,
              "type": "array",
              "items": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "description": "each column's width, px, from the left"
            },
            "rows": {
              "minItems": 1,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "height": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "description": "px; PowerPoint makes a row taller where its text needs more"
                  },
                  "cells": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "columnSpan": {
                          "description": "the columns it takes from where it starts; 1 when left out",
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 9007199254740991
                        },
                        "rowSpan": {
                          "description": "the rows it takes from where it starts; 1 when left out",
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 9007199254740991
                        },
                        "fill": {
                          "type": "object",
                          "properties": {
                            "color": {
                              "type": "string",
                              "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                              "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                            },
                            "alpha": {
                              "type": "number",
                              "minimum": 0,
                              "maximum": 1
                            }
                          },
                          "required": [
                            "color"
                          ],
                          "additionalProperties": false
                        },
                        "borders": {
                          "description": "on the grid's lines; a line two cells share is the wider of their two, the one above or to the left where they are as wide",
                          "type": "object",
                          "properties": {
                            "top": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                "paint": {
                                  "type": "object",
                                  "properties": {
                                    "color": {
                                      "type": "string",
                                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                                      "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                                    },
                                    "alpha": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 1
                                    }
                                  },
                                  "required": [
                                    "color"
                                  ],
                                  "additionalProperties": false
                                },
                                "dash": {
                                  "type": "string",
                                  "enum": [
                                    "dash",
                                    "dot"
                                  ]
                                }
                              },
                              "required": [
                                "width",
                                "paint"
                              ],
                              "additionalProperties": false
                            },
                            "right": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                "paint": {
                                  "type": "object",
                                  "properties": {
                                    "color": {
                                      "type": "string",
                                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                                      "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                                    },
                                    "alpha": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 1
                                    }
                                  },
                                  "required": [
                                    "color"
                                  ],
                                  "additionalProperties": false
                                },
                                "dash": {
                                  "type": "string",
                                  "enum": [
                                    "dash",
                                    "dot"
                                  ]
                                }
                              },
                              "required": [
                                "width",
                                "paint"
                              ],
                              "additionalProperties": false
                            },
                            "bottom": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                "paint": {
                                  "type": "object",
                                  "properties": {
                                    "color": {
                                      "type": "string",
                                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                                      "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                                    },
                                    "alpha": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 1
                                    }
                                  },
                                  "required": [
                                    "color"
                                  ],
                                  "additionalProperties": false
                                },
                                "dash": {
                                  "type": "string",
                                  "enum": [
                                    "dash",
                                    "dot"
                                  ]
                                }
                              },
                              "required": [
                                "width",
                                "paint"
                              ],
                              "additionalProperties": false
                            },
                            "left": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "number",
                                  "exclusiveMinimum": 0
                                },
                                "paint": {
                                  "type": "object",
                                  "properties": {
                                    "color": {
                                      "type": "string",
                                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                                      "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                                    },
                                    "alpha": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 1
                                    }
                                  },
                                  "required": [
                                    "color"
                                  ],
                                  "additionalProperties": false
                                },
                                "dash": {
                                  "type": "string",
                                  "enum": [
                                    "dash",
                                    "dot"
                                  ]
                                }
                              },
                              "required": [
                                "width",
                                "paint"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        },
                        "inset": {
                          "description": "px from the cell's edges to its text; 0 when left out",
                          "type": "object",
                          "properties": {
                            "left": {
                              "type": "number"
                            },
                            "top": {
                              "type": "number"
                            },
                            "right": {
                              "type": "number"
                            },
                            "bottom": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "left",
                            "top",
                            "right",
                            "bottom"
                          ],
                          "additionalProperties": false
                        },
                        "anchor": {
                          "description": "where its text sits between its top and bottom insets; top when left out",
                          "type": "string",
                          "enum": [
                            "top",
                            "middle",
                            "bottom"
                          ]
                        },
                        "paragraphs": {
                          "description": "its text, which PowerPoint wraps; an empty cell when left out",
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "align": {
                                "type": "string",
                                "enum": [
                                  "left",
                                  "center",
                                  "right",
                                  "justify"
                                ]
                              },
                              "lineHeight": {
                                "description": "px; 1.2 times the first run's size when left out",
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              "spaceBefore": {
                                "type": "number"
                              },
                              "marginLeft": {
                                "type": "number"
                              },
                              "marginRight": {
                                "type": "number"
                              },
                              "indent": {
                                "type": "number"
                              },
                              "bullet": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "char": {
                                        "type": "string",
                                        "minLength": 1
                                      }
                                    },
                                    "required": [
                                      "char"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "startAt": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "startAt"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "runs": {
                                "minItems": 1,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "text": {
                                      "type": "string"
                                    },
                                    "size": {
                                      "type": "number",
                                      "exclusiveMinimum": 0,
                                      "description": "px"
                                    },
                                    "bold": {
                                      "type": "boolean"
                                    },
                                    "italic": {
                                      "type": "boolean"
                                    },
                                    "underline": {
                                      "type": "boolean"
                                    },
                                    "strike": {
                                      "type": "boolean"
                                    },
                                    "color": {
                                      "type": "string",
                                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$",
                                      "description": "#rrggbb, or #rrggbbaa with its alpha, which multiplies an alpha beside it"
                                    },
                                    "alpha": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 1
                                    },
                                    "letterSpacing": {
                                      "type": "number"
                                    },
                                    "font": {
                                      "description": "the face; the theme's font when left out",
                                      "type": "string"
                                    },
                                    "ea": {
                                      "description": "the face for East Asian characters",
                                      "type": "string"
                                    },
                                    "family": {
                                      "description": "the font-family, to find it among the theme's fonts",
                                      "type": "string"
                                    },
                                    "highlight": {
                                      "description": "a color marked behind the run",
                                      "type": "string",
                                      "pattern": "^#[0-9a-fA-F]{6}([0-9a-fA-F]{2})?$"
                                    }
                                  },
                                  "required": [
                                    "text",
                                    "size",
                                    "color"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "runs"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "additionalProperties": false
                    },
                    "description": "the cells that start in the row, from the left, past those of rows above that reach into it"
                  }
                },
                "required": [
                  "height",
                  "cells"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "kind",
            "x",
            "y",
            "columns",
            "rows"
          ],
          "additionalProperties": false,
          "description": "a table PowerPoint's own, its cells' text editable and wrapped in them"
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "picture"
            },
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            },
            "width": {
              "type": "number",
              "minimum": 0
            },
            "height": {
              "type": "number",
              "minimum": 0
            },
            "description": {
              "type": "string"
            },
            "rotate": {
              "description": "degrees clockwise about its center",
              "type": "number"
            },
            "file": {
              "type": "string",
              "minLength": 1,
              "description": "a PNG or JPEG, from the deck's folder"
            },
            "svg": {
              "description": "an SVG of the same, from the deck's folder",
              "type": "string",
              "minLength": 1
            }
          },
          "required": [
            "kind",
            "x",
            "y",
            "width",
            "height",
            "file"
          ],
          "additionalProperties": false
        }
      ]
    }
  }
}
