pub fn validate_list(
spec: &Value,
options: &ValidateListOptions<'_>,
) -> Result<(), ComposeLoadError>Expand description
Validate a list-spec’s STRUCTURE: compose (§5 G5) then forbidden-scan (§6).
Returns Ok(()) when the composed list tree carries no forbidden meta key.
Returns Err(ComposeLoadError) for an unresolved composition ($ref/$patch)
OR a forbidden meta key at any depth (FORBIDDEN_META_KEY) — both are LOAD
failures (the spec never comes into existence), never a valid:false.
The composed list tree is built field-by-field so each sub-tree composes with
the form engine it shares. The list root may carry $ref/$patch →
compose_spec (whole-spec inheritance), but the root is NOT a form Field, so
its named slots (columns/search/…) are composed individually, NOT via the
form properties recursion. columns is a properties-shaped map →
compose_properties (the SAME code that composes form properties).
search is a form-spec reference (input, §9.1) → compose_spec.