Skip to main content

validate_nc_profile

Function validate_nc_profile 

Source
pub fn validate_nc_profile(
    dataset: &CimDataset,
    profile: &str,
    cfg: &Config,
) -> Vec<Violation>
Expand description

Run one NC profile’s shapes against a dataset, and the hand-written rules of the files every NC profile imports (sparql::nc::validate_local).

Separate from validate_profile_local so a caller can drive it with an explicit profile code, without depending on header detection.