Ontology Version: 2.2.0

cacontology-street:SecondaryLocationExploitationShape leaf node


URI

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

Label

Secondary Location Exploitation Shape

Description

Validation shape for secondary location exploitation instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-street:SecondaryLocationExploitation
cacontology-street:distanceFromContact 0 1 xsd:decimal
cacontology-street:exploitationLocation 0 1 xsd:string
cacontology-street:LocationTransition
cacontology-street:transportationMethod 0 1 xsd:string

Implementation

@prefix cacontology-street: <https://cacontology.projectvic.org/street#> .
@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:SecondaryLocationExploitationShape a sh:NodeShape ;
    rdfs:label "Secondary Location Exploitation Shape"@en ;
    rdfs:comment "Validation shape for secondary location exploitation instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:message "Exploitation location may be specified."@en ;
            sh:minCount 0 ;
            sh:path cacontology-street:exploitationLocation ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:message "Distance from contact must be a non-negative decimal value in miles."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-street:distanceFromContact ] ;
    sh:targetClass cacontology-street:SecondaryLocationExploitation .