Ontology Version: 2.2.0

cacontology-street:InitialStreetContactShape leaf node


URI

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

Label

Initial Street Contact Shape

Description

Validation shape for initial street contact instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-street:InitialStreetContact
cacontology-street:approachMethod 0 1 xsd:string
cacontology-street:contactDuration 0 1 xsd:decimal
cacontology-street:initialContactLocation 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:InitialStreetContactShape a sh:NodeShape ;
    rdfs:label "Initial Street Contact Shape"@en ;
    rdfs:comment "Validation shape for initial street contact instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:message "Contact duration must be a non-negative decimal value in minutes."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-street:contactDuration ],
        [ sh:datatype xsd:string ;
            sh:in ( "help_offer" "casual_conversation" "direct_solicitation" ) ;
            sh:maxCount 1 ;
            sh:message "Approach method must be help_offer, casual_conversation, or direct_solicitation."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:approachMethod ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Initial contact location may be specified."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:initialContactLocation ] ;
    sh:targetClass cacontology-street:InitialStreetContact .