Skip to main content

compile_condition_schema

Function compile_condition_schema 

Source
pub fn compile_condition_schema(
    raw: &Value,
    ref_siblings: RefSiblings,
) -> ConditionSchema
Expand description

Compile the JSON Schema predicate used by a conditional extension.

Callers choose how $ref siblings are handled because bundled schemas use draft-07 semantics while caller-provided overlays enforce their siblings.