diff options
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Composites/C827.hs')
-rw-r--r-- | specification/src/Text/Edifact/D96A/Composites/C827.hs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Composites/C827.hs b/specification/src/Text/Edifact/D96A/Composites/C827.hs new file mode 100644 index 0000000..87739c9 --- /dev/null +++ b/specification/src/Text/Edifact/D96A/Composites/C827.hs | |||
@@ -0,0 +1,39 @@ | |||
1 | {-# LANGUAGE OverloadedStrings #-} | ||
2 | |||
3 | ---- Machine generated code. | ||
4 | ---- Output of edi-parser-scaffolder | ||
5 | |||
6 | module Text.Edifact.D96A.Composites.C827 | ||
7 | ( -- * Definition | ||
8 | compositeC827 | ||
9 | -- * Dependencies | ||
10 | , simple1131 | ||
11 | , simple3055 | ||
12 | , simple7511 | ||
13 | ) where | ||
14 | |||
15 | import Text.Edifact.D96A.Simples (simple1131, simple3055, simple7511) | ||
16 | |||
17 | import Text.Edifact.Parsing | ||
18 | import Text.Edifact.Types (Value) | ||
19 | |||
20 | -- | Derived from this specification: | ||
21 | -- | ||
22 | -- > C827 TYPE OF MARKING | ||
23 | -- > | ||
24 | -- > Desc: Specification of the type of marking that reflects the | ||
25 | -- > method that was used and the conventions adhered to for | ||
26 | -- > marking (e.g. of packages). | ||
27 | -- > | ||
28 | -- > 010 7511 Type of marking, coded M an..3 | ||
29 | -- > 020 1131 Code list qualifier C an..3 | ||
30 | -- > 030 3055 Code list responsible agency, coded C an..3 | ||
31 | -- | ||
32 | -- Dependencies: 'simple1131', 'simple3055', 'simple7511'. | ||
33 | compositeC827 :: Parser Value | ||
34 | compositeC827 = | ||
35 | composite "C827" | ||
36 | [ "010" .@ mandatory simple7511 | ||
37 | , "020" .@ optional simple1131 | ||
38 | , "030" .@ optional simple3055 | ||
39 | ] | ||