Skip to main content

mapping_schema_from_validation_schema

Function mapping_schema_from_validation_schema 

Source
pub fn mapping_schema_from_validation_schema(
    schema: &ValidationSchema,
) -> MappingSchema
Expand description

Build a MappingSchema from a ValidationSchema payload.

This is useful for APIs that already accept ValidationSchema-shaped input (for example JSON wrappers) and need to run schema-aware lineage or other resolver-based analysis.