Ontology Version: 3.1.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.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-case:CourtroomAccommodationPlan) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-case:accommodationType Type of courtroom accommodation requested or planned (support_person, comfort_item, courthouse_dog, sensory_adjustment, interpreter_or_facilitator, assistive_device, yes_no_response_method, alternative_testimony_location).
sh:message Courtroom accommodation plan must specify one or more accommodation types from the allowed list.
1 5 xsd:string
sh:in support_person, comfort_item, courthouse_dog, sensory_adjustment, interpreter_or_facilitator, assistive_device, yes_no_response_method, alternative_testimony_location
cacontology-case:preparedForWitness Links case documentation to the child or witness for whom the document was prepared.
sh:message Courtroom accommodation plan must identify the witness it was prepared for.
1 1 uco-identity:Person

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 .