{-# LANGUAGE OverloadedStrings #-}
module Text.HTML5.MetaData.Schema.UserBlocks where

--  Valid: 2012-06-26 ( Schema.rdfs.org )

import Text.HTML5.MetaData.Class
import Text.HTML5.MetaData.Type
import Data.Text

-- | [@id@] UserBlocks
--   [@label@] User Blocks
--   [@comment_plain@] User interaction: Block this content.
--   [@comment@] User interaction: Block this content.
--   [@ancestors@] @'Thing','Event','UserInteraction'@
--   [@subtypes@] @@
--   [@supertypes@] @'UserInteraction'@
--   [@url@] <http://schema.org/UserBlocks>
data UserBlocks = UserBlocks { description :: Description
                             , image :: Image
                             , name :: Name
                             , url :: Url
                             , attendee :: Attendee
                             , attendees :: Attendees
                             , duration :: Duration
                             , endDate :: EndDate
                             , location :: Location
                             , offers :: Offers
                             , performer :: Performer
                             , performers :: Performers
                             , startDate :: StartDate
                             , subEvent :: SubEvent
                             , subEvents :: SubEvents
                             , superEvent :: SuperEvent
                             }
                  deriving (Show, Read, Eq)

instance MetaData UserBlocks where
  _label         = const "User Blocks"
  _comment_plain = const "User interaction: Block this content."
  _comment       = const "User interaction: Block this content."
  _url           = const "http://schema.org/UserBlocks"