http://rescs.org/dash/mediaobject/MediaObjectShape
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).
Instances of schema:MediaObject can have the following properties:
PROPERTY |
MIN COUNT |
MAX COUNT |
TYPE |
|
---|---|---|---|---|
schema:MediaObject | ||||
schema:contentSize | 1 |
xsd:string
|
||
schema:contentUrl | 1 | |||
schema:CreativeWork | ||||
schema:about |
schema:Thing
|
|||
schema:abstract | 1 | |||
schema:author | 1 | |||
schema:citation | ||||
schema:conditionsOfAccess | 1 |
xsd:string
|
||
schema:copyrightHolder | 1 | |||
schema:copyrightNotice | 1 |
xsd:string
|
||
schema:copyrightYear | 1 |
xsd:integer
|
||
schema:creativeWorkStatus | 1 |
xsd:string
|
||
schema:dateCreated | 1 |
xsd:date
|
||
schema:dateModified | 1 |
xsd:date
|
||
schema:datePublished | 1 |
xsd:date
|
||
schema:editor | 1 |
schema:Person
|
||
schema:encodingFormat | 1 |
xsd:string
|
||
schema:funder | 1 | |||
schema:genre | ||||
schema:hasPart |
schema:CreativeWork
|
|||
schema:inLanguage |
xsd:string
|
|||
schema:isAccessibleForFree | 1 |
xsd:boolean
|
||
schema:keywords | ||||
schema:license | 1 | |||
schema:maintainer | ||||
schema:mentions |
schema:Thing
|
|||
schema:position | 1 | |||
schema:publisher | 1 | |||
schema:spatialCoverage |
schema:Place
|
|||
schema:temporalCoverage | ||||
schema:Thing | ||||
schema:alternateName |
xsd:string
|
|||
schema:description | 1 | |||
schema:identifier | 1 | |||
schema:image | 1 | |||
schema:name | 1 | 1 |
xsd:string
|
|
schema:sameAs | ||||
schema:url |
@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 .