Skip to content

Commit

Permalink
ARC-2548 Add maxcount for hasCarrierCopy
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasotodegraeve committed Nov 27, 2024
1 parent df1e8f4 commit bc81f9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion description/film.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
sh:class haObj:CarrierRepresentation ;

sh:minCount 1 ;
sh:maxCount 1 ;

sh:name "has carrier copy"@en ;
sh:name "heeft dragerkopie"@nl ;
Expand All @@ -57,7 +58,7 @@
sh:description "een representatie opgeslagen op een fysieke drager."@nl ;
sh:description "une représentation stockée sur un porteur physique."@fr ;

sh:message "haObj:hasCarrierCopy is missing or is not a haObj:CarrierRepresentation"@en ;
sh:message "haObj:hasCarrierCopy is missing, has more than one value or is not a haObj:CarrierRepresentation"@en ;
sh:severity sh:Violation ;
].

Expand Down
4 changes: 3 additions & 1 deletion objects/objects.shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -242,14 +242,16 @@
sh:path haObj:hasCarrierCopy;
sh:class haObj:CarrierRepresentation ;

sh:maxCount 1 ;

sh:name "has carrier copy"@en ;
sh:name "heeft dragerkopie"@nl ;
sh:name "est copie sur porteur"@fr ;
sh:description "a representation stored on a physical carrier."@en ;
sh:description "een representatie opgeslagen op een fysieke drager."@nl ;
sh:description "une représentation stockée sur un porteur physique."@fr ;

sh:message "haObj:hasCarrierCopy is not a haObj:CarrierRepresentation"@en ;
sh:message "haObj:hasCarrierCopy has more than 1 value or is not a haObj:CarrierRepresentation"@en ;
sh:severity sh:Violation ;
],
[
Expand Down

0 comments on commit bc81f9f

Please sign in to comment.