Skip to main content

validate_model_input_spec_against_registry

Function validate_model_input_spec_against_registry 

Source
pub fn validate_model_input_spec_against_registry(
    model_input: &ModelInputSpec,
    registry: &RepresentationRegistry,
) -> Result<(), DataError>
Expand description

Validate that a model-input/data-requirements contract consumes only published representation IDs, and that each accepted representation’s frozen type_id and rank are allowed by the port.