{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE DeriveDataTypeable #-}
module Text.HTML5.MetaData.Schema.ElementarySchool 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.Organization
import {-# SOURCE #-} qualified Text.HTML5.MetaData.Schema.EducationalOrganization

-- | An elementary school.
--
--   [@id@] ElementarySchool
--
--   [@label@] Elementary School
--
--   [@comment@] An elementary school.
--
--   [@ancestors@] @'Thing','Organization','EducationalOrganization'@
--
--   [@subtypes@]
--
--   [@supertypes@] @'EducationalOrganization'@
--
--   [@url@] <http://schema.org/ElementarySchool>
data ElementarySchool = ElementarySchool { alumni :: Alumni
                                         , address :: Address
                                         , aggregateRating :: AggregateRating
                                         , areaServed :: AreaServed
                                         , award :: Award
                                         , brand :: Brand
                                         , contactPoint :: ContactPoint
                                         , department :: Department
                                         , dissolutionDate :: DissolutionDate
                                         , duns :: Duns
                                         , email :: Email
                                         , employee :: Employee
                                         , event :: Event
                                         , faxNumber :: FaxNumber
                                         , founder :: Founder
                                         , foundingDate :: FoundingDate
                                         , foundingLocation :: FoundingLocation
                                         , globalLocationNumber :: GlobalLocationNumber
                                         , hasOfferCatalog :: HasOfferCatalog
                                         , hasPOS :: HasPOS
                                         , isicV4 :: IsicV4
                                         , legalName :: LegalName
                                         , location :: Location
                                         , logo :: Logo
                                         , makesOffer :: MakesOffer
                                         , member :: Member
                                         , memberOf :: MemberOf
                                         , naics :: Naics
                                         , numberOfEmployees :: NumberOfEmployees
                                         , owns :: Owns
                                         , parentOrganization :: ParentOrganization
                                         , review :: Review
                                         , seeks :: Seeks
                                         , subOrganization :: SubOrganization
                                         , taxID :: TaxID
                                         , telephone :: Telephone
                                         , vatID :: VatID
                                         , 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 ElementarySchool where
  _label         = const "Elementary School"
  _comment_plain = const "An elementary school."
  _comment       = const "An elementary school."
  _url           = const "http://schema.org/ElementarySchool"
  _ancestors     = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.Thing.Thing)
                         ,typeOf (undefined :: Text.HTML5.MetaData.Schema.Organization.Organization)
                         ,typeOf (undefined :: Text.HTML5.MetaData.Schema.EducationalOrganization.EducationalOrganization)]
  _subtypes      = const []
  _supertypes    = const [typeOf (undefined :: Text.HTML5.MetaData.Schema.EducationalOrganization.EducationalOrganization)]