]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D01B/Composites/C503.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C503.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D01B.Composites.C503
7 ( -- * Definition
8 compositeC503
9 -- * Dependencies
10 , simple1004
11 , simple1056
12 , simple1060
13 , simple1366
14 , simple1373
15 , simple3453
16 ) where
17
18 import Text.Edifact.D01B.Simples (simple1004, simple1056, simple1060,
19 simple1366, simple1373, simple3453)
20
21 import Text.Edifact.Parsing
22 import Text.Edifact.Types (Value)
23
24 -- | Derived from this specification:
25 --
26 -- > C503 DOCUMENT/MESSAGE DETAILS
27 -- >
28 -- > Desc: Identification of document/message by number,
29 -- > status, source and/or language.
30 -- >
31 -- > 010 1004 Document identifier C an..35
32 -- > 020 1373 Document status code C an..3
33 -- > 030 1366 Document source description C an..70
34 -- > 040 3453 Language name code C an..3
35 -- > 050 1056 Version identifier C an..9
36 -- > 060 1060 Revision identifier C an..6
37 --
38 -- Dependencies: 'simple1004', 'simple1056', 'simple1060', 'simple1366', 'simple1373', 'simple3453'.
39 compositeC503 :: Parser Value
40 compositeC503 =
41 composite "C503"
42 [ "010" .@ optional simple1004
43 , "020" .@ optional simple1373
44 , "030" .@ optional simple1366
45 , "040" .@ optional simple3453
46 , "050" .@ optional simple1056
47 , "060" .@ optional simple1060
48 ]