module Text.HTML5.MetaData.Schema.MediaObject where
import Text.HTML5.MetaData.Class
import Text.HTML5.MetaData.Type
import Data.Text
import Data.Typeable
import qualified Text.HTML5.MetaData.Schema.Thing
import qualified Text.HTML5.MetaData.Schema.CreativeWork
import qualified Text.HTML5.MetaData.Schema.AudioObject
import qualified Text.HTML5.MetaData.Schema.DataDownload
import qualified Text.HTML5.MetaData.Schema.ImageObject
import qualified Text.HTML5.MetaData.Schema.MusicVideoObject
import qualified Text.HTML5.MetaData.Schema.VideoObject
data MediaObject = MediaObject { associatedArticle :: AssociatedArticle
, bitrate :: Bitrate
, contentSize :: ContentSize
, contentUrl :: ContentUrl
, duration :: Duration
, embedUrl :: EmbedUrl
, encodesCreativeWork :: EncodesCreativeWork
, encodingFormat :: EncodingFormat
, expires :: Expires
, height :: Height
, playerType :: PlayerType
, productionCompany :: ProductionCompany
, regionsAllowed :: RegionsAllowed
, requiresSubscription :: RequiresSubscription
, uploadDate :: UploadDate
, width :: Width
, about :: About
, accessibilityAPI :: AccessibilityAPI
, accessibilityControl :: AccessibilityControl
, accessibilityFeature :: AccessibilityFeature
, accessibilityHazard :: AccessibilityHazard
, accountablePerson :: AccountablePerson
, aggregateRating :: AggregateRating
, alternativeHeadline :: AlternativeHeadline
, associatedMedia :: AssociatedMedia
, audience :: Audience
, audio :: Audio
, author :: Author
, award :: Award
, character :: Character
, citation :: Citation
, comment :: Comment
, commentCount :: CommentCount
, contentLocation :: ContentLocation
, contentRating :: ContentRating
, contributor :: Contributor
, copyrightHolder :: CopyrightHolder
, copyrightYear :: CopyrightYear
, creator :: Creator
, dateCreated :: DateCreated
, dateModified :: DateModified
, datePublished :: DatePublished
, discussionUrl :: DiscussionUrl
, editor :: Editor
, educationalAlignment :: EducationalAlignment
, educationalUse :: EducationalUse
, encoding :: Encoding
, exampleOfWork :: ExampleOfWork
, fileFormat :: FileFormat
, genre :: Genre
, hasPart :: HasPart
, headline :: Headline
, inLanguage :: InLanguage
, interactionStatistic :: InteractionStatistic
, interactivityType :: InteractivityType
, isBasedOnUrl :: IsBasedOnUrl
, isFamilyFriendly :: IsFamilyFriendly
, isPartOf :: IsPartOf
, keywords :: Keywords
, learningResourceType :: LearningResourceType
, license :: License
, locationCreated :: LocationCreated
, mainEntity :: MainEntity
, mentions :: Mentions
, offers :: Offers
, position :: Position
, producer :: Producer
, provider :: Provider
, publication :: Publication
, publisher :: Publisher
, publishingPrinciples :: PublishingPrinciples
, recordedAt :: RecordedAt
, releasedEvent :: ReleasedEvent
, review :: Review
, schemaVersion :: SchemaVersion
, sourceOrganization :: SourceOrganization
, text :: Text
, thumbnailUrl :: ThumbnailUrl
, timeRequired :: TimeRequired
, translator :: Translator
, typicalAgeRange :: TypicalAgeRange
, version :: Version
, video :: Video
, workExample :: WorkExample
, additionalType :: AdditionalType
, alternateName :: AlternateName
, description :: Description
, image :: Image
, mainEntityOfPage :: MainEntityOfPage
, name :: Name
, potentialAction :: PotentialAction
, sameAs :: SameAs
, url :: Url
}
deriving (Show, Read, Eq, Typeable)
instance MetaData MediaObject where
_label = const "Media Object"
_comment_plain = const "An image, video, or audio object embedded in a web page. 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)."
_comment = const "An image, video, or audio object embedded in a web page. 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)."
_url = const "http://schema.org/MediaObject"
_ancestors = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.CreativeWork.CreativeWork)]
_subtypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.AudioObject.AudioObject)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.DataDownload.DataDownload)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.ImageObject.ImageObject)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.MusicVideoObject.MusicVideoObject)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.VideoObject.VideoObject)]
_supertypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.CreativeWork.CreativeWork)]