Ontology Version: 2.2.0

cacontology-platforms:DataPreservationActionShape leaf node


URI

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

Label

Data Preservation Action Shape

Description

Validation shape for data preservation action instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-platforms:DataPreservationAction
cacontology-platforms:preservationPeriod 0 1 xsd:integer
1 1 xsd:dateTime

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#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-platforms:DataPreservationActionShape a sh:NodeShape ;
    rdfs:label "Data Preservation Action Shape"@en ;
    rdfs:comment "Validation shape for data preservation action instances."@en ;
    sh:property [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Data preservation action must specify start time."@en ;
            sh:minCount 1 ;
            sh:path uco-core:startTime ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:maxInclusive 3650 ;
            sh:message "Preservation period must be between 30 and 3650 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 30 ;
            sh:path cacontology-platforms:preservationPeriod ] ;
    sh:targetClass cacontology-platforms:DataPreservationAction .