https://cacontology.projectvic.org/taskforce#TaskForceMemberShape
Validation shape for task force member instances.
Instances of cacontology-taskforce:TaskForceMember can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-taskforce:TaskForceMember | ||||
| cacontology-taskforce:memberRole | 1 | 1 |
xsd:string
|
|
| 0 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:string
|
||
| 0 | 1 |
xsd:string
|
||
| 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 .