Ontology Version: 3.1.0

cacontology-production:LiveProductionEventShape leaf node


URI

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

Label

Live Production Event Shape

Description

Validation shape for live production event instances.

Targets (1)

Property Constraints (2)

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

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
cacontology-production:streamingPlatform
sh:message Live production event must specify streaming platform (2-100 characters).
1 1 xsd:string
sh:minLength 2
sh:maxLength 100
cacontology-production:viewerCount
sh:message Viewer count must be between 1 and 10000 when specified.
0 1 xsd:nonNegativeInteger
sh:minInclusive 1
sh:maxInclusive 10000

Implementation

@prefix cacontology-production: <https://cacontology.projectvic.org/production#> .
@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:LiveProductionEventShape a sh:NodeShape ;
    rdfs:label "Live Production Event Shape"@en ;
    rdfs:comment "Validation shape for live production event instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Live production event must specify streaming platform (2-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path cacontology-production:streamingPlatform ],
        [ sh:datatype xsd:nonNegativeInteger ;
            sh:maxCount 1 ;
            sh:maxInclusive 10000 ;
            sh:message "Viewer count must be between 1 and 10000 when specified."@en ;
            sh:minCount 0 ;
            sh:minInclusive 1 ;
            sh:path cacontology-production:viewerCount ] ;
    sh:targetClass cacontology-production:LiveProductionEvent .