The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SemanticWeb::Schema::MediaObject - A media object

VERSION

version v0.0.3

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).

ATTRIBUTES

associated_article

associatedArticle

A NewsArticle associated with the Media Object.

A associated_article should be one of the following types:

InstanceOf['SemanticWeb::Schema::NewsArticle']

bitrate

The bitrate of the media object.

A bitrate should be one of the following types:

Str

content_size

contentSize

File size in (mega/kilo) bytes.

A content_size should be one of the following types:

Str

content_url

contentUrl

Actual bytes of the media object, for example the image file or video file.

A content_url should be one of the following types:

Str

duration

The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.

A duration should be one of the following types:

InstanceOf['SemanticWeb::Schema::Duration']

embed_url

embedUrl

A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.

A embed_url should be one of the following types:

Str

encodes_creative_work

encodesCreativeWork

The CreativeWork encoded by this media object.

A encodes_creative_work should be one of the following types:

InstanceOf['SemanticWeb::Schema::CreativeWork']

encoding_format

encodingFormat

Media type typically expressed using a MIME format (see IANA site and MDN reference) e.g. application/zip for a SoftwareApplication binary, audio/mpeg for .mp3 etc.).

In cases where a CreativeWork has several media type representations, encoding can be used to indicate each MediaObject alongside particular encodingFormat information.

Unregistered or niche encoding and file formats can be indicated instead via the most appropriate URL, e.g. defining Web page or a Wikipedia/Wikidata entry.

A encoding_format should be one of the following types:

Str

height

The height of the item.

A height should be one of the following types:

InstanceOf['SemanticWeb::Schema::QuantitativeValue']
InstanceOf['SemanticWeb::Schema::Distance']

player_type

playerType

Player type required—for example, Flash or Silverlight.

A player_type should be one of the following types:

Str

production_company

productionCompany

The production company or studio responsible for the item e.g. series, video game, episode etc.

A production_company should be one of the following types:

InstanceOf['SemanticWeb::Schema::Organization']

regions_allowed

regionsAllowed

The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in ISO 3166 format.

A regions_allowed should be one of the following types:

InstanceOf['SemanticWeb::Schema::Place']

requires_subscription

requiresSubscription

Indicates if use of the media require a subscription (either paid or free). Allowed values are true or false (note that an earlier version had 'yes', 'no').

A requires_subscription should be one of the following types:

Bool

upload_date

uploadDate

Date when this media object was uploaded to this site.

A upload_date should be one of the following types:

Str

width

The width of the item.

A width should be one of the following types:

InstanceOf['SemanticWeb::Schema::QuantitativeValue']
InstanceOf['SemanticWeb::Schema::Distance']

SEE ALSO

SemanticWeb::Schema::CreativeWork

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)