aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Segments/DIM.hs
diff options
context:
space:
mode:
Diffstat (limited to 'specification/src/Text/Edifact/D96A/Segments/DIM.hs')
-rw-r--r--specification/src/Text/Edifact/D96A/Segments/DIM.hs40
1 files changed, 40 insertions, 0 deletions
diff --git a/specification/src/Text/Edifact/D96A/Segments/DIM.hs b/specification/src/Text/Edifact/D96A/Segments/DIM.hs
new file mode 100644
index 0000000..a42b6db
--- /dev/null
+++ b/specification/src/Text/Edifact/D96A/Segments/DIM.hs
@@ -0,0 +1,40 @@
1{-# LANGUAGE OverloadedStrings #-}
2
3---- Machine generated code.
4---- Output of edi-parser-scaffolder
5
6module Text.Edifact.D96A.Segments.DIM
7 ( -- * Definition
8 segmentDIM
9 -- * Dependencies
10 , compositeC211
11 , simple6145
12 ) where
13
14import Text.Edifact.D96A.Composites (compositeC211)
15import Text.Edifact.D96A.Simples (simple6145)
16
17import Text.Edifact.Parsing
18import Text.Edifact.Types (Value)
19
20-- | Derived from this specification:
21--
22-- > DIM DIMENSIONS
23-- >
24-- > Function: To specify dimensions.
25-- >
26-- > 010 6145 DIMENSION QUALIFIER M an..3
27-- >
28-- > 020 C211 DIMENSIONS M
29-- > 6411 Measure unit qualifier M an..3
30-- > 6168 Length dimension C n..15
31-- > 6140 Width dimension C n..15
32-- > 6008 Height dimension C n..15
33--
34-- Dependencies: 'compositeC211', 'simple6145'.
35segmentDIM :: Parser Value
36segmentDIM =
37 segment "DIM"
38 [ "010" .@ mandatory simple6145
39 , "020" .@ mandatory compositeC211
40 ]