Ontology Version: 2.2.0

cacontology-platforms:LegalDataDisclosureActionShape leaf node


URI

https://cacontology.projectvic.org/platforms#LegalDataDisclosureActionShape

Label

Legal Data Disclosure Action Shape

Description

Validation shape for legal data disclosure action instances.

Shape Properties

Instances of cacontology-platforms:LegalDataDisclosureAction can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-platforms:LegalDataDisclosureAction
cacontology-platforms:legalProcessUsed 0 1 xsd:string
cacontology-platforms:responseTimeFrame 0 1 xsd:integer
1 1 xsd:dateTime

Implementation

@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@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-platforms:LegalDataDisclosureActionShape a sh:NodeShape ;
    rdfs:label "Legal Data Disclosure Action Shape"@en ;
    rdfs:comment "Validation shape for legal data disclosure action instances."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Legal data disclosure action must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 365 ;
            sh:message "Response time frame must be between 1 and 365 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-platforms:responseTimeFrame ],
        [ sh:datatype xsd:string ;
            sh:in ( "search_warrant" "subpoena" "court_order" "emergency_request" "preservation_request" ) ;
            sh:maxCount 1 ;
            sh:message "Legal process used must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:legalProcessUsed ] ;
    sh:targetClass cacontology-platforms:LegalDataDisclosureAction .