{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE DeriveDataTypeable #-} module Text.HTML5.MetaData.Schema.ListItem where -- Valid: 2016-02-03 (Schema.rdfs.org) import Text.HTML5.MetaData.Class import Text.HTML5.MetaData.Type import Data.Text import Data.Typeable import {-# SOURCE #-} qualified Text.HTML5.MetaData.Schema.Thing import {-# SOURCE #-} qualified Text.HTML5.MetaData.Schema.Intangible -- | An list item, e.g. a step in a checklist or how-to description. -- -- [@id@] ListItem -- -- [@label@] List Item -- -- [@comment@] An list item, e.g. a step in a checklist or how-to description. -- -- [@ancestors@] @'Thing','Intangible'@ -- -- [@subtypes@] -- -- [@supertypes@] @'Intangible'@ -- -- [@url@] 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)]