module Text.HTML5.MetaData.Schema.Article 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.BlogPosting
import qualified Text.HTML5.MetaData.Schema.NewsArticle
import qualified Text.HTML5.MetaData.Schema.ScholarlyArticle
import qualified Text.HTML5.MetaData.Schema.TechArticle
data Article = Article { additionalType :: AdditionalType
, alternateName :: AlternateName
, description :: Description
, image :: Image
, name :: Name
, sameAs :: SameAs
, url :: Url
, 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
, awards :: Awards
, citation :: Citation
, comment :: Comment
, 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
, encodings :: Encodings
, genre :: Genre
, headline :: Headline
, inLanguage :: InLanguage
, interactionCount :: InteractionCount
, interactivityType :: InteractivityType
, isBasedOnUrl :: IsBasedOnUrl
, isFamilyFriendly :: IsFamilyFriendly
, keywords :: Keywords
, learningResourceType :: LearningResourceType
, mentions :: Mentions
, offers :: Offers
, provider :: Provider
, publisher :: Publisher
, publishingPrinciples :: PublishingPrinciples
, review :: Review
, reviews :: Reviews
, sourceOrganization :: SourceOrganization
, text :: Text
, thumbnailUrl :: ThumbnailUrl
, timeRequired :: TimeRequired
, typicalAgeRange :: TypicalAgeRange
, version :: Version
, video :: Video
, articleBody :: ArticleBody
, articleSection :: ArticleSection
, wordCount :: WordCount
}
deriving (Show, Read, Eq, Typeable)
instance MetaData Article where
_label = const "Article"
_comment_plain = const ""
_comment = const ""
_url = const "http://schema.org/Article"
_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.BlogPosting.BlogPosting)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.NewsArticle.NewsArticle)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.ScholarlyArticle.ScholarlyArticle)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.TechArticle.TechArticle)]
_supertypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.CreativeWork.CreativeWork)]