aboutsummaryrefslogtreecommitdiffhomepage
path: root/specification/src/Text/Edifact/D96A/Simples/S6313.hs
blob: 5b54125a7d3245da01892d154a85b97cb883728a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
{-# LANGUAGE OverloadedStrings #-}

---- Machine generated code.
---- Output of edi-parser-scaffolder

module Text.Edifact.D96A.Simples.S6313
  ( simple6313
  ) where

import           Text.Edifact.Parsing
import           Text.Edifact.Types   (Value)

-- | Derived from this specification:
--
-- > * 6313  Measurement dimension, coded
-- >
-- >   Desc: Specification of the type of dimension to be measured.
-- >
-- >   Repr: an..3
-- >
-- >    A      Consolidated weight
-- >              Description to be provided.
-- >    AAA    Unit net weight
-- >              [6160] Weight (mass) of goods including any packing
-- >              normally going with them to a buyer in a retail sale.
-- >    AAB    Unit gross weight
-- >              [6292] Weight (mass) of goods including packing but
-- >              excluding the carrier's equipment.
-- >    AAC    Total net weight
-- >              Self explanatory.
-- >    AAD    Total gross weight
-- >              [6292] Weight (mass) of goods including packing but
-- >              excluding the carrier's equipment.
-- >    AAE    Item gross weight
-- >              Gross weight at line item level.
-- >    AAF    Net net weight
-- >              [6048] Weight (mass) of the goods themselves without any
-- >              packing.
-- > X  AAG    Gross weight (item level)
-- >              Self explanatory.
-- > X  AAH    Customs line item measurement
-- >              Description to be provided.
-- > X  AAI    Visa quantity
-- >              Measurement reportable for visaed merchandise.
-- >    AAL    Net weight
-- >              [6160] Weight (mass) of goods including any packing
-- >              normally going with them to a buyer in a retail sale.
-- >    AAM    Gross tonnage of the vessel
-- >              [6300] The measure of the overall size of a ship
-- >              determined in accordance with the provisions of the
-- >              International Convention on Tonnage Measurement of Ships,
-- >              1969.
-- >    AAN    Net tonnage of the vessel
-- >              [6302] The measure of the useful capacity of a ship
-- >              determined in accordance with the provisions of the
-- >              International Convention on Tonnage Measurement of Ships,
-- >              1969.
-- >    AAO    Humidity
-- >              Self-explanatory.
-- >    AAP    Voltage
-- >              Self-explanatory.
-- >    AAQ    Power consumption
-- >              Value of energy consumption.
-- >    AAR    Heat dissipation
-- >              Self-explanatory.
-- >    AAS    Air flow
-- >              Self-explanatory.
-- >    AAT    Shock impact
-- >              Self-explanatory.
-- >    AAU    Operative temperature
-- >              Temperature identified system or process works according
-- >              to specifications.
-- >    AAV    Non operative temperature
-- >              Temperature identified system or process does not work
-- >              according to specifications.
-- >    AAW    Gross volume
-- >              The observed volume unadjusted for factors such as
-- >              temperature or gravity.
-- >    AAX    Net volume
-- >              The observed volume after adjustment for factors such as
-- >              temperature or gravity.
-- >    AAY    Water content
-- >              Water content in product.
-- >    AAZ    Tensile stress
-- >              Self explanatory.
-- >    ABA    Fibrosity
-- >              Self explanatory.
-- >    ABB    Gauge length
-- >              Self explanatory.
-- >    ABC    Radius
-- >              Self explanatory.
-- >    ABD    Straightness
-- >              Straightness of the item.
-- >    ABE    Strain
-- >              Self explanatory.
-- > X  ABF    Test piece dimensions
-- >              The size of the test piece that was tested.
-- > X  ABG    Average reading
-- >              Average reading of the test being reported on.
-- > X  ABH    External dimension
-- >              The outer measurement of the referenced item or package.
-- > X  ABI    Internal dimension
-- >              The inner measurement of the referenced item or package.
-- >    ABJ    Volume
-- >              The amount of air space taken up by the entity
-- >              identified in the 6311 qualifier.
-- > X  ABK    Loading meter
-- >              A measurement dimension given in loading meters.
-- > X  ABL    Retail container dimension
-- >              Single physical dimension of a retail container.
-- > X  ABM    Retail container size
-- >              Size of a retail container in terms of volume.
-- > X  ABN    Other US Government agency application
-- >              Application of an other US government agency.
-- > X  ABO    Measurement
-- >              [6314]  Value of the measured unit.
-- > X  ABQ    Percentage of alcohol (by volume)
-- >              The percentage of alcohol contained in a liquid.
-- > X  ABR    Dimensions total weight
-- >              Total weight resulting from the dimensions.
-- >    ABS    Item weight
-- >              Weight at line item level.
-- > X  ABU    Licence (quantity deducted)
-- >              Quantity to be written off from the total license amount.
-- > X  ABV    Cargo loaded
-- >              Total tonnage of cargo loaded onto the conveyance.
-- > X  ABW    Cargo discharged
-- >              Total tonnage of cargo unloaded from the conveyance.
-- >    ABX    Weight of conveyance
-- >              Tonnage of conveyance.
-- >    ABY    Conveyance summer dead weight
-- >              Registered summer dead weight total tonnage of the
-- >              vessel.
-- >    ABZ    Containerized cargo on vessel's weight
-- >              Total weight of containerized cargo on vessel.
-- >    ACA    Non-containerized cargo on vessel's weight
-- >              Total weight of non-containerized cargo on vessel.
-- > X  ACB    1st specified tariff quantity
-- >              Primary reportable quantity associated with a tariff
-- >              number.
-- > X  ACC    2nd specified tariff quantity
-- >              Secondary reportable quantity associated with a tariff
-- >              number.
-- > X  ACD    3rd specified tariff quantity
-- >              Third reportable quantity associated with a tariff
-- >              number.
-- >    ACE    Weight ascertained
-- >              [4240]  Endorsement of the true weight (mass) as
-- >              ascertained or verified by the railway (CIM 81).
-- > X  ACF    Chemistry
-- >              Measurement related to a chemical measurement system.
-- >    ACG    Chargeable weight
-- >              The weight on which charges are based.
-- > X  ACH    Core notch dimensions
-- >              Dimensions of a core notch.
-- > X  ACI    Core size
-- >              A measurement indicating the core size of an object.
-- > X  ACJ    Decision result value
-- >              A measurement in relation to value representing a
-- >              decision result.
-- > X  ACK    Dimensional tolerance
-- >              Tolerance in relation to a dimension.
-- > X  ACL    Discrete measurement value
-- >              Value of a discrete measurement.
-- > X  ACM    Dimension used in price extension
-- >              Dimension used in relation to a price.
-- >    ACN    Estimated gross weight
-- >              Estimated weight (mass) of goods, including packing and
-- >              excluding carrier's.
-- > X  ACO    Environmental conditions
-- >              The data values to be reported reflect the environmental
-- >              conditions surrounding a situation including but not
-- >              limited to test environments.
-- >    ACP    Estimated volume
-- >              Estimated size or measure of anything in three
-- >              dimensions.
-- > X  ACQ    Footage
-- >              Length measurement in feet.
-- > X  ACR    Interpolated value
-- >              A value interpolated from a number of values.
-- >    ACS    Vessel overall length
-- >              Total overall length of the vessel.
-- > X  ACT    Limited coil measurement
-- >              Value limiting the measurement of a coil.
-- > X  ACU    Lift limitation
-- >              A measurement indicating the lift capacity limitation.
-- >    ACV    Loading meters
-- >              The length in a vehicle, whereby the complete width and
-- >              height over that length is needed for the goods.
-- >    ACW    Number of axles
-- >              Number of axles of movable equipment or means of
-- >              transport on wheels.
-- >    ACX    Payload
-- >              The revenue-producing load carried by a means of
-- >              transport.
-- > X  ACY    Parting cut (sawcut)
-- >              A measurement related to the cutting of items.
-- > X  ACZ    Physical dimensions
-- >              A measurement indicating the physical dimensions of an
-- >              object.
-- > X  ADA    Package limitations
-- >              A measurement indicating limitation associated with
-- >              packages.
-- > X  ADB    Platform limitation
-- >              A measurement indicating limitation in relation to a
-- >              platform.
-- > X  ADC    Receiving facility limitations
-- >              A measurement indicating limitations in relation to a
-- >              receiving facility.
-- > X  ADD    Property specification
-- >              Indicates that the data to follow are target
-- >              specifications.
-- > X  ADE    Shipping tolerance
-- >              A measurement indicating a tolerance in relation to the
-- >              transport.
-- > X  ADF    Shade
-- >              A measurement in relation to the shade.
-- > X  ADG    Storage limitation
-- >              A measurement indicating limitation in relation to
-- >              storage.
-- > X  ADH    Surface roughness
-- >              A measurement indicating surface roughness.
-- > X  ADI    Surface treatment
-- >              A measurement in relation to surface treatment.
-- > X  ADJ    Surface
-- >              A measurement in relation a surface.
-- > X  ADK    Specification value
-- >              A measurable item characteristic specified by the buyer,
-- >              seller or third party.
-- > X  ADL    Transportation equipment limitations
-- >              A measurement indicating limitations in relation to
-- >              transport equipment.
-- > X  ADM    Test result
-- >              Indicates that the data to follow is the test result
-- >              measurements.
-- > X  ADN    Time used in price extension
-- >              Time value in relation to a price.
-- > X  ADO    Observed value
-- >              The reported test result which includes measurement
-- >              variability.
-- > X  ADP    True value
-- >              The reported test result with the measurement
-- >              variability removed.
-- > X  ADQ    Weight used in price extension
-- >              A weight measurement in relation to a price.
-- >    ADR    Start position in the length
-- >              The starting position from the beginning of an item
-- >              located in the length direction.
-- >    ADS    End position in the length
-- >              The end position from the beginning of an item located in
-- >              the length direction.
-- >    ADT    Start position in the width
-- >              The start position from the beginning of an item located
-- >              in the width direction.
-- >    ADU    End position in the width
-- >              The end position from the beginning of an item located in
-- >              the width direction.
-- >    ADV    Start position in the thickness
-- >              The start position from the beginning of an item located
-- >              in the thickness direction.
-- >    ADW    End position in the thickness
-- >              The end position from the beginning of an item located in
-- >              the thickness direction.
-- > +  ADX    Transport container actual filling weight
-- >              Actual filling weight of a transport container.
-- > +  ADY    Transport container maximum capacity
-- >              Maximum capacity of a transport container.
-- > +  ADZ    Declared net weight
-- >              The declared net weight of a product or products used for
-- >              invoicing, customs or transport purposes.
-- > +  AEA    Loading height
-- >              Maximum height of products or packages loaded onto a
-- >              given transportation device or equipment such as a
-- >              pallet.
-- > +  AEB    Stacking height
-- >              Maximum height up to which the same product or package
-- >              may be placed one upon the other for storage purposes.
-- > +  AEC    Calculated weight
-- >              The calculated weight of the item based on the ordered
-- >              dimensions.
-- > +  AED    Ferrite
-- >              The chemical composition ferrite.
-- > +  AEE    Impurity
-- >              The impurity of the product i.e. the measurement of other
-- >              chemical elements not normally appearing in a product.
-- > +  AEF    Grain size
-- >              The grain size.
-- > +  AEG    Lanthanides
-- >              The chemical element Lanthanides.
-- > +  AEH    Elasticity
-- >              The value of the elasticity.
-- >    AF     Angle of bend
-- >              Self explanatory.
-- >    B      Billed weight
-- >              Self explanatory.
-- >    BL     Breaking load
-- >              Description to be provided.
-- >    BND    Bands
-- >              Description to be provided.
-- >    BR     Brightness
-- >              Self explanatory.
-- >    BRA    Brakes
-- >              Description to be provided.
-- >    BRE    Break
-- >              Description to be provided.
-- >    BS     Breaking strength
-- >              Self explanatory.
-- >    BSW    Breaking strength wet
-- >              Self explanatory.
-- >    BW     Basis weight
-- >              Description to be provided.
-- >    CHN    Change
-- >              Description to be provided.
-- >    CM     Color
-- >              Self explanatory.
-- >    CT     Contents of package
-- >              In combination with the other data elements of the actual
-- >              segment this code indicates the measured content of a
-- >              package.
-- >    CV     Commercial weight
-- >              Item weight considering its maximum possible humidity.
-- >    CZ     Core length
-- >              To specify length of core (of spod/babbin etc.) on which
-- >              product is to be placed.
-- >    D      Destination weight agreement
-- >              The agreed weight of despatched goods whose weight may
-- >              change during transport.
-- >    DI     Diameter
-- >              Diameter of an article.
-- >    DL     Delta value L
-- >              Description to be provided.
-- >    DN     Density
-- >              Self explanatory.
-- >    DP     Depth
-- >              Self explanatory.
-- >    DR     Denier
-- >              Description to be provided.
-- >    DS     Distance between points
-- >              Self explanatory.
-- >    DW     Width, boxcar door
-- >              Self explanatory.
-- >    E      Estimated new weight
-- >              Self explanatory.
-- >    EA     Elongation
-- >              Self explanatory.
-- >    F      Deficit weight
-- >              Description to be provided.
-- >    FI     Filament count
-- >              Used e.g. in textile, print industries.
-- >    FL     Longitudinal flatness
-- >              Self explanatory.
-- >    FN     Flatness
-- >              Self explanatory.
-- >    FV     Transverse flatness
-- >              Self explanatory.
-- >    G      Gross weight
-- >              [6292] Weight (mass) of goods including packing but
-- >              excluding the carrier's equipment.
-- >    GG     Gauge
-- >              Self explanatory.
-- >    GW     Gross weight, maximum
-- >              Self explanatory.
-- >    HF     Hardness
-- >              Self explanatory.
-- >    HM     Height, maximum
-- >              Self explanatory.
-- >    HT     Height dimension
-- >              Numeric value of height.
-- >    IB     Impact energy
-- >              Self explanatory.
-- >    ID     Inside diameter
-- >              Self explanatory.
-- >    L      Legal weight
-- >              Self explanatory.
-- >    LM     Length, maximum
-- >              Self explanatory.
-- >    LN     Length dimension
-- >              (6168) Length of pieces or packages stated for transport
-- >              purposes.
-- >    LND    Lost end
-- >              Description to be provided.
-- >    M      Minimum weight
-- >              Self explanatory.
-- >    MO     Moisture
-- >              Measurement application is the moisture content of the
-- >              item.
-- >    MW     Maximum weight
-- >              Self explanatory.
-- >    N      Actual net weight
-- >              Self explanatory.
-- >    OD     Outside diameter
-- >              Self explanatory.
-- > |  PRS    Pre stretch
-- >              Measurement identifying the amount an item has been
-- >              streched prior to use.
-- >    PTN    Per tonne
-- >              Self explanatory.
-- >    RA     Relative humidity
-- >              Self explanatory.
-- >    RF     Resistivity
-- >              Description to be provided.
-- >    RJ     Rockwell C
-- >              Hardness in the Rockwell C scale.
-- >    RMW    Ream weight
-- >              Measurement indication for paper.
-- >    RP     Reduction of area
-- >              Self explanatory.
-- >    RUN    Run (process)
-- >              Description to be provided.
-- >    RY     Ratio
-- >              Self explanatory.
-- >    SQ     Shipped quantity
-- >              Self explanatory.
-- >    T      Tare weight
-- >              Self explanatory.
-- >    TC     Temperature
-- >              A measurement in relation to temperature.
-- >    TH     Thickness
-- >              Self explanatory.
-- > |  TN     Time period
-- >              Self explanatory.
-- > |  TT     Time
-- >              Self explanatory.
-- >    U      Weight per unit
-- >              [6150] Numeric value of weight.
-- >    VH     Height, van door
-- >              Self explanatory.
-- >    VW     Width, van door
-- >              Self explanatory.
-- >    WA     Weight per unit of area
-- >              Self explanatory.
-- >    WD     Width dimension
-- >              Numeric value of width.
-- >    WM     Width, maximum
-- >              Self explanatory.
-- >    WT     Weight
-- >              [6150] Numeric value of weight.
-- >    WU     Weight per unit of length
-- >              Self explanatory.
-- >    XH     Side height, flat bed with removable sides
-- >              Self explanatory.
-- >    XQ     Squareness
-- >              Self explanatory.
-- >    XZ     Spool size
-- >              Self explanatory.
-- >    YS     Yield stress
-- >              Self explanatory.
-- >    ZAL    Aluminium
-- >              Self explanatory.
-- >    ZAS    Arsenic
-- >              Self explanatory.
-- >    ZB     Boron
-- >              Self explanatory.
-- >    ZBI    Bismuth
-- >              Self explanatory.
-- >    ZC     Carbon
-- >              Self explanatory.
-- >    ZCA    Calcium
-- >              Self explanatory.
-- >    ZCB    Columbium
-- >              Self explanatory.
-- >    ZCE    Cerium
-- >              Self explanatory.
-- >    ZCL    Chlorine
-- >              Self explanatory.
-- >    ZCO    Cobalt
-- >              Self explanatory.
-- >    ZCR    Chromium
-- >              Self explanatory.
-- >    ZCU    Copper
-- >              Self explanatory.
-- >    ZFE    Iron
-- >              Self explanatory.
-- >    ZFS    Iron plus silicon
-- >              Self explanatory.
-- >    ZGE    Germanium
-- >              Self explanatory.
-- >    ZH     Hydrogen
-- >              Self explanatory.
-- >    ZK     Potassium
-- >              Self explanatory.
-- >    ZMG    Magnesium
-- >              Self explanatory.
-- >    ZMN    Manganese
-- >              Self explanatory.
-- >    ZMO    Molybdenum
-- >              Self explanatory.
-- >    ZN     Nitrogen
-- >              Self explanatory.
-- >    ZNA    Sodium
-- >              Self explanatory.
-- >    ZNB    Niobium
-- >              Self-explanatory.
-- >    ZNI    Nickel
-- >              Self explanatory.
-- >    ZO     Oxygen
-- >              Self explanatory.
-- >    ZP     Phosphorus
-- >              Self explanatory.
-- >    ZPB    Lead
-- >              Self explanatory.
-- >    ZS     Sulphur
-- >              Self explanatory.
-- >    ZSB    Antimony
-- >              Self explanatory.
-- >    ZSE    Selenium
-- >              Self explanatory.
-- >    ZSI    Silicon
-- >              Self explanatory.
-- >    ZSL    Silicium oxyd
-- >              Self explanatory.
-- >    ZSN    Tin
-- >              Self explanatory.
-- >    ZTA    Tantalium
-- >              Self explanatory.
-- >    ZTE    Tellurium
-- >              Self explanatory.
-- >    ZTI    Titanium
-- >              Self explanatory.
-- >    ZV     Vanadium
-- >              Self explanatory.
-- >    ZW     Tungsten
-- >              Self explanatory.
-- >    ZWA    Waste content
-- >              Self explanatory.
-- >    ZZN    Zinc
-- >              Self explanatory.
-- >    ZZR    Zirconium
-- >              Self explanatory.
-- >    ZZZ    Mutually defined
-- >              Self explanatory.
simple6313 :: Parser Value
simple6313 = simple "6313" (alphaNumeric `upTo` 3)