Ontology Version: 2.2.0

cacontology-grooming:VictimVulnerabilityShape leaf node


URI

https://cacontology.projectvic.org/grooming#VictimVulnerabilityShape

Label

Victim Vulnerability Shape

Description

Validation shape for victim vulnerability instances with gUFO integration.

Shape Properties

Instances of cacontology-grooming:VictimVulnerability can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-grooming:VictimVulnerability
1 xsd:double
0 1 xsd:decimal
1 1 xsd:string
1 xsd:string
cacontology-grooming:vulnerabilityType 1 1 xsd:string
1 xsd:dateTimeStamp

Implementation

@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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-grooming:VictimVulnerabilityShape a sh:NodeShape ;
    rdfs:label "Victim Vulnerability Shape"@en ;
    rdfs:comment "Validation shape for victim vulnerability instances with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Vulnerability may have begin timestamp (gUFO temporal)"@en ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:string ;
            sh:in ( "emotional" "social" "economic" "physical" "psychological" "developmental" "situational" "digital" ) ;
            sh:maxCount 1 ;
            sh:message "Victim vulnerability must specify vulnerability type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:vulnerabilityType ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "severe" "extreme" "critical" ) ;
            sh:maxCount 1 ;
            sh:message "Victim vulnerability must specify vulnerability level from the allowed list (gUFO quality aspect)."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:vulnerabilityLevel ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 20.0 ;
            sh:message "Vulnerability duration must be between 0 and 20 years."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:vulnerabilityDuration ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Exploitability score must be between 0.0 and 1.0 (gUFO quality aspect)"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:exploitabilityScore ],
        [ sh:datatype xsd:string ;
            sh:in ( "stable" "fluctuating" "increasing" "decreasing" "episodic" ) ;
            sh:maxCount 1 ;
            sh:message "Vulnerability stability must be from allowed list (gUFO mode aspect)"@en ;
            sh:path cacontology-grooming:vulnerabilityStability ] ;
    sh:targetClass cacontology-grooming:VictimVulnerability .