Ontology Version: 2.2.0

cacontology-street:PostContactReinforcementShape leaf node


URI

https://cacontology.projectvic.org/street#PostContactReinforcementShape

Label

Post Contact Reinforcement Shape

Description

Validation shape for post-contact reinforcement instances.

Shape Properties

Instances of cacontology-street:PostContactReinforcement can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-street:PostContactReinforcement
cacontology-street:followUpDelay 0 1 xsd:decimal
cacontology-street:followUpMethod 0 1 xsd:string

Implementation

@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@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-street:PostContactReinforcementShape a sh:NodeShape ;
    rdfs:label "Post Contact Reinforcement Shape"@en ;
    rdfs:comment "Validation shape for post-contact reinforcement instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:message "Follow-up delay must be a non-negative decimal value in hours."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-street:followUpDelay ],
        [ sh:datatype xsd:string ;
            sh:in ( "text" "call" "social_media" "in_person" ) ;
            sh:maxCount 1 ;
            sh:message "Follow-up method must be text, call, social_media, or in_person."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:followUpMethod ] ;
    sh:targetClass cacontology-street:PostContactReinforcement .