module Text.HTML5.MetaData.Schema.Action where
import Text.HTML5.MetaData.Class
import Text.HTML5.MetaData.Type hiding (Action)
import Data.Text
import Data.Typeable
import qualified Text.HTML5.MetaData.Schema.Thing
import qualified Text.HTML5.MetaData.Schema.AchieveAction
import qualified Text.HTML5.MetaData.Schema.AssessAction
import qualified Text.HTML5.MetaData.Schema.ConsumeAction
import qualified Text.HTML5.MetaData.Schema.CreateAction
import qualified Text.HTML5.MetaData.Schema.FindAction
import qualified Text.HTML5.MetaData.Schema.InteractAction
import qualified Text.HTML5.MetaData.Schema.MoveAction
import qualified Text.HTML5.MetaData.Schema.OrganizeAction
import qualified Text.HTML5.MetaData.Schema.PlayAction
import qualified Text.HTML5.MetaData.Schema.SearchAction
import qualified Text.HTML5.MetaData.Schema.TradeAction
import qualified Text.HTML5.MetaData.Schema.TransferAction
import qualified Text.HTML5.MetaData.Schema.UpdateAction
data Action = Action { additionalType :: AdditionalType
, alternateName :: AlternateName
, description :: Description
, image :: Image
, name :: Name
, sameAs :: SameAs
, url :: Url
, agent :: Agent
, endTime :: EndTime
, instrument :: Instrument
, location :: Location
, object :: Object
, participant :: Participant
, result :: Result
, startTime :: StartTime
}
deriving (Show, Read, Eq, Typeable)
instance MetaData Action where
_label = const "Action"
_comment_plain = const ""
_comment = const ""
_url = const "http://schema.org/Action"
_ancestors = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)]
_subtypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.AchieveAction.AchieveAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.AssessAction.AssessAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.ConsumeAction.ConsumeAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.CreateAction.CreateAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.FindAction.FindAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.InteractAction.InteractAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.MoveAction.MoveAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.OrganizeAction.OrganizeAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.PlayAction.PlayAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.SearchAction.SearchAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.TradeAction.TradeAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.TransferAction.TransferAction)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.UpdateAction.UpdateAction)]
_supertypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)]