https://cacontology.projectvic.org/platforms#DataRetentionPolicyShape
Validation shape for data retention policy instances.
Focus nodes of this shape (cacontology-platforms:DataRetentionPolicy) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-platforms:anonymousUserDataRetention | How long data from anonymous users is retained (in days). sh:message Anonymous user data retention must be between 0 and 365 days. |
0 | 1 | xsd:integer |
sh:minInclusive
0
sh:maxInclusive
365
|
| cacontology-platforms:contentRetentionPeriod | How long user-generated content is retained (in days). sh:message Content retention period must be between 0 and 3650 days (10 years). |
0 | 1 | xsd:integer |
sh:minInclusive
0
sh:maxInclusive
3650
|
| cacontology-platforms:logRetentionPeriod | How long access and activity logs are retained (in days). sh:message Log retention period must be between 0 and 3650 days (10 years). |
0 | 1 | xsd:integer |
sh:minInclusive
0
sh:maxInclusive
3650
|
| cacontology-platforms:userDataRetentionPeriod | How long user account data is retained (in days). sh:message User data retention period must be between 0 and 3650 days (10 years). |
0 | 1 | xsd:integer |
sh:minInclusive
0
sh:maxInclusive
3650
|
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-platforms:DataRetentionPolicyShape a sh:NodeShape ;
rdfs:label "Data Retention Policy Shape"@en ;
rdfs:comment "Validation shape for data retention policy instances."@en ;
sh:property [ sh:datatype xsd:integer ;
sh:maxCount 1 ;
sh:maxInclusive 3650 ;
sh:message "User data retention period must be between 0 and 3650 days (10 years)."@en ;
sh:minCount 0 ;
sh:minInclusive 0 ;
sh:path cacontology-platforms:userDataRetentionPeriod ],
[ sh:datatype xsd:integer ;
sh:maxCount 1 ;
sh:maxInclusive 3650 ;
sh:message "Content retention period must be between 0 and 3650 days (10 years)."@en ;
sh:minCount 0 ;
sh:minInclusive 0 ;
sh:path cacontology-platforms:contentRetentionPeriod ],
[ sh:datatype xsd:integer ;
sh:maxCount 1 ;
sh:maxInclusive 3650 ;
sh:message "Log retention period must be between 0 and 3650 days (10 years)."@en ;
sh:minCount 0 ;
sh:minInclusive 0 ;
sh:path cacontology-platforms:logRetentionPeriod ],
[ sh:datatype xsd:integer ;
sh:maxCount 1 ;
sh:maxInclusive 365 ;
sh:message "Anonymous user data retention must be between 0 and 365 days."@en ;
sh:minCount 0 ;
sh:minInclusive 0 ;
sh:path cacontology-platforms:anonymousUserDataRetention ] ;
sh:targetClass cacontology-platforms:DataRetentionPolicy .