ONSdigital / csvw-check

A CLI to validate CSV-Ws (W3C's CSV on the Web standard).
Apache License 2.0
1 stars 1 forks source link

Validate URI templates #109

Open robons opened 1 year ago

robons commented 1 year ago

The csvwcheck.normalisation.InheritedProperties.normaliseUriTemplateProperty function validates aboutUrl, propertyUrl and valueUrl fields inside a CSV-W; these values should contain URI templates following the RFC6570 specification.

The code only validates that the value is a string, but could do more: