Ontology Version: 2.2.0

cacontology-taskforce:TrainingProgramShape leaf node


URI

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

Label

Training Program Shape

Description

Validation shape for training program 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:TrainingProgramShape a sh:NodeShape ;
    rdfs:label "Training Program Shape"@en ;
    rdfs:comment "Validation shape for training program instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "basic_icac" "advanced_investigation" "digital_forensics" "undercover_operations" "legal_updates" "victim_services" "management" ) ;
            sh:maxCount 1 ;
            sh:message "Training program must specify training type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:trainingType ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 160.0 ;
            sh:message "Training duration must be between 4 and 160 hours."@en ;
            sh:minCount 1 ;
            sh:minInclusive 4.0 ;
            sh:path cacontology-taskforce:trainingDuration ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Training program must specify if certification is required."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:certificationRequired ],
        [ sh:datatype xsd:string ;
            sh:in ( "ncmec" "icac_program" "fbi" "state_agency" "private_contractor" "academic_institution" ) ;
            sh:maxCount 1 ;
            sh:message "Training program must specify training provider from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-taskforce:trainingProvider ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Training program must specify maximum participants between 5 and 100."@en ;
            sh:minCount 1 ;
            sh:minInclusive 5 ;
            sh:path cacontology-taskforce:maxParticipants ] ;
    sh:targetClass cacontology-taskforce:TrainingProgram .