4 (sourceVariable | derivedVariable)+
15 sourceVariable := extension* (format | stringFormat)?
16 derivedVariable := extension* (format | stringFormat valueMapEntry*)?
18 format := (affix+ | relabel)?
20 numberFormat := affix?
21 stringFormat := (affix | relabel+)?
27 graph := location+ coordinates faceting facetLayout interval
32 faceting := cross layer*
33 interval := labeling footnotes?
34 labeling := (format | formatting | footnotes)*
35 formatting := formatMapping*
36 formatMapping := format
37 footnotes := footnoteMapping+
41 nest := variableReference+
44 facetLayout := tableLayout facetLevel+ setCellProperties*
48 axis := label? majorTicks
49 label := descriptionGroup | text+
50 majorTicks := gridline?
53 descriptionGroup := description+ text
58 setCellProperties := setMetadata setStyle* setFormat+ union?
61 setFormat := dateTimeFormat | format | numberFormat | stringFormat+
63 labelFrame := location+ label paragraph?
64 container := extension? location+ labelFrame+
72 intersect := intersectWhere | where+