Ontology Version: 2.2.0

cacontology-taskforce:CertificationShape leaf node


URI

https://cacontology.projectvic.org/taskforce#CertificationShape

Label

Certification Shape

Description

Validation shape for certification instances.

Implementation

@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 .