]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Composites/C827.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C827.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Composites.C827
7 ( -- * Definition
8 compositeC827
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple7511
13 ) where
14
15 import Text.Edifact.D01B.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
25 -- > the method that was used and the conventions adhered
26 -- > to for marking (e.g. of packages).
27 -- >
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
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 ]