1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D01B.Composites.C827
15 import Text.Edifact.D01B.Simples (simple1131, simple3055, simple7511)
17 import Text.Edifact.Parsing
18 import Text.Edifact.Types (Value)
20 -- | Derived from this specification:
22 -- > C827 TYPE OF MARKING
24 -- > Desc: Specification of the type of marking that reflects
25 -- > the method that was used and the conventions adhered
26 -- > to for marking (e.g. of packages).
28 -- > 010 7511 Marking type code M an..3
29 -- > 020 1131 Code list identification code C an..17
30 -- > 030 3055 Code list responsible agency code C an..3
32 -- Dependencies: 'simple1131', 'simple3055', 'simple7511'.
33 compositeC827 :: Parser Value
36 [ "010" .@ mandatory simple7511
37 , "020" .@ optional simple1131
38 , "030" .@ optional simple3055