Ontology Version: 3.1.0

cacontology-case:AccommodationMotionShape leaf node


URI

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

Label

Accommodation Motion Shape

Description

Validation shape for accommodation motion instances.

Targets (1)

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-case:preparedForWitness Links case documentation to the child or witness for whom the document was prepared.
sh:message Accommodation motion must identify the witness it was prepared for.
1 1 uco-identity:Person
cacontology-case:supportsAccommodationPlan Links an accommodation motion to the courtroom accommodation plan it seeks to establish.
sh:message Accommodation motion must identify the courtroom accommodation plan it supports.
1 1 cacontology-case:CourtroomAccommodationPlan

Implementation

@prefix cacontology-case: <https://cacontology.projectvic.org/case-management#> .
@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:AccommodationMotionShape a sh:NodeShape ;
    rdfs:label "Accommodation Motion Shape"@en ;
    rdfs:comment "Validation shape for accommodation motion instances."@en ;
    sh:property [ sh:class cacontology-case:CourtroomAccommodationPlan ;
            sh:maxCount 1 ;
            sh:message "Accommodation motion must identify the courtroom accommodation plan it supports."@en ;
            sh:minCount 1 ;
            sh:path cacontology-case:supportsAccommodationPlan ],
        [ sh:class uco-identity:Person ;
            sh:maxCount 1 ;
            sh:message "Accommodation motion must identify the witness it was prepared for."@en ;
            sh:minCount 1 ;
            sh:path cacontology-case:preparedForWitness ] ;
    sh:targetClass cacontology-case:AccommodationMotion .