Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Validation of DCAT RDF data

David Skogan edited this page Nov 8, 2016 · 3 revisions

Validation

When a DCAT RDF-file is read it is first validated by the Harvester module. If the file contains validation errors it will not be imported into the catalog.

Rules

A DCAT attribute (field) can be either a:

  • Obligatory field: If missing this result in an error.
  • Recommended field: If missing this results in a warning.
  • Optional field: Can be missed.

Source

There are two sources for validation rules.

  • The DCAT-AP-EU 1.1 rules - See GitHub project
  • The DCAT-AP-NO 1.1 rules - To be added by us.

The validation rules are stored in the Harvester module:

  • harvester/src/main/resources/validation-rules/eu-rules
  • harvester/src/main/resources/validation-rules/no-rules