Ontology Version: 2.2.0

cacontology-production:RecordingDeviceShape leaf node


URI

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

Label

Recording Device Shape

Description

Validation shape for recording device instances.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-production:RecordingDevice
cacontology-production:recordingQuality 0 1 xsd:string
cacontology-production:storageCapacity 0 1 xsd:decimal

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:RecordingDeviceShape a sh:NodeShape ;
    rdfs:label "Recording Device Shape"@en ;
    rdfs:comment "Validation shape for recording device instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:in ( "low" "standard" "high" "ultra_high" "professional" ) ;
            sh:maxCount 1 ;
            sh:message "Recording quality must be from the allowed list."@en ;
            sh:minCount 0 ;
            sh:path cacontology-production:recordingQuality ],
        [ sh:datatype xsd:decimal ;
            sh:maxCount 1 ;
            sh:maxInclusive 100000.0 ;
            sh:message "Storage capacity must be between 0.1 GB and 100 TB."@en ;
            sh:minCount 0 ;
            sh:minInclusive 0.1 ;
            sh:path cacontology-production:storageCapacity ] ;
    sh:targetClass cacontology-production:RecordingDevice .