1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C210
13 import Text.Edifact.D01B.Simples (simple7102)
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
18 -- | Derived from this specification:
20 -- > C210 MARKS & LABELS
22 -- > Desc: Shipping marks on packages in free text; one to ten
25 -- > 010 7102 Shipping marks description M an..35
26 -- > 020 7102 Shipping marks description C an..35
27 -- > 030 7102 Shipping marks description C an..35
28 -- > 040 7102 Shipping marks description C an..35
29 -- > 050 7102 Shipping marks description C an..35
30 -- > 060 7102 Shipping marks description C an..35
31 -- > 070 7102 Shipping marks description C an..35
32 -- > 080 7102 Shipping marks description C an..35
33 -- > 090 7102 Shipping marks description C an..35
34 -- > 100 7102 Shipping marks description C an..35
36 -- Dependencies: 'simple7102'.
37 compositeC210 :: Parser Value
40 [ "010" .@ mandatory simple7102
41 , "020" .@ optional simple7102
42 , "030" .@ optional simple7102
43 , "040" .@ optional simple7102
44 , "050" .@ optional simple7102
45 , "060" .@ optional simple7102
46 , "070" .@ optional simple7102
47 , "080" .@ optional simple7102
48 , "090" .@ optional simple7102
49 , "100" .@ optional simple7102