aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D01B/Composites/C224.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D01B/Composites/C224.hs')
-rw-r--r--specification/src/Text/Edifact/D01B/Composites/C224.hs42
1 files changed, 42 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D01B/Composites/C224.hs b/specification/src/Text/Edifact/D01B/Composites/C224.hs
new file mode 100644
index 0000000..bbef1f5
--- /dev/null
+++ b/specification/src/Text/Edifact/D01B/Composites/C224.hs
@@ -0,0 +1,42 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C224
7 ( -- * Definition
8 compositeC224
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple8154
13 , simple8155
14 ) where
15
16import Text.Edifact.D01B.Simples (simple1131, simple3055, simple8154,
17 simple8155)
18
19import Text.Edifact.Parsing
20import 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
27-- > equipment. Code preferred.
28-- >
29-- > 010 8155 Equipment size and type description code C an..10
30-- > 020 1131 Code list identification code C an..17
31-- > 030 3055 Code list responsible agency code C an..3
32-- > 040 8154 Equipment size and type description C an..35
33--
34-- Dependencies: 'simple1131', 'simple3055', 'simple8154', 'simple8155'.
35compositeC224 :: Parser Value
36compositeC224 =
37 composite "C224"
38 [ "010" .@ optional simple8155
39 , "020" .@ optional simple1131
40 , "030" .@ optional simple3055
41 , "040" .@ optional simple8154
42 ]