]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Composites/C224.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C224.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Composites.C224
7 ( -- * Definition
8 compositeC224
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple8154
13 , simple8155
14 ) where
15
16 import Text.Edifact.D96A.Simples (simple1131, simple3055, simple8154,
17 simple8155)
18
19 import Text.Edifact.Parsing
20 import Text.Edifact.Types (Value)
21
22 -- | Derived from this specification:
23 --
24 -- > C224 EQUIPMENT SIZE AND TYPE
25 -- >
26 -- > Desc: Code and/or name identifying size and type of equipment
27 -- > used in transport. Code preferred.
28 -- >
29 -- > 010 8155 Equipment size and type identification C an..10
30 -- > 020 1131 Code list qualifier C an..3
31 -- > 030 3055 Code list responsible agency, coded C an..3
32 -- > 040 8154 Equipment size and type C an..35
33 --
34 -- Dependencies: 'simple1131', 'simple3055', 'simple8154', 'simple8155'.
35 compositeC224 :: Parser Value
36 compositeC224 =
37 composite "C224"
38 [ "010" .@ optional simple8155
39 , "020" .@ optional simple1131
40 , "030" .@ optional simple3055
41 , "040" .@ optional simple8154
42 ]