module Text.HTML5.MetaData.Schema.Event where
import Text.HTML5.MetaData.Class
import Text.HTML5.MetaData.Type hiding (Event)
import Data.Text
import Data.Typeable
import qualified Text.HTML5.MetaData.Schema.Thing
import qualified Text.HTML5.MetaData.Schema.BusinessEvent
import qualified Text.HTML5.MetaData.Schema.ChildrensEvent
import qualified Text.HTML5.MetaData.Schema.ComedyEvent
import qualified Text.HTML5.MetaData.Schema.DanceEvent
import qualified Text.HTML5.MetaData.Schema.DeliveryEvent
import qualified Text.HTML5.MetaData.Schema.EducationEvent
import qualified Text.HTML5.MetaData.Schema.Festival
import qualified Text.HTML5.MetaData.Schema.FoodEvent
import qualified Text.HTML5.MetaData.Schema.LiteraryEvent
import qualified Text.HTML5.MetaData.Schema.MusicEvent
import qualified Text.HTML5.MetaData.Schema.PublicationEvent
import qualified Text.HTML5.MetaData.Schema.SaleEvent
import qualified Text.HTML5.MetaData.Schema.SocialEvent
import qualified Text.HTML5.MetaData.Schema.SportsEvent
import qualified Text.HTML5.MetaData.Schema.TheaterEvent
import qualified Text.HTML5.MetaData.Schema.UserInteraction
import qualified Text.HTML5.MetaData.Schema.VisualArtsEvent
data Event = Event { additionalType :: AdditionalType
, alternateName :: AlternateName
, description :: Description
, image :: Image
, name :: Name
, sameAs :: SameAs
, url :: Url
, attendee :: Attendee
, attendees :: Attendees
, doorTime :: DoorTime
, duration :: Duration
, endDate :: EndDate
, eventStatus :: EventStatus
, location :: Location
, offers :: Offers
, performer :: Performer
, performers :: Performers
, previousStartDate :: PreviousStartDate
, startDate :: StartDate
, subEvent :: SubEvent
, subEvents :: SubEvents
, superEvent :: SuperEvent
, typicalAgeRange :: TypicalAgeRange
}
deriving (Show, Read, Eq, Typeable)
instance MetaData Event where
_label = const "Event"
_comment_plain = const ""
_comment = const ""
_url = const "http://schema.org/Event"
_ancestors = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)]
_subtypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.BusinessEvent.BusinessEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.ChildrensEvent.ChildrensEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.ComedyEvent.ComedyEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.DanceEvent.DanceEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.DeliveryEvent.DeliveryEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.EducationEvent.EducationEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.Festival.Festival)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.FoodEvent.FoodEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.LiteraryEvent.LiteraryEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.MusicEvent.MusicEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.PublicationEvent.PublicationEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.SaleEvent.SaleEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.SocialEvent.SocialEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.SportsEvent.SportsEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.TheaterEvent.TheaterEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.UserInteraction.UserInteraction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.VisualArtsEvent.VisualArtsEvent)]
_supertypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)]