https://cacontology.projectvic.org/taskforce#CertificationShape
Validation shape for certification instances.
Focus nodes of this shape (cacontology-taskforce:Certification) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
cacontology-taskforce:certificationDate |
sh:message Certification must specify certification date. |
1 | 1 | xsd:dateTime | |
cacontology-taskforce:certificationType |
sh:message Certification must specify certification type from the allowed list. |
1 | 1 | xsd:string |
sh:in
basic_investigator, advanced_investigator, digital_forensics, undercover_operator, supervisor, commander
|
cacontology-taskforce:expirationDate |
sh:message Certification must specify expiration date. |
1 | 1 | xsd:dateTime | |
cacontology-taskforce:renewalRequired |
sh:message Certification must specify if renewal is required. |
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:CertificationShape a sh:NodeShape ;
rdfs:label "Certification Shape"@en ;
rdfs:comment "Validation shape for certification instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "basic_investigator" "advanced_investigator" "digital_forensics" "undercover_operator" "supervisor" "commander" ) ;
sh:maxCount 1 ;
sh:message "Certification must specify certification type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:certificationType ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Certification must specify certification date."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:certificationDate ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "Certification must specify expiration date."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:expirationDate ],
[ sh:datatype xsd:boolean ;
sh:maxCount 1 ;
sh:message "Certification must specify if renewal is required."@en ;
sh:minCount 1 ;
sh:path cacontology-taskforce:renewalRequired ] ;
sh:targetClass cacontology-taskforce:Certification .