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

Shape Properties

Instances of cacontology-coord:CommunicationProtocol can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-coord:CommunicationProtocol
cacontology-coord:communicationFrequency 1 1 xsd:string
cacontology-coord:escalationProcedure 1 1 xsd:boolean
cacontology-coord:protocolType 1 1 xsd:string
cacontology-coord:responseTimeRequirement 0 1 xsd:decimal

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 .