Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.11 KB

datajson_validator.md

File metadata and controls

21 lines (14 loc) · 1.11 KB

Data.json Validator

The following documents the simplicity and ease of the datajson_validator plugin.

Plugin Features

  • 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

Validation Motivation

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.