Skip to contents

Uses the S7 properties' declarations and omits defaults. This is a layout schema, separate from the chart registry and child chart/data contracts. Resolved layouts emitted by to_list() contain every setting.

Usage

panel_layout_schema(complete = FALSE)

Arguments

complete

Logical: Require every setting instead of allowing omissions.

Value

Named list: Draft 2020-12 JSON Schema.

Examples

panel_layout_schema()[["properties"]][["ncol"]]
#> $type
#> [1] "integer"
#> 
#> $minimum
#> [1] 1
#> 
#> $description
#> [1] "Number of equally sized columns."
#>