Skip to content

Commit

Permalink
shapes: target: add rml:mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVanAssche committed Jul 3, 2024
1 parent abb43dc commit 36bc4ef
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions shapes/target.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
sh:message """
rml:encoding must be provided as an IRI.
""" ;
sh:minCount 0;
sh:minCount 0 ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
] ;
Expand All @@ -67,8 +67,25 @@
sh:message """
rml:serialization must be provided as an IRI.
""" ;
sh:minCount 0;
sh:minCount 0 ;
sh:maxCount 1 ;
sh:nodeKind sh:IRI ;
] ;

# rml:mode
sh:property [
sh:path rml:mode ;
sh:name "rml:mode" ;
sh:description """
rml:mode specifies in which mode the target is opened such as read-only,
write-only, both, etc.
""" ;
sh:message """
rml:mode must be specified by any of the modes from rml:Mode class.
""" ;
sh:minCount 0 ;
sh:maxCount 1 ;
sh:in (rml:Read rml:ReadWrite rml:Write rml:WriteRead rml:Append
rml:AppendRead) ;
] ;
.

0 comments on commit 36bc4ef

Please sign in to comment.