NAME

SemanticWeb::Schema::MediaObject - A media object

VERSION

version v5.0.0

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

end_time

endTime

The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it's the time offset of the end of a clip within a larger file. Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.

A end_time 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::Distance']
InstanceOf['SemanticWeb::Schema::QuantitativeValue']

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
InstanceOf['SemanticWeb::Schema::MediaSubscription']

start_time

startTime

The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file. Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.

A start_time should be one of the following types:

Str

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::Distance']
InstanceOf['SemanticWeb::Schema::QuantitativeValue']

SEE ALSO

SemanticWeb::Schema::CreativeWork

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)