Skip to content

Commit 72077b7

Browse files
committed
Addressed class of members of reponsible project.
1 parent 964ff31 commit 72077b7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

rocrate_validator/profiles/five-safes-crate/must/1_responsible_project.ttl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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
] .

tests/integration/profiles/five-safes-crate/test_5src_1_responsible_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)