File tree Expand file tree Collapse file tree
rocrate_validator/profiles/five-safes-crate/should
tests/integration/profiles/five-safes-crate Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,12 +108,18 @@ five-safes-crate:SignOffPhaseProperties
108108 sh:description " Check if the Sign Off phase has an instrument (TRE Policy)" ;
109109 sh:path schema:instrument ;
110110 sh:class schema:CreativeWork ;
111- sh:hasValue schema:name ;
112111 sh:minCount 1 ;
113112 sh:severity sh:Warning ;
114- sh:message " The Sign-Off Phase SHOULD have an TRE policy (instrument) with type CreativeWork and human-readable name" ;
115- ] .
116-
113+ sh:message " The Sign-Off Phase SHOULD have an TRE policy (instrument) with type CreativeWork" ;
114+ ] ;
115+ sh:property [
116+ sh:description " Check if the Sign Off phase has an instrument (TRE Policy)" ;
117+ sh:path ( schema:instrument schema:name ) ;
118+ sh:datatype xsd:string ;
119+ sh:minCount 1 ;
120+ sh:severity sh:Warning ;
121+ sh:message " The Sign-Off Phase SHOULD have an TRE policy (instrument) with a human-readable name" ;
122+ ].
117123
118124
119125
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ def test_5src_signoff_phase_instrument_no_type():
264264 expected_validation_result = False ,
265265 expected_triggered_requirements = ["SignOffPhaseProperties" ],
266266 expected_triggered_issues = [
267- "The Sign-Off Phase SHOULD have an TRE policy (instrument) with type CreativeWork and human-readable name "
267+ "The Sign-Off Phase SHOULD have an TRE policy (instrument) with type CreativeWork"
268268 ],
269269 profile_identifier = "five-safes-crate" ,
270270 rocrate_entity_mod_sparql = sparql ,
@@ -296,7 +296,7 @@ def test_5src_signoff_phase_instrument_no_name():
296296 expected_validation_result = False ,
297297 expected_triggered_requirements = ["SignOffPhaseProperties" ],
298298 expected_triggered_issues = [
299- "The Sign-Off Phase SHOULD have an TRE policy (instrument) with type CreativeWork and human-readable name"
299+ "The Sign-Off Phase SHOULD have an TRE policy (instrument) with a human-readable name"
300300 ],
301301 profile_identifier = "five-safes-crate" ,
302302 rocrate_entity_mod_sparql = sparql ,
You can’t perform that action at this time.
0 commit comments