https://cacontology.projectvic.org/street#InitialStreetContactShape
Validation shape for initial street contact instances.
Focus nodes of this shape (cacontology-street:InitialStreetContact) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-street:approachMethod | Method used for initial approach (help_offer, casual_conversation, direct_solicitation). sh:message Approach method must be help_offer, casual_conversation, or direct_solicitation. |
0 | 1 | xsd:string |
sh:in
help_offer, casual_conversation, direct_solicitation
|
| cacontology-street:contactDuration | Duration of initial street contact in minutes. sh:message Contact duration must be a non-negative decimal value in minutes. |
0 | 1 | xsd:decimal |
sh:minInclusive
0.0
|
| cacontology-street:initialContactLocation | Specific location where initial contact occurred. sh:message Initial contact location may be specified. |
0 | 1 | xsd:string |
@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 .