Skip to content
17 changes: 8 additions & 9 deletions ogdch.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@
] ;
sh:property [
sh:path dcat:contactPoint ;
sh:or
([
sh:class vcard:Organization ;
]
[
sh:class vcard:Individual ;
]) ;
sh:nodeKind sh:BlankNodeOrIRI ;
sh:targetClass vcard:Organization ;
sh:or (
[ sh:targetClass vcard:Organization ]
[ sh:targetClass vcard:Individual ]
) ;
sh:severity sh:Violation ;
sh:message """Class 'dcat:Dataset' - Property 'dcat:contactPoint': The contact point must be provided as vcard:Organization or vcard:Individual.
sh:message """Class 'dcat:Dataset' - Property 'dcat:contactPoint': The contact point must be provided as vcard:Organization or vcard:Individual (identified by having a vcard:fn and vcard:hasEmail).
See https://handbook.opendata.swiss/de/content/glossar/bibliothek/dcat-ap-ch.html#dcat-contactpoint-dcat
"""@en ;
] ;
Expand Down Expand Up @@ -455,7 +454,7 @@
sh:path dct:format ; # conditional property
sh:node :FormatRestriction ;
sh:nodeKind sh:IRI ;
sh:severity sh:Warning ;
sh:severity sh:Violation ;
sh:message """Class 'dcat:Distribution' - Property 'dct:format': The distribution format must be chosen from the controlled vocabulary available at:
http://publications.europa.eu/resource/authority/file-type.
See https://handbook.opendata.swiss/de/content/glossar/bibliothek/dcat-ap-ch.html#dct-format-dcat
Expand Down