https://cacontology.projectvic.org/street#HelpOfferApproachShape
Validation shape for help offer approach instances.
Instances of cacontology-street:HelpOfferApproach can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
|---|---|---|---|---|
| cacontology-street:HelpOfferApproach | ||||
| cacontology-street:helpOfferType | 0 | 1 |
xsd:string
|
|
| cacontology-street:PretextBasedApproach | ||||
| cacontology-street:pretextUsed | 0 | 1 |
xsd:string
|
|
| cacontology-street:InitialStreetContact | ||||
| cacontology-street:approachMethod | 0 | 1 |
xsd:string
|
|
| cacontology-street:contactDuration | 0 | 1 |
xsd:decimal
|
|
| cacontology-street:initialContactLocation | 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:HelpOfferApproachShape a sh:NodeShape ;
rdfs:label "Help Offer Approach Shape"@en ;
rdfs:comment "Validation shape for help offer approach instances."@en ;
sh:property [ sh:datatype xsd:string ;
sh:in ( "phone_charging" "food" "ride" "shelter" ) ;
sh:maxCount 1 ;
sh:message "Help offer type must be phone_charging, food, ride, or shelter."@en ;
sh:minCount 0 ;
sh:path cacontology-street:helpOfferType ] ;
sh:targetClass cacontology-street:HelpOfferApproach .