Ontology Version: 2.2.0

cacontology-prevention:RiskReductionShape leaf node


URI

https://cacontology.projectvic.org/prevention#RiskReductionShape

Label

Risk Reduction Shape

Description

Validation shape for risk reduction instances.

Shape Properties

Instances of cacontology-prevention:RiskReduction can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-prevention:RiskReduction
cacontology-prevention:riskReductionLevel 0 1 xsd:decimal

Implementation

@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:RiskReductionShape a sh:NodeShape ;
    rdfs:label "Risk Reduction Shape"@en ;
    rdfs:comment "Validation shape for risk reduction instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Risk reduction level must be between 0.0 and 1.0."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-prevention:riskReductionLevel ] ;
    sh:targetClass cacontology-prevention:RiskReduction .