https://cacontology.projectvic.org/victim-impact#ResilienceFactorShape
Validation shape for resilience factor instances.
@prefix cacontology-impact: <https://cacontology.projectvic.org/victim-impact#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-impact:ResilienceFactorShape a sh:NodeShape ;
rdfs:label "Resilience Factor Shape"@en ;
rdfs:comment "Validation shape for resilience factor instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "individual" "family" "social" "community" "cultural" "spiritual" "environmental" "protective" ) ;
sh:maxCount 1 ;
sh:message "Resilience factor must specify factor type from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-impact:factorType ],
[ sh:datatype xsd:string ;
sh:in ( "weak" "moderate" "strong" "very_strong" "exceptional" ) ;
sh:maxCount 1 ;
sh:message "Resilience factor must specify factor strength from the allowed list."@en ;
sh:minCount 1 ;
sh:path cacontology-impact:factorStrength ],
[ sh:datatype xsd:decimal ;
sh:maxCount 1 ;
sh:maxInclusive 1.0 ;
sh:message "Protective value must be between 0.0 and 1.0."@en ;
sh:minCount 0 ;
sh:minInclusive 0.0 ;
sh:path cacontology-impact:protectiveValue ] ;
sh:targetClass cacontology-impact:ResilienceFactor .