// baseret på http://en.wikipedia.org/wiki/GS1-128

var gs1_128_table = {};
gs1_128_table['00'] = {'description':'Serial Shipping Container Code (SSCC)', 'length':'18'};
gs1_128_table['01'] = {'description':'Global Trade Item Number (GTIN)', 'length':'14'};
gs1_128_table['02'] = {'description':'GTIN of Contained Trade Items', 'length':'14'};
gs1_128_table['10'] = {'description':'Batch/Lot Number', 'length':'1-20'};
gs1_128_table['11'] = {'description':'Production Date', 'length':'6'};
gs1_128_table['12'] = {'description':'Due Date', 'length':'6'};
gs1_128_table['13'] = {'description':'Packaging Date', 'length':'6'};
gs1_128_table['15'] = {'description':'Sell by Date (Quality Control)', 'length':'6'};
gs1_128_table['17'] = {'description':'Expiration Date', 'length':'6'};
gs1_128_table['20'] = {'description':'Product Variant', 'length':'2'};
gs1_128_table['21'] = {'description':'Serial Number', 'length':'1-20'};
gs1_128_table['22'] = {'description':'Secondary Data Fields', 'length':'1-29'};
gs1_128_table['23n'] = {'description':'Lot number n', 'length':'1-19'};
gs1_128_table['240'] = {'description':'Additional Product Identification', 'length':'1-30'};
gs1_128_table['241'] = {'description':'Customer Part Number', 'length':'1-30'};
gs1_128_table['242'] = {'description':'Made-to-Order Variation Number', 'length':'1-6'};
gs1_128_table['250'] = {'description':'Secondary Serial Number', 'length':'1-30'};
gs1_128_table['251'] = {'description':'Reference to Source Entity', 'length':'1-30'};
gs1_128_table['253'] = {'description':'Global Document Type Identifier', 'length':'13F17'};
gs1_128_table['254'] = {'description':'GLN Extension Component', 'length':'1-20'};
gs1_128_table['30'] = {'description':'Count of items', 'length':'1-8'};
gs1_128_table['310y'] = {'description':'Product Net Weight in kg', 'length':'6'};
gs1_128_table['311y'] = {'description':'Product Length/1st Dimension, in meters', 'length':'6'};
gs1_128_table['312y'] = {'description':'Product Width/Diameter/2nd Dimension, in meters', 'length':'6'};
gs1_128_table['313y'] = {'description':'Product Depth/Thickness/Height/3rd Dimension, in meters', 'length':'6'};
gs1_128_table['314y'] = {'description':'Product Area, in square meters', 'length':'6'};
gs1_128_table['315y'] = {'description':'Product Net Volume, in liters', 'length':'6'};
gs1_128_table['316y'] = {'description':'Product Net Volume, in cubic meters', 'length':'6'};
gs1_128_table['320y'] = {'description':'Product Net Weight, in pounds', 'length':'6'};
gs1_128_table['321y'] = {'description':'Product Length/1st Dimension, in inches', 'length':'6'};
gs1_128_table['322y'] = {'description':'Product Length/1st Dimension, in feet', 'length':'6'};
gs1_128_table['323y'] = {'description':'Product Length/1st Dimension, in yards', 'length':'6'};
gs1_128_table['324y'] = {'description':'Product Width/Diameter/2nd Dimension, in inches', 'length':'6'};
gs1_128_table['325y'] = {'description':'Product Width/Diameter/2nd Dimension, in feet', 'length':'6'};
gs1_128_table['326y'] = {'description':'Product Width/Diameter/2nd Dimension, in yards', 'length':'6'};
gs1_128_table['327y'] = {'description':'Product Depth/Thickness/Height/3rd Dimension, in inches', 'length':'6'};
gs1_128_table['328y'] = {'description':'Product Depth/Thickness/Height/3rd Dimension, in feet', 'length':'6'};
gs1_128_table['329y'] = {'description':'Product Depth/Thickness/3rd Dimension, in yards', 'length':'6'};
gs1_128_table['330y'] = {'description':'Container Gross Weight (kg)', 'length':'6'};
gs1_128_table['331y'] = {'description':'Container Length/1st Dimension (Meters)', 'length':'6'};
gs1_128_table['332y'] = {'description':'Container Width/Diameter/2nd Dimension (Meters)', 'length':'6'};
gs1_128_table['333y'] = {'description':'Container Depth/Thickness/3rd Dimension (Meters)', 'length':'6'};
gs1_128_table['334y'] = {'description':'Container Area (Square Meters)', 'length':'6'};
gs1_128_table['335y'] = {'description':'Container Gross Volume (Liters)', 'length':'6'};
gs1_128_table['336y'] = {'description':'Container Gross Volume (Cubic Meters)', 'length':'6'};
gs1_128_table['340y'] = {'description':'Container Gross Weight (Pounds)', 'length':'6'};
gs1_128_table['341y'] = {'description':'Container Length/1st Dimension, in inches', 'length':'6'};
gs1_128_table['342y'] = {'description':'Container Length/1st Dimension, in feet', 'length':'6'};
gs1_128_table['343y'] = {'description':'Container Length/1st Dimension in, in yards', 'length':'6'};
gs1_128_table['344y'] = {'description':'Container Width/Diameter/2nd Dimension, in inches', 'length':'6'};
gs1_128_table['345y'] = {'description':'Container Width/Diameter/2nd Dimension, in feet', 'length':'6'};
gs1_128_table['346y'] = {'description':'Container Width/Diameter/2nd Dimension, in yards', 'length':'6'};
gs1_128_table['347y'] = {'description':'Container Depth/Thickness/Height/3rd Dimension, in inches', 'length':'6'};
gs1_128_table['348y'] = {'description':'Container Depth/Thickness/Height/3rd Dimension, in feet', 'length':'6'};
gs1_128_table['349y'] = {'description':'Container Depth/Thickness/Height/3rd Dimension, in yards', 'length':'6'};
gs1_128_table['350y'] = {'description':'Product Area (Square Inches)', 'length':'6'};
gs1_128_table['351y'] = {'description':'Product Area (Square Feet)', 'length':'6'};
gs1_128_table['352y'] = {'description':'Product Area (Square Yards)', 'length':'6'};
gs1_128_table['353y'] = {'description':'Container Area (Square Inches)', 'length':'6'};
gs1_128_table['354y'] = {'description':'Container Area (Square Feet)', 'length':'6'};
gs1_128_table['355y'] = {'description':'Container Area (Square Yards)', 'length':'6'};
gs1_128_table['356y'] = {'description':'Net Weight (Troy Ounces)', 'length':'6'};
gs1_128_table['357y'] = {'description':'Net Weight/Volume (Ounces)', 'length':'6'};
gs1_128_table['360y'] = {'description':'Product Volume (Quarts)', 'length':'6'};
gs1_128_table['361y'] = {'description':'Product Volume (Gallons)', 'length':'6'};
gs1_128_table['362y'] = {'description':'Container Gross Volume (Quarts)', 'length':'6'};
gs1_128_table['363y'] = {'description':'Container Gross Volume (U.S. Gallons)', 'length':'6'};
gs1_128_table['364y'] = {'description':'Product Volume (Cubic Inches)', 'length':'6'};
gs1_128_table['365y'] = {'description':'Product Volume (Cubic Feet)', 'length':'6'};
gs1_128_table['366y'] = {'description':'Product Volume (Cubic Yards)', 'length':'6'};
gs1_128_table['367y'] = {'description':'Container Gross Volume (Cubic Inches)', 'length':'6'};
gs1_128_table['368y'] = {'description':'Container Gross Volume (Cubic Feet)', 'length':'6'};
gs1_128_table['369y'] = {'description':'Container Gross Volume (Cubic Yards)', 'length':'6'};
gs1_128_table['37'] = {'description':'Number of Units Contained', 'length':'1-8'};
gs1_128_table['390y'] = {'description':'Amount payable (local currency)', 'length':'1-15'};
gs1_128_table['391y'] = {'description':'Amount payable (with ISO currency code)', 'length':'3–18'};
gs1_128_table['392y'] = {'description':'Amount payable per single item (local currency)', 'length':'1-15'};
gs1_128_table['393y'] = {'description':'Amount payable per single item (with ISO currency code)', 'length':'3–18'};
gs1_128_table['400'] = {'description':'Customer Purchase Order Number', 'length':'1-30'};
gs1_128_table['401'] = {'description':'Consignment Number', 'length':'1-30'};
gs1_128_table['402'] = {'description':'Bill of Lading number', 'length':'17'};
gs1_128_table['403'] = {'description':'Routing code', 'length':'1-30'};
gs1_128_table['410'] = {'description':'Ship To/Deliver To Location Code (Global Location Number)', 'length':'13'};
gs1_128_table['411'] = {'description':'Bill To/Invoice Location Code (Global Location Number)', 'length':'13'};
gs1_128_table['412'] = {'description':'Purchase From Location Code (Global Location Number)', 'length':'13'};
gs1_128_table['413'] = {'description':'Ship for, Deliver for, or Forward to Location Code (Global Location Number)', 'length':'13'};
gs1_128_table['414'] = {'description':'Identification of a physical location (Global Location Number)', 'length':'13'};
gs1_128_table['420'] = {'description':'Ship To/Deliver To Postal Code (Single Postal Authority)', 'length':'1-20'};
gs1_128_table['421'] = {'description':'Ship To/Deliver To Postal Code (with ISO country code)', 'length':'3–15'};
gs1_128_table['422'] = {'description':'Country of Origin (ISO country code)', 'length':'3'};
gs1_128_table['423'] = {'description':'Country or countries of initial processing', 'length':'3–15'};
gs1_128_table['424'] = {'description':'Country of processing', 'length':'3'};
gs1_128_table['425'] = {'description':'Country of disassembly', 'length':'3'};
gs1_128_table['426'] = {'description':'Country of full process chain', 'length':'3'};
gs1_128_table['7001'] = {'description':'NATO Stock Number (NSN)', 'length':'13'};
gs1_128_table['7002'] = {'description':'UN/ECE Meat Carcasses and cuts classification', 'length':'1-30'};
gs1_128_table['7003'] = {'description':'expiration date and time', 'length':'10'};
gs1_128_table['7004'] = {'description':'Active Potency', 'length':'1-4'};
gs1_128_table['703n'] = {'description':'Processor approval (with ISO country code); n indicates sequence number of several processors', 'length':'3–30'};
gs1_128_table['8001'] = {'description':'Roll Products: Width/Length/Core Diameter/Direction/Splices', 'length':'14'};
gs1_128_table['8002'] = {'description':'Mobile phone identifier', 'length':'1-20'};
gs1_128_table['8003'] = {'description':'Global Returnable Asset Identifier', 'length':'14–30'};
gs1_128_table['8004'] = {'description':'Global Individual Asset Identifier', 'length':'1-30'};
gs1_128_table['8005'] = {'description':'Price per Unit of Measure', 'length':'6'};
gs1_128_table['8006'] = {'description':'identification of the components of an item', 'length':'18'};
gs1_128_table['8007'] = {'description':'International Bank Account Number', 'length':'1-30'};
gs1_128_table['8008'] = {'description':'Date/time of production', 'length':'8–12'};
gs1_128_table['8018'] = {'description':'Global Service Relation Number', 'length':'18'};
gs1_128_table['8020'] = {'description':'Payment slip reference number', 'length':'1-25'};
gs1_128_table['8100'] = {'description':'Coupon Extended Code: Number System and Offer', 'length':'6'};
gs1_128_table['8101'] = {'description':'Coupon Extended Code: Number System, Offer, End of Offer', 'length':'10'};
gs1_128_table['8102'] = {'description':'Coupon Extended Code: Number System preceded by 0', 'length':'2'};
gs1_128_table['8110'] = {'description':'Coupon code ID (North America)', 'length':'1-30'};
gs1_128_table['90'] = {'description':'Mutually Agreed Between Trading Partners', 'length':'1-30'};
gs1_128_table['91'] = {'description':'Internal Company Codes', 'length':'1-30'};
gs1_128_table['92'] = { 'description': 'Internal Company Codes', 'length': '1-30' };
gs1_128_table['93'] = { 'description': 'Internal Company Codes', 'length': '1-30' };
gs1_128_table['94'] = { 'description': 'Internal Company Codes', 'length': '1-30' };
gs1_128_table['95'] = { 'description': 'Internal Company Codes', 'length': '1-30' };
gs1_128_table['96'] = { 'description': 'Internal Company Codes', 'length': '1-30' };
gs1_128_table['97'] = { 'description': 'Internal Company Codes', 'length': '1-30' };
gs1_128_table['98'] = { 'description': 'Internal Company Codes', 'length': '1-30' };
gs1_128_table['99'] = { 'description': 'Internal Company Codes', 'length': '1-30' };

