https://cacontology.projectvic.org/prevention#BehavioralPreventionShape
Validation shape for behavioral prevention instances.
Instances of cacontology-prevention:BehavioralPrevention can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-prevention:BehavioralPrevention | ||||
| cacontology-prevention:programDuration | 0 | 1 |
xsd:decimal
|
|
| cacontology-prevention:PreventionProgram | ||||
| cacontology-prevention:participantCount | 0 | 1 |
xsd:nonNegativeInteger
|
|
| cacontology-prevention:programDuration | 0 | 1 |
xsd:decimal
|
|
| 0 | 1 |
xsd:dateTime
|
||
| 1 | 1 |
xsd:string
|
||
| 1 | 1 |
xsd:dateTime
|
||
@prefix cacontology-prevention: <https://cacontology.projectvic.org/prevention#> .
@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-prevention:BehavioralPreventionShape a sh:NodeShape ;
rdfs:label "Behavioral Prevention Shape"@en ;
rdfs:comment "Validation shape for behavioral prevention instances."@en ;
sh:property [ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 36.0 ;
sh:message "Behavioral prevention duration should be between 1 and 36 months."@en ;
sh:minCount 0 ;
sh:minInclusive 1.0 ;
sh:path cacontology-prevention:programDuration ] ;
sh:targetClass cacontology-prevention:BehavioralPrevention .