Ontology Version: 3.1.0

cacontology-undercover:MeetingLocationShape leaf node


URI

https://cacontology.projectvic.org/undercover#MeetingLocationShape

Label

Meeting Location Shape

Description

Validation shape for meeting location instances used in undercover operations.

Targets (1)

Property Constraints (4)

Focus nodes of this shape (cacontology-undercover:MeetingLocation) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-undercover:arrangedTime Date and time arranged for meeting.
sh:message Meeting location may specify an arranged meeting time.
0 1 xsd:dateTime
cacontology-undercover:locationName Name of the meeting location (e.g., 'Princess Motel').
sh:message Location name should be between 1 and 200 characters.
0 1 xsd:string
sh:minLength 1
sh:maxLength 200
cacontology-undercover:roomNumber Room or unit number at the meeting location.
sh:message Meeting location may specify a room number.
0 1 xsd:string
rdfs:label
sh:message Meeting location should have a label.
0 1 rdf:langString

Implementation

@prefix cacontology-undercover: <https://cacontology.projectvic.org/undercover#> .
@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-undercover:MeetingLocationShape a sh:NodeShape ;
    rdfs:label "Meeting Location Shape"@en ;
    rdfs:comment "Validation shape for meeting location instances used in undercover operations."@en ;
    sh:property [ sh:datatype rdf:langString ;
            sh:maxCount 1 ;
            sh:message "Meeting location should have a label."@en ;
            sh:minCount 0 ;
            sh:path rdfs:label ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 200 ;
            sh:message "Location name should be between 1 and 200 characters."@en ;
            sh:minCount 0 ;
            sh:minLength 1 ;
            sh:path cacontology-undercover:locationName ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Meeting location may specify a room number."@en ;
            sh:minCount 0 ;
            sh:path cacontology-undercover:roomNumber ],
        [ sh:datatype xsd:dateTime ;
            sh:maxCount 1 ;
            sh:message "Meeting location may specify an arranged meeting time."@en ;
            sh:minCount 0 ;
            sh:path cacontology-undercover:arrangedTime ] ;
    sh:targetClass cacontology-undercover:MeetingLocation .