Skip to content

dcat-validator

Compare
Choose a tag to compare
@StanCallewaert StanCallewaert released this 28 Jul 14:32
· 13 commits to master since this release

This new release has a lot of small extra's but there are two main differences.

Differences

JSON array as argument

The earlier hard-coded dcat rules in the library itself, do need to be an argument for the validate function in this release. The advantage of this feature is that other developers can tweek the rules to their needs.

Different feedback return

The return of the feedback (errors/warnings) changed from a simple error string to an object with different string of information. That way the feedback can have more functionality. For example you can only ask the URI of the class of the error or the name of the property of the error or ...