Ontology Version: 2.2.0

cacontology-platforms:VideoStreamingPlatformShape leaf node


URI

https://cacontology.projectvic.org/platforms#VideoStreamingPlatformShape

Label

Video Streaming Platform Shape

Description

Validation shape for video streaming platform instances.

Shape Properties

Instances of cacontology-platforms:VideoStreamingPlatform can have the following properties:

PROPERTY

MIN COUNT

MAX COUNT

TYPE

cacontology-platforms:VideoStreamingPlatform
cacontology-platforms:ageVerificationRequired 0 1 xsd:boolean
1 1 xsd:string

Implementation

@prefix cacontology-platforms: <https://cacontology.projectvic.org/platforms#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix uco-core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
cacontology-platforms:VideoStreamingPlatformShape a sh:NodeShape ;
    rdfs:label "Video Streaming Platform Shape"@en ;
    rdfs:comment "Validation shape for video streaming platform instances."@en ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:maxLength 100 ;
            sh:message "Video streaming platform must have a name (2-100 characters)."@en ;
            sh:minCount 1 ;
            sh:minLength 2 ;
            sh:path uco-core:name ],
        [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:message "Age verification requirement must be a boolean value."@en ;
            sh:minCount 0 ;
            sh:path cacontology-platforms:ageVerificationRequired ] ;
    sh:targetClass cacontology-platforms:VideoStreamingPlatform .