File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
rocrate_validator/profiles/five-safes-crate/must
tests/integration/profiles/five-safes-crate Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,10 @@ five-safes-crate:ResponsibleProject
5050 a sh:PropertyShape ;
5151 sh:name " member" ;
5252 sh:path schema:member;
53- sh:class schema:Organization ;
53+ sh:or (
54+ [ sh:class schema:Organization ]
55+ [ sh:class schema:Person ]
56+ ) ;
5457 sh:severity sh:Violation ;
55- sh:message """ The property 'member' of the Responsible Project MUST be of type schema:Organization.""" ;
58+ sh:message """ The property 'member' of the Responsible Project MUST be of type schema:Organization or schema:Person .""" ;
5659 ] .
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ def test_5src_responsible_project_member_not_organization():
9494 expected_validation_result = False ,
9595 expected_triggered_requirements = ["Responsible Project" ],
9696 expected_triggered_issues = [
97- "The property 'member' of the Responsible Project MUST be of type schema:Organization."
97+ "The property 'member' of the Responsible Project MUST be of type schema:Organization or schema:Person ."
9898 ],
9999 profile_identifier = "five-safes-crate" ,
100100 rocrate_entity_mod_sparql = sparql ,
You can’t perform that action at this time.
0 commit comments