All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemes.GDTI-113.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<tdt:epcTagDataTranslation version="1.6" date="2011-01-20T12:21:00Z" epcTDSVersion="1.6" xmlns:tdt="urn:epcglobal:tdt:xsd:1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:epcglobal:tdt:xsd:1 EpcTagDataTranslation.xsd">
	<scheme name="GDTI-113" optionKey="gs1companyprefixlength" tagLength="113">
		<level type="BINARY" prefixMatch="00111010" requiredFormattingParameters="filter,taglength">
			<option optionKey="12" pattern="00111010([01]{3})000([01]{40})(0)([01]{58})" grammar="'00111010' filter '000' gs1companyprefix doctype serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[01]*" bitPadDir="LEFT" bitLength="3" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="40" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="0" characterSet="[01]*" bitPadDir="LEFT" bitLength="1" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="58" name="serial"/>
			</option>
			<option optionKey="11" pattern="00111010([01]{3})001([01]{37})([01]{4})([01]{58})" grammar="'00111010' filter '001' gs1companyprefix doctype serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[01]*" bitPadDir="LEFT" bitLength="3" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="37" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="9" characterSet="[01]*" bitPadDir="LEFT" bitLength="4" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="58" name="serial"/>
			</option>
			<option optionKey="10" pattern="00111010([01]{3})010([01]{34})([01]{7})([01]{58})" grammar="'00111010' filter '010' gs1companyprefix doctype serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[01]*" bitPadDir="LEFT" bitLength="3" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="34" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99" characterSet="[01]*" bitPadDir="LEFT" bitLength="7" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="58" name="serial"/>
			</option>
			<option optionKey="9" pattern="00111010([01]{3})011([01]{30})([01]{11})([01]{58})" grammar="'00111010' filter '011' gs1companyprefix doctype serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[01]*" bitPadDir="LEFT" bitLength="3" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="30" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="999" characterSet="[01]*" bitPadDir="LEFT" bitLength="11" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="58" name="serial"/>
			</option>
			<option optionKey="8" pattern="00111010([01]{3})100([01]{27})([01]{14})([01]{58})" grammar="'00111010' filter '100' gs1companyprefix doctype serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[01]*" bitPadDir="LEFT" bitLength="3" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="27" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="9999" characterSet="[01]*" bitPadDir="LEFT" bitLength="14" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="58" name="serial"/>
			</option>
			<option optionKey="7" pattern="00111010([01]{3})101([01]{24})([01]{17})([01]{58})" grammar="'00111010' filter '101' gs1companyprefix doctype serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[01]*" bitPadDir="LEFT" bitLength="3" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="24" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999" characterSet="[01]*" bitPadDir="LEFT" bitLength="17" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="58" name="serial"/>
			</option>
			<option optionKey="6" pattern="00111010([01]{3})110([01]{20})([01]{21})([01]{58})" grammar="'00111010' filter '110' gs1companyprefix doctype serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[01]*" bitPadDir="LEFT" bitLength="3" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="20" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="21" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[01]*" bitPadDir="LEFT" bitLength="58" name="serial"/>
			</option>
			<rule type="EXTRACT" inputFormat="STRING" seq="1" newFieldName="serial" characterSet="[0-9]*" function="SUBSTR(serial,1)"/>
			<rule type="FORMAT" inputFormat="STRING" seq="1" newFieldName="serial" characterSet="[0-9]*" function="CONCAT(1,serial)"/>
		</level>
		<level type="TAG_ENCODING" prefixMatch="urn:epc:tag:gdti-113" requiredFormattingParameters="filter,taglength">
			<option optionKey="12" pattern="urn:epc:tag:gdti-113:([0-7]{1})\.([0-9]{12})\.([0-9]{0})\.([0-9]{1,17})" grammar="'urn:epc:tag:gdti-113:' filter '.' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[0-7]*" length="1" padChar="0" padDir="LEFT" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999999999" characterSet="[0-9]*" length="12" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="0" characterSet="[0-9]*" length="0" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="11" pattern="urn:epc:tag:gdti-113:([0-7]{1})\.([0-9]{11})\.([0-9]{1})\.([0-9]{1,17})" grammar="'urn:epc:tag:gdti-113:' filter '.' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[0-7]*" length="1" padChar="0" padDir="LEFT" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999" characterSet="[0-9]*" length="11" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="9" characterSet="[0-9]*" length="1" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="10" pattern="urn:epc:tag:gdti-113:([0-7]{1})\.([0-9]{10})\.([0-9]{2})\.([0-9]{1,17})" grammar="'urn:epc:tag:gdti-113:' filter '.' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[0-7]*" length="1" padChar="0" padDir="LEFT" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9999999999" characterSet="[0-9]*" length="10" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99" characterSet="[0-9]*" length="2" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="9" pattern="urn:epc:tag:gdti-113:([0-7]{1})\.([0-9]{9})\.([0-9]{3})\.([0-9]{1,17})" grammar="'urn:epc:tag:gdti-113:' filter '.' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[0-7]*" length="1" padChar="0" padDir="LEFT" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999999" characterSet="[0-9]*" length="9" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="999" characterSet="[0-9]*" length="3" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="8" pattern="urn:epc:tag:gdti-113:([0-7]{1})\.([0-9]{8})\.([0-9]{4})\.([0-9]{1,17})" grammar="'urn:epc:tag:gdti-113:' filter '.' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[0-7]*" length="1" padChar="0" padDir="LEFT" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999" characterSet="[0-9]*" length="8" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="9999" characterSet="[0-9]*" length="4" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="7" pattern="urn:epc:tag:gdti-113:([0-7]{1})\.([0-9]{7})\.([0-9]{5})\.([0-9]{1,17})" grammar="'urn:epc:tag:gdti-113:' filter '.' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[0-7]*" length="1" padChar="0" padDir="LEFT" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9999999" characterSet="[0-9]*" length="7" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999" characterSet="[0-9]*" length="5" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="6" pattern="urn:epc:tag:gdti-113:([0-7]{1})\.([0-9]{6})\.([0-9]{6})\.([0-9]{1,17})" grammar="'urn:epc:tag:gdti-113:' filter '.' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="7" characterSet="[0-7]*" length="1" padChar="0" padDir="LEFT" name="filter"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999" characterSet="[0-9]*" length="6" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="999999" characterSet="[0-9]*" length="6" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="4" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
		</level>
		<level type="PURE_IDENTITY" prefixMatch="urn:epc:id:gdti">
			<option optionKey="12" pattern="urn:epc:id:gdti:([0-9]{12})\.([0-9]{0})\.([0-9]{1,17})" grammar="'urn:epc:id:gdti:' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="999999999999" characterSet="[0-9]*" length="12" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="0" characterSet="[0-9]*" length="0" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="11" pattern="urn:epc:id:gdti:([0-9]{11})\.([0-9]{1})\.([0-9]{1,17})" grammar="'urn:epc:id:gdti:' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="99999999999" characterSet="[0-9]*" length="11" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9" characterSet="[0-9]*" length="1" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="10" pattern="urn:epc:id:gdti:([0-9]{10})\.([0-9]{2})\.([0-9]{1,17})" grammar="'urn:epc:id:gdti:' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999" characterSet="[0-9]*" length="10" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99" characterSet="[0-9]*" length="2" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="9" pattern="urn:epc:id:gdti:([0-9]{9})\.([0-9]{3})\.([0-9]{1,17})" grammar="'urn:epc:id:gdti:' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="999999999" characterSet="[0-9]*" length="9" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999" characterSet="[0-9]*" length="3" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="8" pattern="urn:epc:id:gdti:([0-9]{8})\.([0-9]{4})\.([0-9]{1,17})" grammar="'urn:epc:id:gdti:' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="99999999" characterSet="[0-9]*" length="8" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9999" characterSet="[0-9]*" length="4" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="7" pattern="urn:epc:id:gdti:([0-9]{7})\.([0-9]{5})\.([0-9]{1,17})" grammar="'urn:epc:id:gdti:' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999" characterSet="[0-9]*" length="7" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999" characterSet="[0-9]*" length="5" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="6" pattern="urn:epc:id:gdti:([0-9]{6})\.([0-9]{6})\.([0-9]{1,17})" grammar="'urn:epc:id:gdti:' gs1companyprefix '.' doctype '.' serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="999999" characterSet="[0-9]*" length="6" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999" characterSet="[0-9]*" length="6" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="3" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
		</level>
		<level type="LEGACY" prefixMatch="gdti=" requiredParsingParameters="gs1companyprefixlength">
			<option optionKey="12" pattern="gdti=([0-9]{13})([0-9]{1,17})" grammar="'gdti=' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="11" pattern="gdti=([0-9]{13})([0-9]{1,17})" grammar="'gdti=' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="10" pattern="gdti=([0-9]{13})([0-9]{1,17})" grammar="'gdti=' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="9" pattern="gdti=([0-9]{13})([0-9]{1,17})" grammar="'gdti=' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="8" pattern="gdti=([0-9]{13})([0-9]{1,17})" grammar="'gdti=' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="7" pattern="gdti=([0-9]{13})([0-9]{1,17})" grammar="'gdti=' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="6" pattern="gdti=([0-9]{13})([0-9]{1,17})" grammar="'gdti=' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<rule type="EXTRACT" inputFormat="STRING" seq="1" newFieldName="gdtibody" characterSet="[0-9]*" function="SUBSTR(gdtiprefix,0,12)"/>
			<rule type="EXTRACT" inputFormat="STRING" seq="2" newFieldName="doctype" characterSet="[0-9]*" function="SUBSTR(gdtibody,gs1companyprefixlength)"/>
			<rule type="EXTRACT" inputFormat="STRING" seq="3" newFieldName="gs1companyprefix" characterSet="[0-9]*" function="SUBSTR(gdtibody,0,gs1companyprefixlength)"/>
			<rule type="FORMAT" inputFormat="STRING" seq="1" newFieldName="gdtibody" characterSet="[0-9]*" length="12" function="CONCAT(gs1companyprefix,doctype)"/>
			<rule type="FORMAT" inputFormat="STRING" seq="2" newFieldName="checkdigit" characterSet="[0-9]*" length="1" function="GS1CHECKSUM(gdtibody)"/>
		</level>
		<level type="LEGACY_AI" prefixMatch="(253)" requiredParsingParameters="gs1companyprefixlength">
			<option optionKey="12" pattern="\(253\)([0-9]{13})([0-9]{1,17})" grammar="'(253)' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="11" pattern="\(253\)([0-9]{13})([0-9]{1,17})" grammar="'(253)' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="10" pattern="\(253\)([0-9]{13})([0-9]{1,17})" grammar="'(253)' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="9" pattern="\(253\)([0-9]{13})([0-9]{1,17})" grammar="'(253)' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="8" pattern="\(253\)([0-9]{13})([0-9]{1,17})" grammar="'(253)' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="7" pattern="\(253\)([0-9]{13})([0-9]{1,17})" grammar="'(253)' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="6" pattern="\(253\)([0-9]{13})([0-9]{1,17})" grammar="'(253)' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<rule type="EXTRACT" inputFormat="STRING" seq="1" newFieldName="gdtibody" characterSet="[0-9]*" function="SUBSTR(gdtiprefix,0,12)"/>
			<rule type="EXTRACT" inputFormat="STRING" seq="2" newFieldName="doctype" characterSet="[0-9]*" function="SUBSTR(gdtibody,gs1companyprefixlength)"/>
			<rule type="EXTRACT" inputFormat="STRING" seq="3" newFieldName="gs1companyprefix" characterSet="[0-9]*" function="SUBSTR(gdtibody,0,gs1companyprefixlength)"/>
			<rule type="FORMAT" inputFormat="STRING" seq="1" newFieldName="gdtibody" characterSet="[0-9]*" length="12" function="CONCAT(gs1companyprefix,doctype)"/>
			<rule type="FORMAT" inputFormat="STRING" seq="2" newFieldName="checkdigit" characterSet="[0-9]*" length="1" function="GS1CHECKSUM(gdtibody)"/>
		</level>
		<level type="ELEMENT_STRING" prefixMatch="253" requiredParsingParameters="gs1companyprefixlength">
			<option optionKey="12" pattern="253([0-9]{13})([0-9]{1,17})" grammar="'253' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="11" pattern="253([0-9]{13})([0-9]{1,17})" grammar="'253' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="10" pattern="253([0-9]{13})([0-9]{1,17})" grammar="'253' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="9" pattern="253([0-9]{13})([0-9]{1,17})" grammar="'253' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="8" pattern="253([0-9]{13})([0-9]{1,17})" grammar="'253' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="7" pattern="253([0-9]{13})([0-9]{1,17})" grammar="'253' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<option optionKey="6" pattern="253([0-9]{13})([0-9]{1,17})" grammar="'253' gs1companyprefix doctype checkdigit serial">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999999999999" characterSet="[0-9]*" length="13" padChar="0" padDir="LEFT" name="gdtiprefix"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999999999" characterSet="[0-9]*" name="serial"/>
			</option>
			<rule type="EXTRACT" inputFormat="STRING" seq="1" newFieldName="gdtibody" characterSet="[0-9]*" function="SUBSTR(gdtiprefix,0,12)"/>
			<rule type="EXTRACT" inputFormat="STRING" seq="2" newFieldName="doctype" characterSet="[0-9]*" function="SUBSTR(gdtibody,gs1companyprefixlength)"/>
			<rule type="EXTRACT" inputFormat="STRING" seq="3" newFieldName="gs1companyprefix" characterSet="[0-9]*" function="SUBSTR(gdtibody,0,gs1companyprefixlength)"/>
			<rule type="FORMAT" inputFormat="STRING" seq="1" newFieldName="gdtibody" characterSet="[0-9]*" length="12" function="CONCAT(gs1companyprefix,doctype)"/>
			<rule type="FORMAT" inputFormat="STRING" seq="2" newFieldName="checkdigit" characterSet="[0-9]*" length="1" function="GS1CHECKSUM(gdtibody)"/>
		</level>
		<level type="ONS_HOSTNAME">
			<option optionKey="12" grammar="doctype '.' gs1companyprefix '.gdti.id.onsepc.com'">
				<field seq="1" decimalMinimum="0" decimalMaximum="0" characterSet="[0-9]*" length="0" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999999999" characterSet="[0-9]*" length="12" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
			</option>
			<option optionKey="11" grammar="doctype '.' gs1companyprefix '.gdti.id.onsepc.com'">
				<field seq="1" decimalMinimum="0" decimalMaximum="9" characterSet="[0-9]*" length="1" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999999" characterSet="[0-9]*" length="11" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
			</option>
			<option optionKey="10" grammar="doctype '.' gs1companyprefix '.gdti.id.onsepc.com'">
				<field seq="1" decimalMinimum="0" decimalMaximum="99" characterSet="[0-9]*" length="2" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9999999999" characterSet="[0-9]*" length="10" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
			</option>
			<option optionKey="9" grammar="doctype '.' gs1companyprefix '.gdti.id.onsepc.com'">
				<field seq="1" decimalMinimum="0" decimalMaximum="999" characterSet="[0-9]*" length="3" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999999" characterSet="[0-9]*" length="9" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
			</option>
			<option optionKey="8" grammar="doctype '.' gs1companyprefix '.gdti.id.onsepc.com'">
				<field seq="1" decimalMinimum="0" decimalMaximum="9999" characterSet="[0-9]*" length="4" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="99999999" characterSet="[0-9]*" length="8" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
			</option>
			<option optionKey="7" grammar="doctype '.' gs1companyprefix '.gdti.id.onsepc.com'">
				<field seq="1" decimalMinimum="0" decimalMaximum="99999" characterSet="[0-9]*" length="5" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="9999999" characterSet="[0-9]*" length="7" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
			</option>
			<option optionKey="6" grammar="doctype '.' gs1companyprefix '.gdti.id.onsepc.com'">
				<field seq="1" decimalMinimum="0" decimalMaximum="999999" characterSet="[0-9]*" length="6" padChar="0" padDir="LEFT" name="doctype"/>
				<field seq="2" decimalMinimum="0" decimalMaximum="999999" characterSet="[0-9]*" length="6" padChar="0" padDir="LEFT" name="gs1companyprefix"/>
			</option>
		</level>
	</scheme>
</tdt:epcTagDataTranslation>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy