]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C211.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C211.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C211
7 ( -- * Definition
8 compositeC211
9 -- * Dependencies
10 , simple6008
11 , simple6140
12 , simple6168
13 , simple6411
14 ) where
15
16 import Text.Edifact.D96A.Simples (simple6008, simple6140, simple6168,
17 simple6411)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > C211 DIMENSIONS
25 -- >
26 -- > Desc: Specification of the dimensions of a transportable unit.
27 -- >
28 -- > 010 6411 Measure unit qualifier M an..3
29 -- > 020 6168 Length dimension C n..15
30 -- > 030 6140 Width dimension C n..15
31 -- > 040 6008 Height dimension C n..15
32 --
33 -- Dependencies: 'simple6008', 'simple6140', 'simple6168', 'simple6411'.
34 compositeC211 :: Parser Value
35 compositeC211 =
36 composite "C211"
37 [ "010" .@ mandatory simple6411
38 , "020" .@ optional simple6168
39 , "030" .@ optional simple6140
40 , "040" .@ optional simple6008
41 ]