]> git.immae.eu Git - github/fretlink/edi-parser.git/blob - specification/src/Text/Edifact/D96A/Segments/GDS.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Segments / GDS.hs
1 {-# LANGUAGE OverloadedStrings #-}
2
3 ---- Machine generated code.
4 ---- Output of edi-parser-scaffolder
5
6 module Text.Edifact.D96A.Segments.GDS
7 ( -- * Definition
8 segmentGDS
9 -- * Dependencies
10 , compositeC703
11 ) where
12
13 import Text.Edifact.D96A.Composites (compositeC703)
14
15 import Text.Edifact.Parsing
16 import Text.Edifact.Types (Value)
17
18 -- | Derived from this specification:
19 --
20 -- > GDS NATURE OF CARGO
21 -- >
22 -- > Function: To indicate the type of cargo as a general
23 -- > classification.
24 -- >
25 -- > 010 C703 NATURE OF CARGO C
26 -- > 7085 Nature of cargo, coded M an..3
27 -- > 1131 Code list qualifier C an..3
28 -- > 3055 Code list responsible agency, coded C an..3
29 --
30 -- Dependencies: 'compositeC703'.
31 segmentGDS :: Parser Value
32 segmentGDS =
33 segment "GDS"
34 [ "010" .@ optional compositeC703
35 ]