Ontology Version: 3.1.0

cacontology-impact:ComprehensiveImpactAssessmentShape leaf node


URI

https://cacontology.projectvic.org/victim-impact#ComprehensiveImpactAssessmentShape

Label

Comprehensive Impact Assessment Shape

Description

Validation shape for comprehensive impact assessment instances.

Property Constraints (2)

Focus nodes of this shape (cacontology-impact:ComprehensiveImpactAssessment) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-impact:assessmentDomains
sh:message Comprehensive assessment must cover between 3 and 10 assessment domains.
1 1 xsd:nonNegativeInteger
sh:minInclusive 3
sh:maxInclusive 10
cacontology-impact:standardizedInstruments
sh:message Comprehensive assessment must specify if standardized instruments are used.
1 1 xsd:boolean

Implementation

@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@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-impact:ComprehensiveImpactAssessmentShape a sh:NodeShape ;
    rdfs:label "Comprehensive Impact Assessment Shape"@en ;
    rdfs:comment "Validation shape for comprehensive impact assessment instances."@en ;
    sh:property [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10 ;
            sh:message "Comprehensive assessment must cover between 3 and 10 assessment domains."@en ;
            sh:minCount 1 ;
            sh:minInclusive 3 ;
            sh:path cacontology-impact:assessmentDomains ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Comprehensive assessment must specify if standardized instruments are used."@en ;
            sh:minCount 1 ;
            sh:path cacontology-impact:standardizedInstruments ] ;
    sh:targetClass cacontology-impact:ComprehensiveImpactAssessment .