https://cacontology.projectvic.org/training#CapacityBuildingProgramShape
Validation shape for capacity building program instances.
Focus nodes of this shape (cacontology-training:CapacityBuildingProgram) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-training:capacityLevel | Level of capacity being built (basic, intermediate, advanced, expert). sh:message Capacity level must be from the allowed list. |
0 | 1 | xsd:string |
sh:in
basic, intermediate, advanced, expert
|
uco-core:name |
sh:message Capacity building program must have a name (5-200 characters). |
1 | 1 | xsd:string |
sh:minLength
5
sh:maxLength
200
|
@prefix cacontology-training: <https://cacontology.projectvic.org/training#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-training:CapacityBuildingProgramShape a sh:NodeShape ;
rdfs:label "Capacity Building Program Shape"@en ;
rdfs:comment "Validation shape for capacity building program instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "basic" "intermediate" "advanced" "expert" ) ;
sh:maxCount 1 ;
sh:message "Capacity level must be from the allowed list."@en ;
sh:minCount 0 ;
sh:path cacontology-training:capacityLevel ],
[ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 200 ;
sh:message "Capacity building program must have a name (5-200 characters)."@en ;
sh:minCount 1 ;
sh:minLength 5 ;
sh:path uco-core:name ] ;
sh:targetClass cacontology-training:CapacityBuildingProgram .