pub fn validate_with_mode(
document: &EureDocument,
schema: &SchemaDocument,
mode: UnionTagMode,
) -> ValidationOutputExpand description
Validate a document against a schema with the specified union tag mode.
ยงArguments
document- The document to validateschema- The schema to validate againstmode- The union tag mode to use:UnionTagMode::Eure: Use$variantextension or untagged matching (native Eure documents)UnionTagMode::Repr: Use onlyVariantReprpatterns (JSON/YAML imports)