Ontology Version: 2.2.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.

Shape Properties

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

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-production:ProductionOffense
0 1 xsd:decimal
cacontology-production:productionMethod 1 1 xsd:string
cacontology-production:sessionCount 0 1 xsd:nonNegativeInteger
cacontology-production:victimCount 1 1 xsd:nonNegativeInteger
0 1 xsd:dateTime
0 1 xsd:dateTime

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 .