{-# LANGUAGE OverloadedStrings #-} module Text.HTML5.MetaData.Schema.Event where -- Valid: 2013-11-15 ( Schema.rdfs.org ) import Text.HTML5.MetaData.Class import Text.HTML5.MetaData.Type hiding ( Event ) import Data.Text -- | -- -- [@id@] Event -- -- [@label@] Event -- -- [@comment@] -- -- [@ancestors@] @'Thing'@ -- -- [@subtypes@] @'BusinessEvent','ChildrensEvent','ComedyEvent','DanceEvent','EducationEvent','Festival','FoodEvent','LiteraryEvent','MusicEvent','SaleEvent','SocialEvent','SportsEvent','TheaterEvent','UserInteraction','VisualArtsEvent'@ -- -- [@supertypes@] @'Thing'@ -- -- [@url@] data Event = Event { additionalType :: AdditionalType , description :: Description , image :: Image , name :: Name , sameAs :: SameAs , url :: Url , attendee :: Attendee , attendees :: Attendees , duration :: Duration , endDate :: EndDate , location :: Location , offers :: Offers , performer :: Performer , performers :: Performers , startDate :: StartDate , subEvent :: SubEvent , subEvents :: SubEvents , superEvent :: SuperEvent } deriving (Show, Read, Eq) instance MetaData Event where _label = const "Event" _comment_plain = const "" _comment = const "" _url = const "http://schema.org/Event"