aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Composites/C237.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C237.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Composites/C237.hs42
1 files changed, 42 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C237.hs b/specification/src/Text/Edifact/D96A/Composites/C237.hs
new file mode 100644
index 0000000..d8136b6
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Composites/C237.hs
@@ -0,0 +1,42 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C237
7 ( -- * Definition
8 compositeC237
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple3207
13 , simple8260
14 ) where
15
16import Text.Edifact.D96A.Simples (simple1131, simple3055, simple3207,
17 simple8260)
18
19import Text.Edifact.Parsing
20import Text.Edifact.Types (Value)
21
22-- | Derived from this specification:
23--
24-- > C237 EQUIPMENT IDENTIFICATION
25-- >
26-- > Desc: Marks (letters and/or numbers) identifying equipment used
27-- > for transport such as a container.
28-- >
29-- > 010 8260 Equipment identification number C an..17
30-- > 020 1131 Code list qualifier C an..3
31-- > 030 3055 Code list responsible agency, coded C an..3
32-- > 040 3207 Country, coded C an..3
33--
34-- Dependencies: 'simple1131', 'simple3055', 'simple3207', 'simple8260'.
35compositeC237 :: Parser Value
36compositeC237 =
37 composite "C237"
38 [ "010" .@ optional simple8260
39 , "020" .@ optional simple1131
40 , "030" .@ optional simple3055
41 , "040" .@ optional simple3207
42 ]