Ontology Version: 2.2.0

cacontology-sextortion:SextortionIncidentShape leaf node


URI

https://cacontology.projectvic.org/sextortion#SextortionIncidentShape

Label

Sextortion Incident Shape

Description

Validation shape for sextortion incident instances.

Shape Properties

Instances of cacontology-sextortion:SextortionIncident can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-sextortion:SextortionIncident
cacontology-sextortion:incidentDuration 0 1 xsd:decimal
1 1 xsd:string
1 1 xsd:string
cacontology-sextortion:victimCount 1 1 xsd:nonNegativeInteger
0 1 xsd:dateTime
0 1 xsd:dateTime

Implementation

@prefix cacontology-sextortion: <https://cacontology.projectvic.org/sextortion#> .
@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 uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-sextortion:SextortionIncidentShape a sh:NodeShape ;
    rdfs:label "Sextortion Incident Shape"@en ;
    rdfs:comment "Validation shape for sextortion incident instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "image_based" "video_based" "live_streaming" "financial_extortion" "social_media_threat" "peer_impersonation" "adult_impersonation" ) ;
            sh:maxCount 1 ;
            sh:message "Sextortion incident must specify incident type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sextortion:incidentType ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 365.0 ;
            sh:message "Incident duration must be between 0 and 365 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-sextortion:incidentDuration ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 100 ;
            sh:message "Sextortion incident must specify victim count between 1 and 100."@en ;
            sh:minCount 1 ;
            sh:minInclusive 1 ;
            sh:path cacontology-sextortion:victimCount ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Sextortion incident may have a start time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Sextortion incident may have an end time."@en ;
            sh:minCount 0 ;
            sh:path uco-core:endTime ],
        [ sh:datatype xsd:string ;
            sh:in ( "low" "moderate" "high" "severe" "extreme" "critical" ) ;
            sh:maxCount 1 ;
            sh:message "Sextortion incident must specify severity level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sextortion:severityLevel ] ;
    sh:targetClass cacontology-sextortion:SextortionIncident .