Skip to content

Commit 02c494f

Browse files
committed
Placed sh:Severity from within to sparql constrain to inside the parent shape.
1 parent e340aa1 commit 02c494f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rocrate_validator/profiles/five-safes-crate/6_workflow_reference.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ five-safes-crate:DatasetMustHaveDistributionIfURI
8484
sh:name "mainEntity" ;
8585
sh:targetObjectsOf schema:mainEntity ;
8686
sh:description "If mainEntity has an HTTP(S) @id, it SHOULD have a distribution that is an HTTP(S) URL." ;
87+
sh:severity sh:Warning ;
8788

8889
sh:sparql [
8990
a sh:SPARQLConstraint ;
@@ -100,7 +101,6 @@ five-safes-crate:DatasetMustHaveDistributionIfURI
100101
}
101102
}
102103
""" ;
103-
sh:severity sh:Warning ;
104104
sh:message "If mainEntity has an HTTP(S) @id SHOULD have at least one distribution with an HTTP(S) URL." ;
105105
] .
106106

0 commit comments

Comments
 (0)