Delegates to deckifyr schema in the bundled Python engine. This one
is fully functional today: it dumps the pydantic-generated JSON
Schema for design, layouts, or presentation.
Usage
deck_schema(document = c("design", "layouts", "presentation"))Details
For IDE YAML tooling (e.g. VS Code's YAML extension, via a
# yaml-language-server: $schema=... comment or a yaml.schemas
setting) that needs a real file rather than this function's return
value, the same schemas also ship as static files at
system.file("python", "deckifyr", "schemas", paste0(document, ".schema.json"), package = "deckifyr") (issue #49).
