API Documentation

Validation

This is the main module of the package. It contains functions for schema generation and data validation.

generate_validation_schema(parts: List[dict], sets: List[dict] = [], schema_version='2.0.0', schema_additions={}) dict
validate_data(schema: dict, data: Dict[str, List[dict]], data_kind: DataKind = DataKind.python, data_version='2.0.0', rule_blacklist: List[RuleId] = []) ValidationReport
Parameters:

rule_blacklist – A list of rule ids to explicitly disable.

Utils

export_schema(schema: dict, path: str)
export_yaml_file(data: dict, path: str)
import_csv_file(path: str) List[dict]
import_dataset(path: str) dict
import_json_file(path: str) dict
import_schema(path: str) dict
import_yaml_file(path: str) dict

Specification