]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D01B/Composites/C205.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D01B / Composites / C205.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D01B.Composites.C205
7 ( -- * Definition
8 compositeC205
9 -- * Dependencies
10 , simple8078
11 , simple8092
12 , simple8351
13 ) where
14
15import Text.Edifact.D01B.Simples (simple8078, simple8092, simple8351)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > C205 HAZARD CODE
23-- >
24-- > Desc: The identification of the dangerous goods in code.
25-- >
26-- > 010 8351 Hazard identification code M an..7
27-- > 020 8078 Additional hazard classification
28-- > identifier C an..7
29-- > 030 8092 Hazard code version identifier C an..10
30--
31-- Dependencies: 'simple8078', 'simple8092', 'simple8351'.
32compositeC205 :: Parser Value
33compositeC205 =
34 composite "C205"
35 [ "010" .@ mandatory simple8351
36 , "020" .@ optional simple8078
37 , "030" .@ optional simple8092
38 ]