aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C223.hs
blob: 9f39949d8a26ebfd442da164e865beab6b16bbf5 (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
{-# LANGUAGE OverloadedStrings #-}

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

module Text.Edifact.D96A.Composites.C223
  ( -- * Definition
    compositeC223
    -- * Dependencies
  , simple6411
  , simple7106
  ) where

import           Text.Edifact.D96A.Simples (simple6411, simple7106)

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

-- | Derived from this specification:
--
-- >       C223  DANGEROUS GOODS SHIPMENT FLASHPOINT
-- >
-- >       Desc: Temperature at which a vapor according to ISO 1523/73 can
-- >             be ignited.
-- >
-- > 010   7106   Shipment flashpoint                           C  n3
-- > 020   6411   Measure unit qualifier                        C  an..3
--
-- Dependencies: 'simple6411', 'simple7106'.
compositeC223 :: Parser Value
compositeC223 =
  composite "C223"
    [ "010" .@ optional  simple7106
    , "020" .@ optional  simple6411
    ]