aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Composites/C235.hs
blob: de9f088870ef0db56a78ec070a57a95ba369c73a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D01B.Composites.C235
  ( -- * Definition
    compositeC235
    -- * Dependencies
  , simple8158
  , simple8186
  ) where

import           Text.Edifact.D01B.Simples (simple8158, simple8186)

import           Text.Edifact.Parsing
import           Text.Edifact.Types        (Value)

-- | Derived from this specification:
--
-- >        C235 HAZARD IDENTIFICATION PLACARD DETAILS
-- >
-- >        Desc: These numbers appear on the hazard identification
-- >              placard required on the means of transport.
-- >
-- > 010    8158  Orange hazard placard upper part
-- >              identifier                                C      an..4
-- > 020    8186  Orange hazard placard lower part
-- >              identifier                                C      an4
--
-- Dependencies: 'simple8158', 'simple8186'.
compositeC235 :: Parser Value
compositeC235 =
  composite "C235"
    [ "010" .@ optional  simple8158
    , "020" .@ optional  simple8186
    ]