{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "G-Cubed YAML chartpack versions 1.0.0 through 1.4.0",
  "type": "array",
  "minItems": 2,
  "prefixItems": [
    {
      "$ref": "#/$defs/chartpackEntry"
    }
  ],
  "contains": {
    "anyOf": [
      {
        "$ref": "#/$defs/chartEntry"
      },
      {
        "$ref": "#/$defs/chartEntryV12"
      },
      {
        "$ref": "#/$defs/chartEntryV14"
      }
    ]
  },
  "minContains": 1,
  "allOf": [
    {
      "if": {
        "prefixItems": [{ "properties": { "chartpack": { "properties": { "version": { "const": "1.4.0" } } } } }]
      },
      "then": {
        "prefixItems": [true],
        "items": {
          "oneOf": [
            { "$ref": "#/$defs/chartEntryV14" },
            { "$ref": "#/$defs/sectionEntryV14" }
          ]
        }
      },
      "else": {
        "if": {
          "prefixItems": [{ "properties": { "chartpack": { "properties": { "version": { "enum": ["1.2.0", "1.3.0"] } } } } }]
        },
        "then": {
          "prefixItems": [true],
          "items": {
            "oneOf": [
              { "$ref": "#/$defs/chartEntryV12" },
              { "$ref": "#/$defs/sectionEntryV12" }
            ]
          }
        },
        "else": {
          "prefixItems": [true],
          "items": {
            "oneOf": [
              { "$ref": "#/$defs/chartEntry" },
              { "$ref": "#/$defs/sectionEntry" }
            ]
          }
        }
      }
    }
  ],
  "$defs": {
    "chartpackEntry": {
      "type": "object",
      "additionalProperties": false,
      "required": ["chartpack"],
      "properties": {
        "chartpack": {
          "$ref": "#/$defs/chartpack"
        }
      }
    },
    "chartpack": {
      "type": "object",
      "additionalProperties": false,
      "required": ["format", "version", "title"],
      "allOf": [
        {
          "if": {
            "required": ["table_of_contents"]
          },
          "then": {
            "properties": {
              "version": {
                "enum": ["1.1.0", "1.2.0", "1.3.0", "1.4.0"]
              }
            }
          }
        },
        {
          "if": {
            "required": ["sector_selection_dimensions"]
          },
          "then": {
            "properties": {
              "version": {
                "enum": ["1.3.0", "1.4.0"]
              }
            }
          }
        },
        {
          "if": {
            "required": ["sector_selection_include_default"]
          },
          "then": {
            "required": ["sector_selection_dimensions"],
            "properties": {
              "version": {
                "enum": ["1.3.0", "1.4.0"]
              }
            }
          }
        },
        {
          "if": {
            "required": ["defaults"],
            "properties": {
              "defaults": {
                "required": ["y_axis"],
                "properties": {
                  "y_axis": { "required": ["label"] }
                }
              }
            }
          },
          "then": {
            "properties": {
              "version": { "const": "1.4.0" }
            }
          }
        }
      ],
      "properties": {
        "format": {
          "const": "gcubed-chartpack"
        },
        "version": {
          "oneOf": [
            {
              "const": "1.0.0"
            },
            {
              "const": "1.1.0"
            },
            {
              "const": "1.2.0"
            },
            {
              "const": "1.3.0"
            },
            {
              "const": "1.4.0"
            },
            {
              "const": 1
            }
          ]
        },
        "title": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "table_of_contents": {
          "type": "boolean",
          "default": false
        },
        "sector_selection_dimensions": {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "$ref": "#/$defs/nonEmptyString"
          }
        },
        "sector_selection_include_default": {
          "type": "boolean",
          "default": false
        },
        "defaults": {
          "$ref": "#/$defs/renderingBounds"
        }
      }
    },
    "nonEmptyString": {
      "type": "string",
      "minLength": 1
    },
    "year": {
      "type": "integer",
      "minimum": 1000,
      "maximum": 9999
    },
    "yAxis": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "min": {
          "$ref": "#/$defs/finiteNumber"
        },
        "max": {
          "$ref": "#/$defs/finiteNumber"
        }
      }
    },
    "axisV14": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "min": { "$ref": "#/$defs/finiteNumber" },
        "max": { "$ref": "#/$defs/finiteNumber" },
        "label": { "$ref": "#/$defs/nonEmptyString" }
      }
    },
    "colorAxis": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "min": { "$ref": "#/$defs/finiteNumber" },
        "max": { "$ref": "#/$defs/finiteNumber" },
        "midpoint": { "$ref": "#/$defs/finiteNumber" },
        "palette": { "enum": ["semantic-diverging", "semantic-sequential"] }
      }
    },
    "reconciliation": {
      "type": "object",
      "additionalProperties": false,
      "oneOf": [
        {
          "required": ["total"],
          "not": { "required": ["total_variable"] }
        },
        {
          "required": ["total_variable"],
          "not": { "required": ["total"] }
        }
      ],
      "properties": {
        "total": { "$ref": "#/$defs/nonnegativeFiniteNumber" },
        "total_variable": { "$ref": "#/$defs/nonEmptyString" },
        "absolute_tolerance": { "$ref": "#/$defs/nonnegativeFiniteNumber" }
      }
    },
    "waterfallReconciliation": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "absolute_tolerance": {
          "$ref": "#/$defs/nonnegativeFiniteNumber"
        }
      }
    },
    "finiteNumber": {
      "type": "number",
      "minimum": -1.7976931348623157e308,
      "maximum": 1.7976931348623157e308,
      "description": "A finite IEEE-754 number; non-finite YAML scalars are also excluded by the required JSON-compatible scalar schema."
    },
    "nonnegativeFiniteNumber": {
      "type": "number",
      "minimum": 0,
      "maximum": 1.7976931348623157e308
    },
    "renderingBounds": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "start_year": {
          "$ref": "#/$defs/year"
        },
        "end_year": {
          "$ref": "#/$defs/year"
        },
        "y_axis": {
          "$ref": "#/$defs/axisV14"
        }
      }
    },
    "style": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "color": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "line": {
          "enum": [
            "solid",
            "dot",
            "dash",
            "longdash",
            "dashdot",
            "longdashdot"
          ]
        }
      }
    },
    "selectorValue": {
      "anyOf": [
        {
          "const": "all"
        },
        {
          "$ref": "#/$defs/nonEmptyString"
        },
        {
          "type": "array",
          "minItems": 1,
          "uniqueItems": true,
          "items": {
            "allOf": [
              {
                "$ref": "#/$defs/nonEmptyString"
              },
              {
                "not": {
                  "const": "all"
                }
              }
            ]
          }
        }
      ]
    },
    "selectors": {
      "type": "object",
      "propertyNames": {
        "minLength": 1
      },
      "additionalProperties": {
        "$ref": "#/$defs/selectorValue"
      }
    },
    "exactSeries": {
      "type": "object",
      "additionalProperties": false,
      "required": ["variable"],
      "properties": {
        "variable": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "label": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "style": {
          "$ref": "#/$defs/style"
        }
      }
    },
    "selectorSeries": {
      "type": "object",
      "additionalProperties": false,
      "required": ["variable_prefix"],
      "properties": {
        "variable_prefix": {
          "type": "string",
          "minLength": 1,
          "pattern": "^[^()]+$"
        },
        "selectors": {
          "$ref": "#/$defs/selectors"
        }
      }
    },
    "series": {
      "oneOf": [
        {
          "$ref": "#/$defs/exactSeries"
        },
        {
          "$ref": "#/$defs/selectorSeries"
        }
      ]
    },
    "exactSeriesV12": {
      "type": "object",
      "additionalProperties": false,
      "required": ["variable"],
      "properties": {
        "variable": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "label": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "style": {
          "$ref": "#/$defs/style"
        },
        "start_year": {
          "$ref": "#/$defs/year"
        },
        "end_year": {
          "$ref": "#/$defs/year"
        }
      }
    },
    "selectorSeriesV12": {
      "type": "object",
      "additionalProperties": false,
      "required": ["variable_prefix"],
      "properties": {
        "variable_prefix": {
          "type": "string",
          "minLength": 1,
          "pattern": "^[^()]+$"
        },
        "selectors": {
          "$ref": "#/$defs/selectors"
        },
        "start_year": {
          "$ref": "#/$defs/year"
        },
        "end_year": {
          "$ref": "#/$defs/year"
        }
      }
    },
    "seriesV12": {
      "oneOf": [
        {
          "$ref": "#/$defs/exactSeriesV12"
        },
        {
          "$ref": "#/$defs/selectorSeriesV12"
        }
      ]
    },
    "pairedSeries": {
      "type": "object",
      "additionalProperties": false,
      "required": ["x_variable", "y_variable"],
      "properties": {
        "x_variable": { "$ref": "#/$defs/nonEmptyString" },
        "y_variable": { "$ref": "#/$defs/nonEmptyString" },
        "label": { "$ref": "#/$defs/nonEmptyString" },
        "style": {
          "type": "object",
          "additionalProperties": false,
          "minProperties": 1,
          "properties": {
            "color": { "$ref": "#/$defs/nonEmptyString" }
          }
        }
      }
    },
    "exactSeriesV14": {
      "type": "object",
      "additionalProperties": false,
      "required": ["variable"],
      "properties": {
        "variable": { "$ref": "#/$defs/nonEmptyString" },
        "label": { "$ref": "#/$defs/nonEmptyString" },
        "style": { "$ref": "#/$defs/style" },
        "role": { "enum": ["start", "contribution", "total"] },
        "start_year": { "$ref": "#/$defs/year" },
        "end_year": { "$ref": "#/$defs/year" }
      }
    },
    "selectorSeriesV14": {
      "type": "object",
      "additionalProperties": false,
      "required": ["variable_prefix"],
      "properties": {
        "variable_prefix": {
          "type": "string",
          "minLength": 1,
          "pattern": "^[^()]+$"
        },
        "selectors": { "$ref": "#/$defs/selectors" },
        "role": { "enum": ["start", "contribution", "total"] },
        "start_year": { "$ref": "#/$defs/year" },
        "end_year": { "$ref": "#/$defs/year" }
      }
    },
    "seriesV14": {
      "oneOf": [
        { "$ref": "#/$defs/exactSeriesV14" },
        { "$ref": "#/$defs/selectorSeriesV14" },
        { "$ref": "#/$defs/pairedSeries" }
      ]
    },
    "waterfallSeries": {
      "oneOf": [
        {
          "allOf": [
            { "$ref": "#/$defs/exactSeriesV14" },
            { "required": ["role"] }
          ]
        },
        {
          "allOf": [
            { "$ref": "#/$defs/selectorSeriesV14" },
            { "required": ["role"] }
          ]
        }
      ]
    },
    "chartEntry": {
      "type": "object",
      "additionalProperties": false,
      "required": ["chart"],
      "properties": {
        "chart": {
          "$ref": "#/$defs/chart"
        }
      }
    },
    "sectionEntry": {
      "type": "object",
      "additionalProperties": false,
      "required": ["section"],
      "properties": {
        "section": {
          "$ref": "#/$defs/section"
        }
      }
    },
    "sectionEntryV12": {
      "type": "object",
      "additionalProperties": false,
      "required": ["section"],
      "properties": {
        "section": {
          "$ref": "#/$defs/sectionV12"
        }
      }
    },
    "sectionEntryV14": {
      "type": "object",
      "additionalProperties": false,
      "required": ["section"],
      "properties": {
        "section": { "$ref": "#/$defs/sectionV14" }
      }
    },
    "section": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "label": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "title": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "start_year": {
          "$ref": "#/$defs/year"
        },
        "end_year": {
          "$ref": "#/$defs/year"
        },
        "y_axis": {
          "$ref": "#/$defs/yAxis"
        },
        "series": {
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/series"
          }
        }
      }
    },
    "sectionV12": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "label": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "title": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "start_year": {
          "$ref": "#/$defs/year"
        },
        "end_year": {
          "$ref": "#/$defs/year"
        },
        "y_axis": {
          "$ref": "#/$defs/yAxis"
        },
        "series": {
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/seriesV12"
          }
        }
      }
    },
    "sectionV14": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "label": { "$ref": "#/$defs/nonEmptyString" },
        "title": { "$ref": "#/$defs/nonEmptyString" },
        "start_year": { "$ref": "#/$defs/year" },
        "end_year": { "$ref": "#/$defs/year" },
        "y_axis": { "$ref": "#/$defs/axisV14" },
        "series": {
          "type": "array",
          "minItems": 1,
          "items": { "$ref": "#/$defs/seriesV14" }
        }
      }
    },
    "chart": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "title": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "start_year": {
          "$ref": "#/$defs/year"
        },
        "end_year": {
          "$ref": "#/$defs/year"
        },
        "y_axis": {
          "$ref": "#/$defs/yAxis"
        },
        "series": {
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/series"
          }
        }
      }
    },
    "chartEntryV12": {
      "type": "object",
      "additionalProperties": false,
      "required": ["chart"],
      "properties": {
        "chart": {
          "$ref": "#/$defs/chartV12"
        }
      }
    },
    "chartEntryV14": {
      "type": "object",
      "additionalProperties": false,
      "required": ["chart"],
      "properties": {
        "chart": {
          "$ref": "#/$defs/chartV14"
        }
      }
    },
    "chartV12": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "title": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "chart_type": {
          "const": "series-delta"
        },
        "start_year": {
          "$ref": "#/$defs/year"
        },
        "end_year": {
          "$ref": "#/$defs/year"
        },
        "y_axis": {
          "$ref": "#/$defs/yAxis"
        },
        "series": {
          "type": "array",
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/seriesV12"
          }
        }
      }
    },
    "chartV14": {
      "type": "object",
      "additionalProperties": false,
      "allOf": [
        {
          "if": { "anyOf": [{ "required": ["view_group"] }, { "required": ["view_label"] }] },
          "then": {
            "required": ["chart_type", "view_group", "view_label"],
            "properties": { "chart_type": { "const": "heatmap" } }
          }
        },
        {
          "if": { "required": ["year_selector"] },
          "then": {
            "required": ["chart_type"],
            "properties": {
              "chart_type": { "enum": ["series-value", "paired-scatter", "heatmap", "composition-area", "composition-bar", "waterfall"] },
              "x_dimension": { "not": { "const": "year" } },
              "y_dimension": { "not": { "const": "year" } }
            }
          }
        },
        {
          "if": { "required": ["observation_mode"] },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "const": "paired-scatter" } }
          }
        },
        {
          "if": {
            "required": ["observation_mode"],
            "properties": { "observation_mode": { "const": "selectable" } }
          },
          "then": {
            "properties": { "series": { "minItems": 1, "maxItems": 1 } },
            "not": {
              "required": ["year_selector"],
              "properties": { "year_selector": { "const": false } }
            }
          }
        },
        {
          "if": {
            "required": ["chart_type", "year"],
            "properties": { "chart_type": { "enum": ["composition-area", "composition-bar"] } }
          },
          "then": { "required": ["year_selector"], "properties": { "year_selector": { "const": true } } }
        },
        {
          "if": { "required": ["show_labels"] },
          "then": {
            "required": ["chart_type"],
            "anyOf": [
              { "properties": { "chart_type": { "enum": ["series-delta", "series-value", "heatmap", "paired-scatter", "composition-bar", "waterfall"] } } },
              {
                "properties": {
                  "chart_type": { "const": "composition-area" },
                  "display_selector": { "const": true }
                },
                "required": ["display_selector"]
              }
            ]
          }
        },
        {
          "if": { "required": ["display_selector"] },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "enum": ["composition-area", "composition-bar"] } }
          }
        },
        {
          "if": { "required": ["color_by_sign"] },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "enum": ["series-delta", "series-value"] } }
          }
        },
        {
          "if": { "required": ["level_base"] },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "const": "waterfall" } }
          }
        },
        {
          "if": {
            "properties": { "chart_type": { "const": "series-value" } },
            "required": ["chart_type"]
          },
          "then": { "required": ["year"] }
        },
        {
          "if": { "required": ["year"] },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "enum": ["series-value", "heatmap", "paired-scatter", "waterfall", "composition-area", "composition-bar"] } }
          }
        },
        {
          "if": {
            "anyOf": [
              { "required": ["orientation"] },
              { "required": ["sort"] }
            ]
          },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "enum": ["series-delta", "series-value"] } }
          }
        },
        {
          "if": {
            "anyOf": [
              { "required": ["x_dimension"] },
              { "required": ["y_dimension"] },
              { "required": ["color_axis"] }
            ]
          },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "const": "heatmap" } }
          }
        },
        {
          "if": {
            "anyOf": [
              { "required": ["facet_dimension"] },
              { "required": ["group_dimension"] }
            ]
          },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "const": "small-multiples" } }
          }
        },
        {
          "if": {
            "properties": { "chart_type": { "const": "small-multiples" } },
            "required": ["chart_type"]
          },
          "then": { "required": ["facet_dimension"] }
        },
        {
          "if": {
            "properties": { "chart_type": { "const": "heatmap" } },
            "required": ["chart_type"]
          },
          "then": {
            "required": ["x_dimension", "y_dimension"],
            "oneOf": [
              {
                "properties": {
                  "x_dimension": { "const": "year" },
                  "y_dimension": { "$ref": "#/$defs/nonEmptyNonYearString" }
                },
                "not": { "required": ["year"] }
              },
              {
                "properties": {
                  "x_dimension": { "$ref": "#/$defs/nonEmptyNonYearString" },
                  "y_dimension": { "const": "year" }
                },
                "not": { "required": ["year"] }
              },
              {
                "properties": {
                  "x_dimension": { "$ref": "#/$defs/nonEmptyNonYearString" },
                  "y_dimension": { "$ref": "#/$defs/nonEmptyNonYearString" }
                },
                "required": ["year"]
              }
            ]
          }
        },
        {
          "if": {
            "properties": { "chart_type": { "const": "paired-scatter" } },
            "required": ["chart_type"]
          },
          "then": {
            "required": ["year"],
            "properties": {
              "series": {
                "type": "array",
                "minItems": 1,
                "items": { "$ref": "#/$defs/pairedSeries" }
              }
            }
          }
        },
        {
          "if": {
            "properties": { "chart_type": { "const": "waterfall" } },
            "required": ["chart_type"]
          },
          "then": {
            "required": ["year"],
            "properties": {
              "reconciliation": { "$ref": "#/$defs/waterfallReconciliation" },
              "series": {
                "type": "array",
                "minItems": 3,
                "items": { "$ref": "#/$defs/waterfallSeries" },
                "prefixItems": [
                  {
                    "allOf": [
                      { "$ref": "#/$defs/waterfallSeries" },
                      { "properties": { "role": { "const": "start" } } }
                    ]
                  }
                ],
                "allOf": [
                  {
                    "contains": {
                      "properties": { "role": { "const": "start" } },
                      "required": ["role"]
                    },
                    "minContains": 1,
                    "maxContains": 1
                  },
                  {
                    "contains": {
                      "properties": { "role": { "const": "contribution" } },
                      "required": ["role"]
                    },
                    "minContains": 1
                  },
                  {
                    "contains": {
                      "properties": { "role": { "const": "total" } },
                      "required": ["role"]
                    },
                    "minContains": 1,
                    "maxContains": 1
                  }
                ]
              }
            }
          },
          "else": {
            "if": {
              "properties": { "chart_type": { "const": "paired-scatter" } },
              "required": ["chart_type"]
            },
            "then": {},
            "else": {
              "properties": {
                "series": {
                  "type": "array",
                  "minItems": 1,
                  "items": { "$ref": "#/$defs/seriesV12" }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": { "chart_type": { "enum": ["composition-area", "composition-bar"] } },
            "required": ["chart_type"]
          },
          "then": {
            "required": ["reconciliation"],
            "properties": { "reconciliation": { "$ref": "#/$defs/reconciliation" } }
          }
        },
        {
          "if": { "required": ["reconciliation"] },
          "then": {
            "required": ["chart_type"],
            "properties": { "chart_type": { "enum": ["composition-area", "composition-bar", "waterfall"] } }
          }
        }
      ],
      "properties": {
        "title": { "$ref": "#/$defs/nonEmptyString" },
        "caption": { "$ref": "#/$defs/nonEmptyString" },
        "chart_type": { "enum": ["series-delta", "series-value", "heatmap", "small-multiples", "paired-scatter", "composition-area", "composition-bar", "waterfall"] },
        "year": { "$ref": "#/$defs/year" },
        "year_selector": { "type": "boolean" },
        "observation_mode": { "enum": ["single-year", "selectable"], "default": "single-year" },
        "display_selector": { "type": "boolean", "default": false },
        "color_by_sign": { "type": "boolean", "default": false },
        "level_base": { "$ref": "#/$defs/finiteNumber" },
        "view_group": { "type": "string", "pattern": "\\S" },
        "view_label": { "type": "string", "pattern": "\\S" },
        "start_year": { "$ref": "#/$defs/year" },
        "end_year": { "$ref": "#/$defs/year" },
        "orientation": { "enum": ["vertical", "horizontal"] },
        "show_labels": { "type": "boolean", "default": false },
        "sort": { "enum": ["value-ascending", "value-descending"] },
        "x_axis": { "$ref": "#/$defs/axisV14" },
        "y_axis": { "$ref": "#/$defs/axisV14" },
        "x_dimension": { "$ref": "#/$defs/nonEmptyString" },
        "y_dimension": { "$ref": "#/$defs/nonEmptyString" },
        "color_axis": { "$ref": "#/$defs/colorAxis" },
        "facet_dimension": { "$ref": "#/$defs/nonEmptyString" },
        "group_dimension": { "$ref": "#/$defs/nonEmptyString" },
        "reconciliation": {
          "oneOf": [
            { "$ref": "#/$defs/reconciliation" },
            { "$ref": "#/$defs/waterfallReconciliation" }
          ]
        },
        "series": {
          "type": "array",
          "minItems": 1,
          "items": { "$ref": "#/$defs/seriesV14" }
        }
      }
    },
    "nonEmptyNonYearString": {
      "allOf": [
        { "$ref": "#/$defs/nonEmptyString" },
        { "not": { "const": "year" } }
      ]
    }
  }
}
