Skip to content

Commit

Permalink
add allow in AddProperties in shacl file
Browse files Browse the repository at this point in the history
  • Loading branch information
sanuann authored and satra committed Dec 18, 2020
1 parent 15b5dc4 commit 841f53b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
.DS_Store

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down
4 changes: 4 additions & 0 deletions reproschema/tests/reproschema-shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ reproschema:AddPropertiesShape a sh:NodeShape ;
[ sh:datatype xsd:boolean ;
sh:path schema:valueRequired ],

[ sh:nodeKind sh:IRI ;
sh:in ( reproschema:AllowExport reproschema:DisableBack reproschema:AutoAdvance reproschema:AllowReplay reproschema:Skipped reproschema:DontKnow reproschema:TimedOut ) ;
sh:path reproschema:allow ],

[ sh:datatype rdf:langString ;
sh:pattern "^P(?!$)(\\d+(?:\\.\\d+)?Y)?(\\d+(?:\\.\\d+)?M)?(\\d+(?:\\.\\d+)?W)?(\\d+(?:\\.\\d+)?D)?(T(?=\\d)(\\d+(?:\\.\\d+)?H)?(\\d+(?:\\.\\d+)?M)?(\\d+(?:\\.\\d+)?S)?)?$" ;
sh:path reproschema:randomMaxDelay ],
Expand Down

0 comments on commit 841f53b

Please sign in to comment.