]> git.immae.eu Git - github/fretlink/edi-parser.git/blame - specification/src/Text/Edifact/D96A/Composites/C222.hs
Release code as open source
[github/fretlink/edi-parser.git] / specification / src / Text / Edifact / D96A / Composites / C222.hs
CommitLineData
a9d77a20
FM
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Composites.C222
7 ( -- * Definition
8 compositeC222
9 -- * Dependencies
10 , simple1131
11 , simple3055
12 , simple8212
13 , simple8213
14 , simple8453
15 ) where
16
17import Text.Edifact.D96A.Simples (simple1131, simple3055, simple8212,
18 simple8213, simple8453)
19
20import Text.Edifact.Parsing
21import Text.Edifact.Types (Value)
22
23-- | Derived from this specification:
24--
25-- > C222 TRANSPORT IDENTIFICATION
26-- >
27-- > Desc: Code and/or name identifying the means of transport.
28-- >
29-- > 010 8213 Id. of means of transport identification C an..9
30-- > 020 1131 Code list qualifier C an..3
31-- > 030 3055 Code list responsible agency, coded C an..3
32-- > 040 8212 Id. of the means of transport C an..35
33-- > 050 8453 Nationality of means of transport, coded C an..3
34--
35-- Dependencies: 'simple1131', 'simple3055', 'simple8212', 'simple8213', 'simple8453'.
36compositeC222 :: Parser Value
37compositeC222 =
38 composite "C222"
39 [ "010" .@ optional simple8213
40 , "020" .@ optional simple1131
41 , "030" .@ optional simple3055
42 , "040" .@ optional simple8212
43 , "050" .@ optional simple8453
44 ]