rescs:dash/mediaobject/MediaObjectShape leaf node


URI

http://rescs.org/dash/mediaobject/MediaObjectShape

Label

Media object

Description

A media object, such as an image, video, or audio object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's).

Target Classes (1)

Implementation

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://rescs.org/dash/mediaobject/MediaObjectShape> a sh:NodeShape ;
    rdfs:label "Media object"^^xsd:string ;
    rdfs:comment "A media object, such as an image, video, or audio object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's)."^^xsd:string ;
    sh:and ( [ sh:node <http://rescs.org/dash/creativework/CreativeWorkShape> ] [ sh:property [ sh:datatype xsd:string ;
                        sh:description "File size in (mega/kilo) bytes." ;
                        sh:maxCount 1 ;
                        sh:name "contentSize" ;
                        sh:path schema:contentSize ],
                    [ sh:description "Actual bytes of the media object, for example the image file or video file." ;
                        sh:maxCount 1 ;
                        sh:name "contentUrl" ;
                        sh:nodeKind sh:IRI ;
                        sh:path schema:contentUrl ] ] ) ;
    sh:targetClass schema:MediaObject .