Validation¶
To validate datapackage resources and schemas, dpetl uses frictionless-py.
Validation can occur in two stages:
-
Before processing: validates the entire datapackage when
--validate-beforeis used. -
After processing: validates each processed resource.
Validation behavior depends on the command:
-
extract: validates each resource after download.--validate-beforeis not supported. -
transform: validates each resource after transformation. Use--validate-beforeto validate the entire datapackage before processing. -
load: validates before publishing only if--validate-beforeis used.
Flags¶
| Flag | Description |
|---|---|
--validate-before, -vb |
Run validation before processing (not supported for extract) |
--no-validate, -nv |
Skip all validation |
--no-stop, -ns |
Continue processing resources even when validation errors are found |
See the API reference.