Enforces the canonical schema. On any violation, throws an error with a descriptive message.
Details
Rules:
axesmust be NULL or a list.Keys must be a subset of
{"x","y","z"}.Each axis value must be a list (AxisConfig), never a string/ number/array.
No
format,min,max,tickStep,fill, orlevelat the top level ofaxes.min,max,tickStep(when present inside an axis) must be numeric scalars.