module Text.HTML5.MetaData.Schema.ListItem 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.Intangible
data ListItem = ListItem { item :: Item
, nextItem :: NextItem
, position :: Position
, previousItem :: PreviousItem
, additionalType :: AdditionalType
, alternateName :: AlternateName
, description :: Description
, image :: Image
, mainEntityOfPage :: MainEntityOfPage
, name :: Name
, potentialAction :: PotentialAction
, sameAs :: SameAs
, url :: Url
}
deriving (Show, Read, Eq, Typeable)
instance MetaData ListItem where
_label = const "List Item"
_comment_plain = const "An list item, e.g. a step in a checklist or how-to description."
_comment = const "An list item, e.g. a step in a checklist or how-to description."
_url = const "http://schema.org/ListItem"
_ancestors = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)
,typeOf (undefined :: Text.HTML5.MetaData.Schema.Intangible.Intangible)]
_subtypes = const []
_supertypes = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Intangible.Intangible)]