Ontology Version: 2.2.0

cacontology-custodial:DataQualityShape leaf node


URI

https://cacontology.projectvic.org/custodial#DataQualityShape

Label

Data Quality Shape

Description

Validates data quality for custodial relationships.

Shape Properties

Instances of cacontology-custodial:CustodialRelationship can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-custodial:CustodialRelationship
cacontology-custodial:accessLevel 1 1 xsd:string
cacontology-custodial:hasCustodyBeginPoint 1 xsd:dateTimeStamp
cacontology-custodial:hasCustodyEndPoint 1 xsd:dateTimeStamp
cacontology-custodial:inCustodyPhase 1 1 gufo:Phase
cacontology-custodial:relationshipDuration 0 1 xsd:decimal
cacontology-custodial:relationshipType 1 1 xsd:string
cacontology-custodial:trustLevel 1 1 xsd:string
1
0 1 xsd:dateTime
0 1 xsd:dateTime

Implementation

@prefix cacontology-custodial: <https://cacontology.projectvic.org/custodial#> .
@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-custodial:DataQualityShape a sh:NodeShape ;
    rdfs:label "Data Quality Shape"@en ;
    rdfs:comment "Validates data quality for custodial relationships."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Label should be between 5 and 200 characters when provided."@en ;
            sh:minCount 0 ;
            sh:minLength 5 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 1000 ;
            sh:message "Comment should be between 10 and 1000 characters when provided."@en ;
            sh:minCount 0 ;
            sh:minLength 10 ;
            sh:path rdfs:comment ] ;
    sh:targetClass cacontology-custodial:CustodialRelationship .