Ontology Version: 2.2.0

cacontology-specialized:ProfessionalTrainingEventShape leaf node


URI

https://cacontology.projectvic.org/specialized-units#ProfessionalTrainingEventShape

Label

Professional Training Event Shape

Description

Validation shape for professional training event instances.

Implementation

@prefix cacontology-specialized: <https://cacontology.projectvic.org/specialized-units#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-specialized:ProfessionalTrainingEventShape a sh:NodeShape ;
    rdfs:label "Professional Training Event Shape"@en ;
    rdfs:comment "Validation shape for professional training event instances."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Professional training event must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 1000 ;
            sh:message "Professionals trained must be between 1 and 1000 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-specialized:professionalsTrained ] ;
    sh:targetClass cacontology-specialized:ProfessionalTrainingEvent .