Skip to content

Commit 5279b6f

Browse files
committed
Renamed files containing tests for 'requesting agent'.
1 parent 35fad70 commit 5279b6f

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

rocrate_validator/profiles/five-safes-crate/must/2_agent_entity.ttl renamed to rocrate_validator/profiles/five-safes-crate/must/2_requesting_agent.ttl

File renamed without changes.

rocrate_validator/profiles/five-safes-crate/should/2_agent_entity.ttl renamed to rocrate_validator/profiles/five-safes-crate/should/2_requesting_agent.ttl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ five-safes-crate:PersonAgentOfCreateAction_AffiliationPermalinkCheck
5858
# Optional typing requirement (keep or drop as you prefer)
5959
sh:class schema:Organization ;
6060
sh:nodeKind sh:IRI ;
61+
# Match the string form of the IRI against approved PID patterns.
62+
# - ROR: https://ror.org/0XXXXXXX## (Crockford base32 + 2 digits)
63+
# - ISNI: https://isni.org/isni/NNNNNNNNNNNNNNNX (X allowed as checksum)
64+
# - Wikidata: https://www.wikidata.org/entity/Q<digits> (or without www)
6165
sh:pattern "^(?:https://(?:ror\\.org/0[0-9a-hjkmnp-tv-z]{6}[0-9]{2}|isni\\.org/isni/\\d{15}[\\dX]|(?:www\\.)?wikidata\\.org/entity/Q\\d+))$" ;
6266
sh:flags "i" ;
6367
sh:message "Affiliation Organization @id SHOULD be a PID permalink (ROR/ISNI/Wikidata)." ;

0 commit comments

Comments
 (0)