Ontology Version: 3.1.0

cacontology-tactical:BookingActionShape leaf node


URI

https://cacontology.projectvic.org/tactical#BookingActionShape

Label

Booking Action Shape

Description

Validation shape for booking actions after arrest.

Targets (1)

Property Constraints (4)

Focus nodes of this shape (cacontology-tactical:BookingAction) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-tactical:bookingDate
sh:message May specify the booking date.
0 1 xsd:date
cacontology-tactical:bookingOfficer
sh:message May specify the booking officer.
0 1 xsd:string
cacontology-tactical:occursAtFacility
sh:message May link to the correctional facility.
0 1 cacontology-tactical:CorrectionalFacility
rdfs:label
sh:message Booking action should have a label.
0 1 rdf:langString

Implementation

@prefix cacontology-tactical: <https://cacontology.projectvic.org/tactical#> .
@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 xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-tactical:BookingActionShape a sh:NodeShape ;
    rdfs:label "Booking Action Shape"@en ;
    rdfs:comment "Validation shape for booking actions after arrest."@en ;
    sh:property [ sh:datatype rdf:langString ;
            sh:maxCount 1 ;
            sh:message "Booking action should have a label."@en ;
            sh:minCount 0 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:date ;
            sh:maxCount 1 ;
            sh:message "May specify the booking date."@en ;
            sh:minCount 0 ;
            sh:path cacontology-tactical:bookingDate ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "May specify the booking officer."@en ;
            sh:minCount 0 ;
            sh:path cacontology-tactical:bookingOfficer ],
        [ sh:class cacontology-tactical:CorrectionalFacility ;
            sh:maxCount 1 ;
            sh:message "May link to the correctional facility."@en ;
            sh:minCount 0 ;
            sh:path cacontology-tactical:occursAtFacility ] ;
    sh:targetClass cacontology-tactical:BookingAction .