Ontology Version: 2.2.0

cacontology-custodial:TerminatedCustodyPhaseShape leaf node


URI

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

Label

Terminated Custody Phase Shape

Description

Validates terminated custody phases.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-custodial:TerminatedCustodyPhase
cacontology-custodial:hasCustodyEndPoint 1
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:TerminatedCustodyPhaseShape a sh:NodeShape ;
    rdfs:label "Terminated Custody Phase Shape"@en ;
    rdfs:comment "Validates terminated custody phases."@en ;
    sh:property [ sh:message "Terminated custody phase must have end point"@en ;
            sh:minCount 1 ;
            sh:path cacontology-custodial:hasCustodyEndPoint ] ;
    sh:targetClass cacontology-custodial:TerminatedCustodyPhase .