Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate URI templates #109

Open
2 tasks
robons opened this issue Jun 14, 2023 · 0 comments
Open
2 tasks

Validate URI templates #109

robons opened this issue Jun 14, 2023 · 0 comments

Comments

@robons
Copy link
Contributor

robons commented Jun 14, 2023

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:

  • Check that the URI template is valid according to the RFC6570 specification.
  • Check that the variables used within the template are appropriate column names or standard variables defined in the CSV-W spec (see URI templates.
@robons robons transferred this issue from ONSdigital/csvcubed Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant