The following documents the simplicity and ease of the datajson_validator
plugin.
- Make
/dcat-us/validator
route available to users- Provides a web form with single-option for url input
- Downloads data.json from url provided and validates against DCAT-US metadata schema
The DCAT-US Metadata Schema can be found here.
The validation code is based on the jsonschema
package and defines schema rules in ckanext/datajson/pod_schema
.
jsonschema
provides a few different types of validators.
This extension is built on the Draft4Validator
.
Currently, the validator only validates against the federal-v1.1
schema.