module Text.HTML5.MetaData.Schema.PublicationEvent 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.Event
import qualified Text.HTML5.MetaData.Schema.BroadcastEvent
import qualified Text.HTML5.MetaData.Schema.OnDemandEvent
data PublicationEvent = PublicationEvent { 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
, free :: Free
, publishedOn :: PublishedOn
}
deriving (Show, Read, Eq, Typeable)
instance MetaData PublicationEvent where
_label = const "Publication Event"
_comment_plain = const ""
_comment = const ""
_url = const "http://schema.org/PublicationEvent"
_ancestors = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.Event.Event)]
_subtypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.BroadcastEvent.BroadcastEvent)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.OnDemandEvent.OnDemandEvent)]
_supertypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Event.Event)]