https://cacontology.projectvic.org/training#InternationalTrainingShape
Validation shape for international training instances.
Focus nodes of this shape (cacontology-training:InternationalTraining) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-training:completionRate | Rate of completion for training program (0.0-1.0). sh:message Completion rate must be between 0.0 and 1.0. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
sh:maxInclusive
1.0
|
| cacontology-training:participationRate | Rate of participation in training program (0.0-1.0). sh:message Participation rate must be between 0.0 and 1.0. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
sh:maxInclusive
1.0
|
| cacontology-training:trainingDuration | Duration of training program from start to completion. sh:message Training duration must be between 0.5 and 2000 hours. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.5
sh:maxInclusive
2000.0
|
| cacontology-training:trainingLanguage | Language in which training is delivered. sh:message Training language should be 2-50 characters (up to 10 languages). |
0 | 10 | xsd:string |
sh:minLength
2
sh:maxLength
50
|
| cacontology-training:trainingReachCount | Number of participants reached by training program. sh:message Training reach count must be between 1 and 100000 when specified. |
0 | 1 | xsd:nonNegativeInteger |
sh:minInclusive
1
sh:maxInclusive
100000
|
uco-core:endTime |
sh:message International training may specify end time. |
0 | 1 | xsd:dateTime | |
uco-core:name |
sh:message International training must have a name (5-200 characters). |
1 | 1 | xsd:string |
sh:minLength
5
sh:maxLength
200
|
uco-core:startTime |
sh:message International training must specify start time. |
1 | 1 | xsd:dateTime |
@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:InternationalTrainingShape a sh:NodeShape ;
rdfs:label "International Training Shape"@en ;
rdfs:comment "Validation shape for international training instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:maxCount 1 ;
sh:maxLength 200 ;
sh:message "International training must have a name (5-200 characters)."@en ;
sh:minCount 1 ;
sh:minLength 5 ;
sh:path uco-core:name ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "International training must specify start time."@en ;
sh:minCount 1 ;
sh:path uco-core:startTime ],
[ sh:datatype xsd:dateTime ;
sh:maxCount 1 ;
sh:message "International training may specify end time."@en ;
sh:minCount 0 ;
sh:path uco-core:endTime ],
[ sh:datatype xsd:nonNegativeInteger ;
sh:maxCount 1 ;
sh:maxInclusive 100000 ;
sh:message "Training reach count must be between 1 and 100000 when specified."@en ;
sh:minCount 0 ;
sh:minInclusive 1 ;
sh:path cacontology-training:trainingReachCount ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 2000.0 ;
sh:message "Training duration must be between 0.5 and 2000 hours."@en ;
sh:minCount 0 ;
sh:minInclusive 0.5 ;
sh:path cacontology-training:trainingDuration ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Participation rate must be between 0.0 and 1.0."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-training:participationRate ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Completion rate must be between 0.0 and 1.0."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-training:completionRate ],
[ sh:datatype xsd:string ;
sh:maxCount 10 ;
sh:maxLength 50 ;
sh:message "Training language should be 2-50 characters (up to 10 languages)."@en ;
sh:minCount 0 ;
sh:minLength 2 ;
sh:path cacontology-training:trainingLanguage ] ;
sh:targetClass cacontology-training:InternationalTraining .