Ontology Version: 2.2.0

cacontology-platforms:DataRetentionCrossReferenceShape leaf node


URI

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

Label

Data Retention Cross Reference Shape

Description

Validates that service providers have data retention policies.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-platforms:ElectronicServiceProvider
cacontology-platforms:acceptsLegalProcess 0 1 xsd:boolean
cacontology-platforms:emergencyDisclosureCapable 0 1 xsd:boolean
cacontology-platforms:headquarteredIn 0 1 xsd:string
cacontology-platforms:operatesInJurisdiction 0 10 xsd:string
1 1 xsd:string

Implementation

@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
cacontology-platforms:DataRetentionCrossReferenceShape a sh:NodeShape ;
    rdfs:label "Data Retention Cross Reference Shape"@en ;
    rdfs:comment "Validates that service providers have data retention policies."@en ;
    sh:sparql [ sh:message "Electronic service providers should have associated data retention policies."@en ;
            sh:select """
            SELECT $this
            WHERE {
                $this a cacontology-platforms:ElectronicServiceProvider .
                FILTER NOT EXISTS {
                    ?platform cacontology-platforms:operatedBy $this ;
                              cacontology-platforms:hasDataRetentionPolicy ?policy .
                }
            }
        """ ] ;
    sh:targetClass cacontology-platforms:ElectronicServiceProvider .