Chartpack structure and metadata

The root is a non-empty sequence. Its first item must contain exactly one chartpack mapping.

Minimal chartpack

- chartpack:
    format: gcubed-chartpack
    version: 1
    title: Policy experiment
- chart:
    title: USA inflation
    series:
      - variable: INFL(USA)

format is exactly gcubed-chartpack; version is the integer 1; and title is non-blank.

Several charts in presentation order

- chartpack:
    format: gcubed-chartpack
    version: 1
    title: Main results
- chart:
    title: Inflation
    series:
      - variable: INFL(USA)
- chart:
    title: Real GDP
    series:
      - variable: GDPR(USA)

Moving a chart item changes report order. Mapping-key order has no effect.

Common error: a root mapping

chartpack:
  format: gcubed-chartpack
  version: 1
  title: Invalid root

This is invalid because the root lacks the sequence marker -.

Defaults, sections and inheritance


This site uses Just the Docs, a documentation theme for Jekyll.