Ontology Version: 2.2.0

cacontology-production:ProductionLocationShape leaf node


URI

https://cacontology.projectvic.org/production#ProductionLocationShape

Label

Production Location Shape

Description

Validation shape for production location instances.

Shape Properties

Instances of cacontology-production:ProductionLocation can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

Implementation

@prefix cacontology-production: <https://cacontology.projectvic.org/production#> .
@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-production:ProductionLocationShape a sh:NodeShape ;
    rdfs:label "Production Location Shape"@en ;
    rdfs:comment "Validation shape for production location instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "open" "restricted" "controlled" "secured" "locked" ) ;
            sh:maxCount 1 ;
            sh:message "Access control must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-production:accessControl ],
        [ sh:datatype xsd:string ;
            sh:in ( "residential" "commercial" "institutional" "outdoor" "vehicle" "temporary" "mobile" ) ;
            sh:maxCount 1 ;
            sh:message "Production location must specify type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-production:locationType ],
        [ sh:datatype xsd:string ;
            sh:in ( "public" "semi_private" "private" "highly_private" "isolated" ) ;
            sh:maxCount 1 ;
            sh:message "Production location must specify privacy level from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-production:privacyLevel ] ;
    sh:targetClass cacontology-production:ProductionLocation .