Ontology Version: 2.2.0

cacontology-sextortion:ComplianceResponseShape leaf node


URI

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

Label

Compliance Response Shape

Description

Validation shape for compliance response instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-sextortion:ComplianceResponseShape a sh:NodeShape ;
    rdfs:label "Compliance Response Shape"@en ;
    rdfs:comment "Validation shape for compliance response instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "partial" "full" "reluctant" "immediate" "delayed" "conditional" ) ;
            sh:maxCount 1 ;
            sh:message "Compliance response must specify compliance level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-sextortion:complianceLevel ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 365.0 ;
            sh:message "Compliance duration must be between 0 and 365 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-sextortion:complianceDuration ] ;
    sh:targetClass cacontology-sextortion:ComplianceResponse .