Ontology Version: 3.1.0

cacontology-coord:CommunicationProtocolShape leaf node


URI

https://cacontology.projectvic.org/investigation-coordination#CommunicationProtocolShape

Label

Communication Protocol Shape

Description

Validation shape for communication protocol instances.

Targets (1)

Property Constraints (4)

Focus nodes of this shape (cacontology-coord:CommunicationProtocol) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-coord:communicationFrequency Frequency of communication (real_time, daily, weekly, bi_weekly, monthly, as_needed, emergency_only).
sh:message Communication protocol must specify communication frequency from the allowed list.
1 1 xsd:string
sh:in real_time, daily, weekly, bi_weekly, monthly, as_needed, emergency_only
cacontology-coord:escalationProcedure Whether escalation procedure exists in the communication protocol.
sh:message Communication protocol must specify if escalation procedure exists.
1 1 xsd:boolean
cacontology-coord:protocolType Type of communication protocol (formal_channels, informal_channels, emergency_channels, secure_channels, encrypted_channels, liaison_channels).
sh:message Communication protocol must specify protocol type from the allowed list.
1 1 xsd:string
sh:in formal_channels, informal_channels, emergency_channels, secure_channels, encrypted_channels, liaison_channels
cacontology-coord:responseTimeRequirement Required response time in hours.
sh:message Response time requirement must be between 1 and 168 hours (1 week).
0 1 xsd:decimal
sh:minInclusive 1.0
sh:maxInclusive 168.0

Implementation

@prefix cacontology-coord: <https://cacontology.projectvic.org/investigation-coordination#> .
@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-coord:CommunicationProtocolShape a sh:NodeShape ;
    rdfs:label "Communication Protocol Shape"@en ;
    rdfs:comment "Validation shape for communication protocol instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "formal_channels" "informal_channels" "emergency_channels" "secure_channels" "encrypted_channels" "liaison_channels" ) ;
            sh:maxCount 1 ;
            sh:message "Communication protocol must specify protocol type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:protocolType ],
        [ sh:datatype xsd:string ;
            sh:in ( "real_time" "daily" "weekly" "bi_weekly" "monthly" "as_needed" "emergency_only" ) ;
            sh:maxCount 1 ;
            sh:message "Communication protocol must specify communication frequency from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:communicationFrequency ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Communication protocol must specify if escalation procedure exists."@en ;
            sh:minCount 1 ;
            sh:path cacontology-coord:escalationProcedure ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 168.0 ;
            sh:message "Response time requirement must be between 1 and 168 hours (1 week)."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1.0 ;
            sh:path cacontology-coord:responseTimeRequirement ] ;
    sh:targetClass cacontology-coord:CommunicationProtocol .