Ontology Version: 3.1.0

cacontology-taskforce:CertificationShape leaf node


URI

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

Label

Certification Shape

Description

Validation shape for certification instances.

Targets (1)

  • cacontology-taskforce:Certification sh:targetClass

Property Constraints (4)

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

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 .