1 {-# LANGUAGE OverloadedStrings #-}
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
6 module Text.Edifact.D96A.Composites.C827
15 import Text.Edifact.D96A.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 the
25 -- > method that was used and the conventions adhered to for
26 -- > marking (e.g. of packages).
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
32 -- Dependencies: 'simple1131', 'simple3055', 'simple7511'.
33 compositeC827 :: Parser Value
36 [ "010" .@ mandatory simple7511
37 , "020" .@ optional simple1131
38 , "030" .@ optional simple3055