https://cacontology.projectvic.org/taskforce#TaskForceMemberShape
Validation shape for task force member instances.
Focus nodes of this shape (cacontology-taskforce:TaskForceMember) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-taskforce:memberRole | Role within the task force (commander, coordinator, investigator, analyst, examiner). sh:message Task force member must specify member role from the allowed list. |
1 | 1 | xsd:string |
sh:in
commander, supervisor, investigator, analyst, technical_specialist, prosecutor, victim_advocate, support_staff
|
cacontology-taskforce:membershipEndDate |
sh:message Task force member may specify membership end date. |
0 | 1 | xsd:dateTime | |
cacontology-taskforce:membershipStartDate |
sh:message Task force member must specify membership start date. |
1 | 1 | xsd:dateTime | |
cacontology-taskforce:membershipType |
sh:message Task force member must specify membership type from the allowed list. |
1 | 1 | xsd:string |
sh:in
full_time, part_time, collateral_duty, temporary, consultant, liaison
|
cacontology-taskforce:securityClearance |
sh:message Security clearance must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
none, public_trust, confidential, secret, top_secret, sci_access
|
cacontology-taskforce:trainingCompleted |
sh:message Task force member must specify if training is completed. |
1 | 1 | xsd:boolean |
@prefix cacontology-taskforce: <https://cacontology.projectvic.org/taskforce#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-taskforce:TaskForceMemberShape a sh:NodeShape ;
rdfs:label "Task Force Member Shape"@en ;
rdfs:comment "Validation shape for task force member instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "commander" "supervisor" "investigator" "analyst" "technical_specialist" "prosecutor" "victim_advocate" "support_staff" ) ;
sh:maxCount 1 ;
sh:message "Task force member must specify member role from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:memberRole ],
[ sh:datatype xsd:string ;
sh:in ( "full_time" "part_time" "collateral_duty" "temporary" "consultant" "liaison" ) ;
sh:maxCount 1 ;
sh:message "Task force member must specify membership type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:membershipType ],
[ sh:datatype xsd:string ;
sh:in ( "none" "public_trust" "confidential" "secret" "top_secret" "sci_access" ) ;
sh:maxCount 1 ;
sh:message "Security clearance must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-taskforce:securityClearance ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Task force member must specify if training is completed."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:trainingCompleted ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Task force member must specify membership start date."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:membershipStartDate ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Task force member may specify membership end date."@en ;
sh:minCount 0 ;
sh:path cacontology-taskforce:membershipEndDate ] ;
sh:targetClass cacontology-taskforce:TaskForceMember .