Ontology Version: 2.2.0

cacontology-production:ProducerShape leaf node


URI

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

Label

Producer Shape

Description

Validation shape for producer role instances.

Target Classes (1)

Shape Properties

Instances of cacontology-production:Producer 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:ProducerShape a sh:NodeShape ;
    rdfs:label "Producer Shape"@en ;
    rdfs:comment "Validation shape for producer role instances."@en ;
    sh:property [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 50.0 ;
            sh:message "Production experience must be between 0 and 50 years."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.0 ;
            sh:path cacontology-production:productionExperience ],
        [ sh:datatype xsd:string ;
            sh:in ( "novice" "intermediate" "advanced" "expert" "professional" ) ;
            sh:maxCount 1 ;
            sh:message "Technical skill level must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-production:technicalSkillLevel ] ;
    sh:targetClass cacontology-production:Producer .