Ontology Version: 3.1.0

cacontology-production:ProductionEquipmentShape leaf node


URI

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

Label

Production Equipment Shape

Description

Validation shape for production equipment instances.

Targets (1)

Property Constraints (2)

Focus nodes of this shape (cacontology-production:ProductionEquipment) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-production:equipmentCondition
sh:message Equipment condition must be from the allowed list.
0 1 xsd:string
sh:in new, good, fair, poor, damaged, modified
cacontology-production:equipmentType
sh:message Equipment must specify type from the allowed list.
1 1 xsd:string
sh:in camera, smartphone, tablet, laptop, desktop, recording_device, lighting_equipment, audio_equipment, editing_software, streaming_equipment

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:ProductionEquipmentShape a sh:NodeShape ;
    rdfs:label "Production Equipment Shape"@en ;
    rdfs:comment "Validation shape for production equipment instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "camera" "smartphone" "tablet" "laptop" "desktop" "recording_device" "lighting_equipment" "audio_equipment" "editing_software" "streaming_equipment" ) ;
            sh:maxCount 1 ;
            sh:message "Equipment must specify type from the allowed list."@en ;
            sh:minCount 1 ;
            sh:path cacontology-production:equipmentType ],
        [ sh:datatype xsd:string ;
            sh:in ( "new" "good" "fair" "poor" "damaged" "modified" ) ;
            sh:maxCount 1 ;
            sh:message "Equipment condition must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-production:equipmentCondition ] ;
    sh:targetClass cacontology-production:ProductionEquipment .