Ontology Version: 3.0.0

cacontology-case:CourtroomAccommodationPlanShape leaf node


URI

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

Label

Courtroom Accommodation Plan Shape

Description

Validation shape for courtroom accommodation plan instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-case:CourtroomAccommodationPlan
cacontology-case:accommodationType 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:CourtroomAccommodationPlanShape a sh:NodeShape ;
    rdfs:label "Courtroom Accommodation Plan Shape"@en ;
    rdfs:comment "Validation shape for courtroom accommodation plan instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "support_person" "comfort_item" "courthouse_dog" "sensory_adjustment" "interpreter_or_facilitator" "assistive_device" "yes_no_response_method" "alternative_testimony_location" ) ;
            sh:maxCount 5 ;
            sh:message "Courtroom accommodation plan must specify one or more accommodation types from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-case:accommodationType ],
        [ sh:class uco-identity:Person ;
            sh:maxCount 1 ;
            sh:message "Courtroom accommodation plan must identify the witness it was prepared for."@en ;
            sh:minCount 1 ;
            sh:path cacontology-case:preparedForWitness ] ;
    sh:targetClass cacontology-case:CourtroomAccommodationPlan .