Validates the legend block of a style.
legend
Only two things are enforced: the value is an object, and order — when present — is an integer. Everything else is left open, legend entries being extended by capabilities. Accumulator contract — see validateStyleRules.
order
The candidate legend value, of unverified shape.
Accumulator for blocking failures. Mutated in place.
Accepted for signature symmetry with the other validators; unused.
Diagnostic data merged into every finding.
Validates the
legendblock of a style.Only two things are enforced: the value is an object, and
order— when present — is an integer. Everything else is left open, legend entries being extended by capabilities. Accumulator contract — see validateStyleRules.