https://cacontology.projectvic.org/street#PretextBasedApproachShape
Validation shape for pretext-based approach instances.
Focus nodes of this shape (cacontology-street:PretextBasedApproach) can have the following properties:
| PROPERTY | DESCRIPTION | MIN | MAX | VALUE TYPE | OTHER CONSTRAINTS |
|---|---|---|---|---|---|
| cacontology-street:pretextUsed | Specific pretext used for initial contact (phone_charging, food_offer, transportation). sh:message Pretext used must be phone_charging, food_offer, or transportation. |
0 | 1 | xsd:string |
sh:in
phone_charging, food_offer, transportation
|
@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:PretextBasedApproachShape a sh:NodeShape ;
rdfs:label "Pretext Based Approach Shape"@en ;
rdfs:comment "Validation shape for pretext-based approach instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "phone_charging" "food_offer" "transportation" ) ;
sh:maxCount 1 ;
sh:message "Pretext used must be phone_charging, food_offer, or transportation."@en ;
sh:minCount 0 ;
sh:path cacontology-street:pretextUsed ] ;
sh:targetClass cacontology-street:PretextBasedApproach .