Ontology Version: 2.2.0

cacontology-training:TrainingModuleShape leaf node


URI

https://cacontology.projectvic.org/training#TrainingModuleShape

Label

Training Module Shape

Description

Validation shape for training module instances.

Shape Properties

Instances of cacontology-training:TrainingModule can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-training: <https://cacontology.projectvic.org/training#> .
@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-training:TrainingModuleShape a sh:NodeShape ;
    rdfs:label "Training Module Shape"@en ;
    rdfs:comment "Validation shape for training module instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Training module must have a name (5-200 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 5 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 1000 ;
            sh:message "Training module description should be 10-1000 characters when specified."@en ;
            sh:minCount 0 ;
            sh:minLength 10 ;
            sh:path uco-core:description ] ;
    sh:targetClass cacontology-training:TrainingModule .