Ontology Version: 2.2.0

cacontology-grooming:EscalationPatternShape leaf node


URI

https://cacontology.projectvic.org/grooming#EscalationPatternShape

Label

Escalation Pattern Shape

Description

Validation shape for escalation pattern instances with gUFO integration.

Shape Properties

Instances of cacontology-grooming:EscalationPattern can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-grooming:EscalationPattern
0 1 xsd:decimal
1 xsd:double
1 1 xsd:string
1 1 xsd:string
cacontology-grooming:patternConfidence 0 1 xsd:decimal
1 xsd:dateTimeStamp
1 xsd:dateTimeStamp

Implementation

@prefix cacontology-grooming: <https://cacontology.projectvic.org/grooming#> .
@prefix gufo: <http://purl.org/nemo/gufo#> .
@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-grooming:EscalationPatternShape a sh:NodeShape ;
    rdfs:label "Escalation Pattern Shape"@en ;
    rdfs:comment "Validation shape for escalation pattern instances with gUFO integration."@en ;
    sh:property [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern may have begin timestamp (gUFO temporal)"@en ;
            sh:path gufo:hasBeginPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:dateTimeStamp ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern may have end timestamp (gUFO temporal)"@en ;
            sh:path gufo:hasEndPointInXSDDateTimeStamp ],
        [ sh:datatype xsd:string ;
            sh:in ( "gradual" "rapid" "stepped" "cyclical" "irregular" "sudden" "systematic" ) ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern must specify escalation type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:escalationType ],
        [ sh:datatype xsd:string ;
            sh:in ( "very_slow" "slow" "moderate" "fast" "very_fast" "immediate" ) ;
            sh:maxCount 1 ;
            sh:message "Escalation pattern must specify escalation speed from the allowed list (gUFO quality aspect)."@en ;
            sh:minCount 1 ;
            sh:path cacontology-grooming:escalationSpeed ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 365.0 ;
            sh:message "Escalation duration must be between 0 and 365 days."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:escalationDuration ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Pattern confidence must be between 0.0 and 1.0 (gUFO quality aspect)."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:patternConfidence ],
        [ sh:datatype xsd:double ;
            sh:maxCount 1 ;
            sh:maxInclusive 1.0 ;
            sh:message "Escalation predictability must be between 0.0 and 1.0 (gUFO quality aspect)"@en ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-grooming:escalationPredictability ] ;
    sh:targetClass cacontology-grooming:EscalationPattern .