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

Missing recommended distribution min cardinality #28

Open
CMath04 opened this issue Aug 11, 2022 · 1 comment
Open

Missing recommended distribution min cardinality #28

CMath04 opened this issue Aug 11, 2022 · 1 comment

Comments

@CMath04
Copy link
Contributor

CMath04 commented Aug 11, 2022

Hello @bertvannuffelen
It seems there are missing recommended rules for the dcat:Distribution/dct:description element in dcatapvl.json shape.
This property is recommended and is of type literal.
Could you add two rules with the sh:Warning value to the dcatapvl.json shape ?

  1. One rule to check on min cardinality of 1 of the dcat:Distribution/dct:description
  2. One rule must ensure the dcat:Distribution/dct:description to be a literal (which result in a no empty string check in GeoNetwork schematron)
@bertvannuffelen
Copy link
Collaborator

@CMath04, you let me stumble on an issue in the SHACL generator process. We have "example" and "Distribution". Both are mapped on dcat:Distribution. And the generator is combining them.

Aside from the requirement to add the recommended rules.

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

2 participants