Ontology Version: 3.0.0

cacontology-case:TestimonyContingencyPlanShape leaf node


URI

https://cacontology.projectvic.org/case-management#TestimonyContingencyPlanShape

Label

Testimony Contingency Plan Shape

Description

Validation shape for testimony contingency plan instances.

Shape Properties

Instances of cacontology-case:TestimonyContingencyPlan can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-case:TestimonyContingencyPlan
cacontology-case:contingencyType 1 5 xsd:string
cacontology-case:preparedForWitness 1 1 uco-identity:Person
cacontology-case:CaseDocumentation
cacontology-case:documentStatus 1 1 xsd:string
cacontology-case:documentType 1 1 xsd:string

Implementation

@prefix cacontology-case: <https://cacontology.projectvic.org/case-management#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-identity: <https://ontology.unifiedcyberontology.org/uco/identity/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-case:TestimonyContingencyPlanShape a sh:NodeShape ;
    rdfs:label "Testimony Contingency Plan Shape"@en ;
    rdfs:comment "Validation shape for testimony contingency plan instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "original_disclosure_admission" "alternative_response_method" "diagram_or_doll_aid" "hearsay_witness" "refresh_recollection" "assistive_device_response" ) ;
            sh:maxCount 5 ;
            sh:message "Testimony contingency plan must specify one or more contingency types from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-case:contingencyType ],
        [ sh:class uco-identity:Person ;
            sh:maxCount 1 ;
            sh:message "Testimony contingency plan must identify the witness it was prepared for."@en ;
            sh:minCount 1 ;
            sh:path cacontology-case:preparedForWitness ] ;
    sh:targetClass cacontology-case:TestimonyContingencyPlan .