<?xml version="1.0" encoding="utf-8"?>

<AtaModel>
  <ApplicationConfiguration AdminPassword="123">
    <BarcodeParsers>
      <Replacements>
        <AsciiReplacement Replace="{GS}" Code="29"/>
        <AsciiReplacement Replace="{RS}" Code="30"/>
        <AsciiReplacement Replace="{EOT}" Code="4"/>
      </Replacements>

      <!-- This will make the barcode scanner forward PNR values to PNO -->
      <!-- <InputTransforms> -->
      <!--   <ForwardTei Source="PNR" Target="PNO" ExcludeSource="true"/> -->
      <!-- </InputTransforms> -->
      
      <BarcodeParser Name="ATA"
                     Major="/"
                     Minor=" " />
      
      <BarcodeParser Name="DOD"
                     Major="{GS}"
                     Minor=" "
                     Header=")>{RS}12{GS}"
                     Trailer="{RS}{EOT}" />
      
    </BarcodeParsers>

    <!-- This will allow the barcode verification to perform a fuzzy date match on a DMF value -->
    <!-- <BarcodeVerifications> -->
    <!--   <DateComparison Tei="DMF" -->
    <!--                   RecordType="Birth" -->
    <!--                   BarcodeDateFormat="MMyyyy" -->
    <!--                   TeiDateFormat="yyyyMMdd" -->
    <!--                   ComparisonDateFormat="MMyyyy"/> -->
    <!-- </BarcodeVerifications> -->
    
  </ApplicationConfiguration>
  
  <ValidationRules>
    <RegexRule Id="uppercase_alphanumeric" Description="Allows uppercase alphanumeric: A-Z and 0-9"
               Pattern="^[A-Z0-9]*$" />
    <RegexRule Id="serial_number" Description="Any combination of uppercase letters, numbers, or dashes are valid"
               Pattern="^[A-Z0-9-]*$" />
    <RegexRule Id="indicator" Description="Can only be 1." Pattern="^[1]*$" />
    <RegexRule Id="uppercase_alphanumeric_commas" Description="Allows uppercase alphanumeric with commas."
               Pattern="^[A-Z0-9,]*$" />
	<RegexRule Id="uppercase_alphanumeric_special" Description="Allows uppercase alphanumeric: A-Z, 0-9, with some special characters "
               Pattern="^[A-Z0-9$%\/()=+';:.,_-]*$" />  			   
    <RegexRule Id="numeric" Description="Allows numeric values." Pattern="^[0-9]*$" />
    <RegexRule Id="haz" Description="Allows only hazardous material codes." Pattern="^UN[0-9]*$" />
    <RegexRule Id="not_end_with_dash" Description="Value cannot end with a dash." Pattern="^.*(?&lt;!-)$" />
    <RegexRule Id="not_start_with_dash" Description="Value cannot start with a dash." Pattern="^(?!-).*$" />
    <RegexRule Id="hex_characters" Description="Allows hex character values" Pattern="^[0-9A-F]*$" />
  </ValidationRules>

  <OptionCollections>
    <OptionCollection Id="epcfilters_2013">
      <Option Value="0" Display="All others" />
      <Option Value="1" Display="Item" />
      <Option Value="2" Display="Carton" />
      <Option Value="6" Display="Pallet" />
      <Option Value="8" Display="Seat cushions" />
      <Option Value="9" Display="Seat covers" />
      <Option Value="10" Display="Seat belts" />
      <Option Value="11" Display="Galley cars" />
      <Option Value="12" Display="Unit load devices, cargo containers" />
      <Option Value="13" Display="Security items" />
      <Option Value="14" Display="Life vests" />
      <Option Value="15" Display="Oxygen generators" />
      <Option Value="16" Display="Engine components" />
      <Option Value="17" Display="Avionics" />
      <Option Value="18" Display="Experimental equipment" />
      <Option Value="19" Display="Other emergency equipment" />
      <Option Value="20" Display="Other rotables" />
      <Option Value="21" Display="Other repairable" />
      <Option Value="22" Display="Other cabin interior" />
      <Option Value="23" Display="Other repair" />
    </OptionCollection>
    <OptionCollection Id="epcfilters_2016">
      <Option Value="0" Display="All others" />
      <Option Value="1" Display="Item" />
      <Option Value="2" Display="Carton" />
      <Option Value="6" Display="Pallet" />
      <Option Value="8" Display="Seat cushions" />
      <Option Value="9" Display="Seat covers" />
      <Option Value="10" Display="Seat belts" />
      <Option Value="11" Display="Galley cars" />
      <Option Value="12" Display="Unit load devices, cargo containers" />
      <Option Value="13" Display="Security items" />
      <Option Value="14" Display="Life vests" />
      <Option Value="15" Display="Oxygen generators" />
      <Option Value="16" Display="Engine components" />
      <Option Value="17" Display="Avionics" />
      <Option Value="18" Display="Experimental equipment" />
      <Option Value="19" Display="Other emergency equipment" />
      <Option Value="20" Display="Other rotables" />
      <Option Value="21" Display="Other repairable" />
      <Option Value="22" Display="Other cabin interior" />
      <Option Value="23" Display="Other repair" />
      <Option Value="24" Display="Passenger seats" />
      <Option Value="25" Display="In-flight entertainment" />
      <Option Value="56" Display="Location identifier" />
      <Option Value="57" Display="Documentation" />
      <Option Value="58" Display="Tools" />
      <Option Value="59" Display="Ground support equipment" />
      <Option Value="60" Display="Other non-flyable equipment" />
    </OptionCollection>
    <OptionCollection Id="country_codes">
      <Option Value="MX" Display="Mexico" />
      <Option Value="US" Display="United States of America" />
	    <Option Value="GB" Display="United Kingdom"/>
	    <Option Value="AT" Display="Austria"/>
	    <Option Value="AU" Display="Australia"/>
	    <Option Value="BE" Display="Belgium"/>
	    <Option Value="BR" Display="Brazil"/>
	    <Option Value="CA" Display="Canada"/>
	    <Option Value="CH" Display="Switzerland"/>
	    <Option Value="CN" Display="China"/>
	    <Option Value="DE" Display="Germany"/>
	    <Option Value="DK" Display="Denmark"/>
	    <Option Value="ES" Display="Spain"/>
	    <Option Value="FI" Display="Finland"/>
	    <Option Value="FR" Display="France"/>
	    <Option Value="IE" Display="Ireland"/>
	    <Option Value="IL" Display="Israel"/>
	    <Option Value="IN" Display="India"/>
	    <Option Value="IT" Display="Italy"/>
	    <Option Value="JP" Display="Japan"/>
	    <Option Value="MY" Display="Malaysia"/>
		<Option Value="MA" Display="Morocco"/>
	    <Option Value="NL" Display="Netherlands"/>
	    <Option Value="NO" Display="Norway"/>
	    <Option Value="PL" Display="Poland"/>
	    <Option Value="RU" Display="Russian Federation"/>
	    <Option Value="SE" Display="Sweden"/>
	    <Option Value="SG" Display="Singapore"/>
	    <Option Value="TH" Display="Thailand"/>
	    <Option Value="TR" Display="Turkey"/>
	    <Option Value="TW" Display="Taiwan"/>
	    <Option Value="ZA" Display="South Africa"/>
		<Option Value="AE" Display="United Arab Emirates"/>
    </OptionCollection>
    <OptionCollection Id="service_codes">
      <Option Value="SRV" Display="Serviceable" />
      <Option Value="UNS" Display="Unserviceable" />
      <Option Value="SCP" Display="Scrap" />
      <Option Value="UNK" Display="Unknown" />
    </OptionCollection>
	  <OptionCollection Id="uic_codes">
      <Option Value="1" Display="UID Construct 1" />
      <Option Value="2" Display="UID Construct 2" />
    </OptionCollection>
    <OptionCollection Id="measurement_units">
      <Option Value="LB" Display="LB" />
      <Option Value="KG" Display="KG" />
    </OptionCollection>
    <OptionCollection Id="action_codes">
      <Option Value="BUY" Display="Bought From" />
      <Option Value="CDO" Display="Current Design Activity Is" />
      <Option Value="DES" Display="How Destroyed" />
      <Option Value="DMP" Display="RFID Tag Replaced, Data Dump" />
      <Option Value="EXC" Display="Exchanged for/with" />
      <Option Value="INP" Display="Inspected what, Tested what, Adjusted what" />
      <Option Value="INS" Display="Installed on" />
      <Option Value="MFG" Display="Manufactured by" />
      <Option Value="MOD" Display="Modified" />
      <Option Value="MRK" Display="Marked by" />
      <Option Value="ODO" Display="Original Design Activity Is" />
      <Option Value="OTH" Display="Other - freelance note" />
      <Option Value="OVH" Display="How Overhauled/Remanufactured and/or new life limits if applicable" />
      <Option Value="RCD" Display="Received by/from" />
      <Option Value="RMV" Display="Removed from" />
      <Option Value="RPR" Display="Repaired by" />
      <Option Value="SCP" Display="Scrapped" />
      <Option Value="SHP" Display="Shipped to" />
      <Option Value="SLD" Display="Sold to" />
      <Option Value="SRV" Display="Serviced" />
      <Option Value="TST" Display="Tested" />
      <Option Value="UPG" Display="Upgraded, New Part Number is" />
      <Option Value="WHR" Display="Warehoused at" />
    </OptionCollection>
  </OptionCollections>

  <TagProfiles>
    <TagProfile Id="TegoMultiRecord"
				MaskDesignerId="017"
				XMaskDesignerId="817"
				TagModelNumber="008"
				Manufacturer="Tego"
				Name="Tego8KB"
				AutoLocks="true"
				ReservedBankSize="4"
				EpcBankSize="16"
				TidBankSize="16"
				UserBankSize="4418"
				BlockSize="1"
				ScratchpadSize="192"
				CurrentDataSize="128">
      <SupportedFormats>
        <Format>MultiRecord</Format>
      </SupportedFormats>
    </TagProfile>

    <TagProfile Id="TegoDualRecord"
          MaskDesignerId="017"
          XMaskDesignerId="817"
          TagModelNumber="00A"
          Manufacturer="Tego"
          Name="Tego4KB"
          AutoLocks="true"
          ReservedBankSize="4"
          EpcBankSize="16"
          TidBankSize="16"
          UserBankSize="2370"
          BlockSize="1">
      <SupportedFormats>
        <Format>DualRecord</Format>
      </SupportedFormats>
    </TagProfile>

    <TagProfile Id="QuanrayMultiRecord"
                MaskDesignerId="00F"
                XMaskDesignerId="80F"
                TagModelNumber="3A5"
                Manufacturer="Quanray Electronics"
                Name="Qstar-5A/AE"
                ReservedBankSize="4"
                EpcBankSize="33"
                TidBankSize="13"
                UserBankSize="4096"
                BlockSize="1"
                ScratchpadSize="144"
                CurrentDataSize="110">
      <SupportedFormats>
        <Format>MultiRecord</Format>
      </SupportedFormats>
    </TagProfile>

    <TagProfile Id="QuanrayMultiRecord-01"
                MaskDesignerId="00F"
                XMaskDesignerId="80F"
                TagModelNumber="3A6"
                Manufacturer="Quanray Electronics"
                Name="Qstar-5A/AE"
                ReservedBankSize="4"
                EpcBankSize="33"
                TidBankSize="13"
                UserBankSize="4096"
                BlockSize="1"
                ScratchpadSize="144"
                CurrentDataSize="110">
      <SupportedFormats>
        <Format>MultiRecord</Format>
      </SupportedFormats>
    </TagProfile>

    <TagProfile Id="QuanrayDualRecordThin"
                MaskDesignerId="00F"
                XMaskDesignerId="80F"
                TagModelNumber="451"
                Manufacturer="Quanray Electronics"
                Name="Qstar-5X"
                ReservedBankSize="4"
                EpcBankSize="33"
                TidBankSize="16"
                UserBankSize="128"
                BlockSize="1">
      <SupportedFormats>
        <Format>DualRecord</Format>
      </SupportedFormats>
    </TagProfile>

    <TagProfile Id="QuanrayDualRecordRigid"
                MaskDesignerId="00F"
                XMaskDesignerId="80F"
                TagModelNumber="951"
                Manufacturer="Quanray Electronics"
                Name="Qstar-5X"
                ReservedBankSize="4"
                EpcBankSize="33"
                TidBankSize="16"
                UserBankSize="128"
                BlockSize="1">
      <SupportedFormats>
        <Format>DualRecord</Format>
      </SupportedFormats>
    </TagProfile>

    <TagProfile Id="DitsySingleRecord" 
                 MaskDesignerId="003" 
                 XMaskDesignerId="803" 
                 TagModelNumber="412" 
                 Manufacturer="Alien" 
                 Name="Higgs 3" 
                 ReservedBankSize="2" 
                 EpcBankSize="6" 
                 IsEpcExtensible="true"
                 EpcAllocationSize="4"
                 TidBankSize="6" 
                 UserBankSize="32" 
                 BlockSize="4" > 
       <SupportedFormats> 
         <Format>SingleRecordBirth</Format> 
       </SupportedFormats> 
    </TagProfile>

    <TagProfile Id="Higgs9"
                MaskDesignerId="003"
                XMaskDesignerId="803"
                TagModelNumber="821"
                Manufacturer="Alien"
                Name="Higgs 9"
                ReservedBankSize="4"
                EpcBankSize="6"
                IsEpcExtensible="true"
                EpcAllocationSize="4"
                TidBankSize="6"
                UserBankSize="43"
                BlockSize="16">
      <SupportedFormats>
        <Format>SingleRecordBirth</Format>
      </SupportedFormats>
    </TagProfile>

	 	<TagProfile Id="Fujitsu8KMultiRecord"
                MaskDesignerId="010"
                XMaskDesignerId="810"
                TagModelNumber="043"
                Manufacturer="Fujitsu"
                Name="Fujitsu8KB"
                ReservedBankSize="4"
                EpcBankSize="33"
                TidBankSize="13"
                UserBankSize="4096"
                BlockSize="1"
                ScratchpadSize="144"
                CurrentDataSize="110">
      <SupportedFormats>
        <Format>MultiRecord</Format>
      </SupportedFormats>
	  </TagProfile>	
  </TagProfiles>

  <TeiSources>
    <TeiSource Id="Ata2013">
      <Tei Key="MFR" >
        <Description>
          MFR – is used to indicate the CAGE code of the enterprise that controls the serial number of the	part, or for non-serialized parts the enterprise that assigns the unique Identity to the part. Use MFR if the Manufacturer of the part has provided the Serial Number. Use SPL if the unique identifier (UCN) is addedafter the part is in service by a company other than the manufacturer. Only one of MFR or SPL is permitted on a tag, not both.
        </Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SPL" Name="Supplier Code">
        <Description>
          SPL – is used to indicate the CAGE code of the enterprise that controls the serial number of the	part, or for non-serialized parts the enterprise that assigns the unique Identity to the part. Use MFR if the Manufacturer of the part has provided the Serial Number. Use SPL if the unique identifier (UCN) is addedafter the part is in service by a company other than the manufacturer. Only one of MFR or SPL is permitted on a tag, not both.
        </Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SER" >
        <Description>
          SER or SEQ or UCN – the serial number of the tagged item that allows for MFR/SER to be a globally unique number. Required for serialized parts; i.e. if the serial number exists it must be included.
          a. If the Serial Number is globally unique across the Manufacturer, SER shall be used.
          b. If the Serial Number is not unique globally across the manufacturer, but rather is unique within	Original Part Number, SEQ shall be used.
          c. If the original part is not serialized and a serial number is added by the owner after birth, UCN shall be used (in conjunction with SPL in the CAGE code field).
          Only one of SER or SEQ or UCN is permitted on a tag, never more than one.
        </Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SEQ" Name="Sequential Part Serial Number">
        <Description>
          SER or SEQ or UCN – the serial number of the tagged item that allows for MFR/SER to be a globally unique number. Required for serialized parts; i.e. if the serial number exists it must be included.
          a. If the Serial Number is globally unique across the Manufacturer, SER shall be used.
          b. If the Serial Number is not unique globally across the manufacturer, but rather is unique within	Original Part Number, SEQ shall be used.
          c. If the original part is not serialized and a serial number is added by the owner after birth, UCN shall be used (in conjunction with SPL in the CAGE code field).
          Only one of SER or SEQ or UCN is permitted on a tag, never more than one.
        </Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="UCN" Name="Unique Component Identification Number">
        <Description>
          SER or SEQ or UCN – the serial number of the tagged item that allows for MFR/SER to be a globally unique number. Required for serialized parts; i.e. if the serial number exists it must be included.
          a. If the Serial Number is globally unique across the Manufacturer, SER shall be used.
          b. If the Serial Number is not unique globally across the manufacturer, but rather is unique within	Original Part Number, SEQ shall be used.
          c. If the original part is not serialized and a serial number is added by the owner after birth, UCN shall be used (in conjunction with SPL in the CAGE code field).
          Only one of SER or SEQ or UCN is permitted on a tag, never more than one.
        </Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PNO" Name="Original Part Number">
        <Description>PNO (Part Number Original) is always required. For legacy part marking it can be the current part number if the original part number is unknown.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="UIC" Name="UID Construct Number">
        <Description>UIC is the UID Construct Number– only values of 1 or 2 are allowed. This field is required for serialized parts. A value of 1 indicates the part is serialized using either SER or UCN. A value of 2 indicates the part is serialized using a sequence number only (SEQ) and requires PNO to make a globally unique identity. For non-serialized parts, UIC shall be omitted.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="uic_codes" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PDT" Name="Part Description">
        <Description>PDT, the Part Description Text data field, is mandatory and must have non-blank and non-null characters in the value field. The Part Description (PDT) field is constrained from the CSDD definition to no more than 32 alphanumeric characters.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
          <TeiRule Ref="uppercase_alphanumeric_special" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="DMF" Name="Manufacture Date">
        <Description>DMF, the Manufacture Date using the format YYYYMMDD. This field is required for all new parts and whenever the DMF is known. For legacy parts, the entry may be omitted if the DMF is not known.</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ICC" Name="International Commodity Code">
        <Description>ICC, the International Commodity Code is equivalent to the first 6 characters of the International Harmonized Commodity Description code. Those codes may be found online on government web sites. The valid format for the ICC value is numeric only. Current detailed information can be found on the United States International Trade Commission web site: http://www.usitc.gov/tata/hts/index.htm. See Chapter 88.</Description>
        <ValidationRules>
          <LengthRule Min="6" Max="6" />
          <TeiRule Ref="numeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="WGT" Name="Weight">
        <Description>WGT is the original manufactured weight of the unit. It shall be used in conjunction with UNT which	identifies the Unit of Measure Code (such as pounds or kilograms). A primary purpose of this data element is to provide the mechanic an approximate weight for human factors issues. It is not meant to be an exact	weight for configuration management purposes, or to include any changeable values like the weight of drainable fluids that may later be loaded into the component. Required field if the tagged item weighs more than 75 lbs (34 kg).</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="6" />
          <TeiRule Ref="numeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="UNT" Name="Unit of Measure code">
        <Description>UNT – Mandatory when WGT data is included. The only valid codes are either LB or KG.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="measurement_units" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="HAZ" Name="Hazardous Material Code">
        <Description>HAZ, the Hazardous Material Code is required if the item has hazard material as defined in the Technical Instruction for Safe Transport of Dangerous Goods by Air, International Civil Aviation Organization (ICAO). Multiple HAZ value pairs are permitted for parts that meet multiple hazardous material conditions.</Description>
        <ValidationRules>
          <LengthRule Min="6" Max="6" />
          <TeiRule Ref="haz" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ESD" Name="Electrostatic Sensitive Device Indicator">
        <Description>ESD, the Electrostatic Sensitive Device Indicator, is required, with a value of 1if ESD handling precautions are necessary or recommended; otherwise do not use the field.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="1" />
          <TeiRule Ref="indicator" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="EXP">
        <Description>EXP (Expiration Date) is required if the part has a shelf life expiration date. This should not be confused with hard time items that should be tracked external to the RFID tag (see LLE below).</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LLE" Name="Life Limited Equipment Indicator">
        <Description>LLE - Life Limited Equipment Indicator is Mandatory if the part is limited life equipment. A value of 1 in the value field indicates a limited life part; otherwise do not use the field.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="1" />
          <TeiRule Ref="indicator" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LOT" Name="Lot Number">
        <Description>LOT, Lot Number is a Conditional field indicating whether this component was part of a batch of parts that the OEM wanted to track by a batch number. The field is required for onserialized parts that have Lot Numbers.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_start_with_dash" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LTN" Name="Enterprise Lot Number">
        <Description>LTN, Enterprise Lot Number is a Conditional field indicating whether this component was part of a batch of parts that the OEM wanted to track by a batch number. The field is required for onserialized parts that have Lot Numbers.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_start_with_dash" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="CNT" Name="Country of Manufacture">
        <Description>CNT, Country of Manufacture, is a Conditional, 2-character code indicating which country the component was manufactured in. The list of two character ISO country codes are defined here: http://www.iso.org/iso/country_names_and_code_elements. Components manufactured/assembled in multiple countries should use the Country of Manufacture according to appropriate regulations.</Description>
        <ValidationRules>
          <LengthRule Min="2" Max="2" />
          <AllowableValueRule OptionCollectionRef="country_codes" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ECC" Name="Export Control Classification Number">
        <Description>ECC is the Export Control Classification Number and is an alphanumeric classification used in the Commerce Control List to identify items for export control purposes. Aerospace manufacturers usually are aware of ECC Numbers before shipping a part, but they can also be determined via the following web site: 	http://www.bis.doc.gov/policiesandregulations/index.htm#ear.</Description>
        <ValidationRules>
          <LengthRule Min="5" Max="14" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SWI" Name="Software Indicator">
        <Description>SWI, the Software Indicator indicates the part includes an upgradable software component. This field is required, with a value of 1 if the part has an upgradeable software component; otherwise do not use the field</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="1" />
          <TeiRule Ref="indicator" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="OPN" Name="Overlength Part Number">
        <Description>OPN, Over-length Part Number, is for those manufacturers who have not aligned with industry standards and limited their Part Numbers to a maximum of 15 characters. When an OPN is used, the part number shown in the PNR field should be a reference part number that the OEM can relate to the OPN. (see [csdd] for more details)</Description>
        <ValidationRules>
          <LengthRule Min="16" Max="32" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="TDN" Name="Certificate Tracking Number">
        <Description>TDN, Certificate Tracking Number is the tracking number established by the organization or individual issuing airworthiness or conformance data that uniquely identifies the information set. This is a Conditional data element is up to 32 characters in length and represents the unique tracking number found on an FAA 8130-3, EASA Form 1, or equivalent documents. In the context of the birth record, this is the Certificate Tracking Number provided by the manufacturer on the original part. If the Certificate Tracking Number is not available at the time the part is manufactured, but required by regulations upon shipment to the customer, it shall be stored in the Lifecycle Record.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="NSN" Name="NATO Stock Number">
        <Description>NSN, NATO Stock Number is a fixed-length, 13 numeric digits (e.g., 1005131234567) that are typically displayed, for better human readability and accuracy, with dashes inserted (e.g., 1005-13-123-4567). The data must be stored on the AIT tag without dashes. It is recommended that the dashes be included when	displayed. Source reference for the NSN construct is: www.nato.int/structur/AC/135/ncs_guide/english/e_1-6-5.htm This field may be used for companies expecting their components to be sold to the government.</Description>
        <ValidationRules>
          <LengthRule Min="13" Max="13" />
          <TeiRule Ref="numeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="FAB" Name="Fabricator">
        <Description>FAB, Fabricator, represents the CAGE Code of a company that fabricates the part, but does not hold the design authority responsible for the actual Part Number. This may be required by the design authority on	certain parts.</Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PNR" >
        <Description>PNR – is a Mandatory field used to indicate the Current Part Number. Note that normally, when newly manufactured part is being commissioned, the PNR in the Lifecycle Record will equal the PNO in the Birth Record. If the PNO has been upgraded, the upgraded part number will be written to the PNR field.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
          <TeiRule Ref="not_start_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PML" Name="Part Modification Level">
        <Description>PML, Part Modification Level, is a 1 to 12 character A/N data element indicating the mod level status of a part before it leaves the OEM’s facility as a new part. The field length is restricted from what is defined in [csdd]. Note that in the context of the birth record, this only shows the modification level of the part at the time it leaves the factory. On-going changes to the mod level will be stored in the Current Data Record and the Part History Records. This field is required if the part has been modified beyond its basic part number at time of delivery. If more than one mod is included, they are all included in the value field of a single PML entry and separated by commas only (no spaces).</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="12" />
          <TeiRule Ref="uppercase_alphanumeric_special" />    
		  <RegexRule Description="Value cannot start with a comma." Pattern="^(?!,).*$" />
          <RegexRule Description="Value cannot end with a comma." Pattern="^.*(?&lt;!,)$" />
          <RegexRule Description="Value cannot contain consecutive commas." Pattern="^(?!.*,,).*$" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ONR" Name="Owner's Code">
        <Description>Owner's Code (For Borrowed Parts)</Description>
        <ValidationRules>
          <LengthRule Min="2" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ASN" Name="Airline Stock Number">
        <Description>Internal identification that has been applied to a part or unit in an airline's inventory. The Airline Stock Number is used in addition to other identification by the manufacturer or distributor of the part.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="11" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="CND" Name="Condition Code">
        <Description>CND – Condition Code shows the most recent condition of the part and shall always be provided.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="service_codes" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="DOH" Name="Hydrostatic Test Date">
        <Description>DOH – Hydrostatic Test Date is required when a Hydrostatic Test has been done. The latest DOH, if any will be shown in the Lifecycle Record.</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>

      <Tei Key="ACT" Name="Action Code">
        <Description>Describes the action taken relative to a given part, component or lot.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="action_codes" />
        </ValidationRules>
      </Tei>

      <Tei Key="NHA" Name="Next Higher Assembly Part Number">
        <Description>The part number of the assembly on which the particular item under discussion is attached or is a part of either directly or through intermediate attaching parts.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="AIN" Name="Aircraft Identification Number">
        <Description>The manufacturer's permanently‐applied serial number for the airframe.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="10" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="FHL">
        <Description>The total number of aircraft flying hours achieved by the Model of Applicability Code (MOA) within the customer's fleet during the reporting period.</Description>
        <ValidationRules>
          <LengthRule Min="4" Max="9" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="FCL" >
        <Description>Specifies the total number of flight cycles achieved by the Model of Applicability (MOA) within the customer's fleet for the reporting period.</Description>
        <ValidationRules>
          <LengthRule Min="3" Max="5" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LAC" >
        <Description>Identifies the location a part / component is used on an aircraft.</Description>
        <ValidationRules>
          <!-- References in PHR set length bounds at [3,13], but CDR sets bounds at [1,13]. CSDD lists as [1,13] and 2016 spec updates PHR references to same. -->
          <LengthRule Min="1" Max="13" />
        </ValidationRules>
      </Tei>

      <Tei Key="RMT" Name="Removal Reason Text">
        <Description>This field contains the text explaining the reason a component was removed from an aircraft. It should indicate the observed failure in the operational environment (e.g., PIREP).</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="30" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="RTI" Name="Removal Tracking Identifier">
        <Description>A unique identifier that is applied to a 'Line Replaceable Unit (LRU) Removal Record' so that the LRU can be tracked through the entire removal process. This identifier can be used to link the original LRU Removal Record to Shop Findings Records and Piece Part Records.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="50" />
        </ValidationRules>
      </Tei>

      <Tei Key="RMD" Name="Repair Description">
        <Description>Identifies the specific repairs or modifications made to a part.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="50" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="RAP" Name="Repair Approval Reference Text">
        <Description>Specifies a description of approval for a specific repair task.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="20" />
        </ValidationRules>
      </Tei>

      <Tei Key="OHM" Name="Overhaul Manual Reference Number">
        <Description>The section of the OEM's repair manual that defines the required work scope for a part or component.</Description>
        <ValidationRules>
          <LengthRule Min="6" Max="20" />
        </ValidationRules>
      </Tei>

      <Tei Key="STN" Name="Modification/STC Number">
        <Description>Specifies the numeric identifier of a service bulletin. This identifier is structured and must include information regarding the aircraft or engine type, the model, the ATA number, and the sequence number necessary to uniquely identify the service bulletin.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="25" />
        </ValidationRules>
      </Tei>

      <Tei Key="SFT" Name="Software Part Number">
        <Description>The manufacturer's, supplier's or industry standard identity of an embedded software program in a programmed memory device.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
        </ValidationRules>
      </Tei>

      <Tei Key="MNC" Name="Maintenance Action Station Code">
        <Description>Specifies the station location where a specified maintenance action was performed.</Description>
        <ValidationRules>
          <LengthRule Min="3" Max="5" />
        </ValidationRules>
      </Tei>

      <Tei Key="SHT" Name="Ship-To Code">
        <Description>Identifies the shipment destination address including required marks and information which must be displayed on shipping containers. May also convey applicability or exclusion of specific taxes or charges relating to the shipment destination.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="5" />
        </ValidationRules>
      </Tei>

      <Tei Key="IFC" Name="Inspection Findings Code">
        <Description>This code provides the verified reason for removal of the subject part, or the warrantor's technical findings when accepting or denying a warranty claim.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="3" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="IMD" Name="Inspection Method Description">
        <Description>Provides a text description of the inspection method</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="25" />
        </ValidationRules>
      </Tei>

      <Tei Key="ACR" Name="Action Description">
        <Description>A textual description of an action taken to a component or part.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="25" />
        </ValidationRules>
      </Tei>

      <Tei Key="REM" Name="Remarks Text/Description Text">
        <Description>Provides general comments to supplement other textual descriptions.</Description>
      </Tei>

      <Tei Key="ACO" Name="Action Company Cage Code">
        <Description>ACO – The Cage Code of the company making the entry.</Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ACD" Name="Action Date">
        <Description>ACD – The date the entry is written to the tag.</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>
    </TeiSource>

    <TeiSource Id="Ata2016">
      <Tei Key="MFR" >
        <Description>
          MFR – is used to indicate the CAGE code of the enterprise that controls the serial number of the	part, or for non-serialized parts the enterprise that assigns the unique Identity to the part. Use MFR if the Manufacturer of the part has provided the Serial Number. Use SPL if the unique identifier (UCN) is addedafter the part is in service by a company other than the manufacturer. Only one of MFR or SPL is permitted
          on a tag, not both.
        </Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SPL" Name="Supplier Code">
        <Description>
          SPL – is used to indicate the CAGE code of the enterprise that controls the serial number of the	part, or for non-serialized parts the enterprise that assigns the unique Identity to the part. Use MFR if the Manufacturer of the part has provided the Serial Number. Use SPL if the unique identifier (UCN) is addedafter the part is in service by a company other than the manufacturer. Only one of MFR or SPL is permitted
          on a tag, not both.
        </Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SER" >
        <Description>
          SER or SEQ or UCN – the serial number of the tagged item that allows for MFR/SER to be a globally unique number. Required for serialized parts; i.e. if the serial number exists it must be included.
          a. If the Serial Number is globally unique across the Manufacturer, SER shall be used.
          b. If the Serial Number is not unique globally across the manufacturer, but rather is unique within	Original Part Number, SEQ shall be used.
          c. If the original part is not serialized and a serial number is added by the owner after birth, UCN shall be used (in conjunction with SPL in the CAGE code field).
          Only one of SER or SEQ or UCN is permitted on a tag, never more than one.
        </Description>
        <ValidationRules>
          <LengthRule Min="1" Max="30" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SEQ" Name="Sequential Part Serial Number">
        <Description>
          SER or SEQ or UCN – the serial number of the tagged item that allows for MFR/SER to be a globally unique number. Required for serialized parts; i.e. if the serial number exists it must be included.
          a. If the Serial Number is globally unique across the Manufacturer, SER shall be used.
          b. If the Serial Number is not unique globally across the manufacturer, but rather is unique within	Original Part Number, SEQ shall be used.
          c. If the original part is not serialized and a serial number is added by the owner after birth, UCN shall be used (in conjunction with SPL in the CAGE code field).
          Only one of SER or SEQ or UCN is permitted on a tag, never more than one.
        </Description>
        <ValidationRules>
          <LengthRule Min="1" Max="30" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="UCN" Name="Unique Component Identification Number">
        <Description>
          SER or SEQ or UCN – the serial number of the tagged item that allows for MFR/SER to be a globally unique number. Required for serialized parts; i.e. if the serial number exists it must be included.
          a. If the Serial Number is globally unique across the Manufacturer, SER shall be used.
          b. If the Serial Number is not unique globally across the manufacturer, but rather is unique within	Original Part Number, SEQ shall be used.
          c. If the original part is not serialized and a serial number is added by the owner after birth, UCN shall be used (in conjunction with SPL in the CAGE code field).
          Only one of SER or SEQ or UCN is permitted on a tag, never more than one.
        </Description>
        <ValidationRules>
          <LengthRule Min="1" Max="30" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PNO" Name="Original Part Number">
        <Description>PNO (Part Number Original) is always required. For legacy part marking it can be the current part number if the original part number is unknown.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="UIC" Name="UID Construct Number">
        <Description>UIC is the UID Construct Number– only values of 1 or 2 are allowed. This field is required for serialized parts. A value of 1 indicates the part is serialized using either SER or UCN. A value of 2 indicates the part is serialized using a sequence number only (SEQ) and requires PNO to make a globally unique identity. For non-serialized parts, UIC shall be omitted.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="uic_codes" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PDT" Name="Part Description">
        <Description>PDT, the Part Description Text data field, is mandatory and must have non-blank and non-null characters in the value field. The Part Description (PDT) field is constrained from the CSDD definition to no more than 32 alphanumeric characters.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
          <TeiRule Ref="uppercase_alphanumeric_special" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="DMF" Name="Manufacture Date">
        <Description>DMF, the Manufacture Date using the format YYYYMMDD. This field is required for all new parts and whenever the DMF is known. For legacy parts, the entry may be omitted if the DMF is not known.</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ICC" Name="International Commodity Code">
        <Description>ICC, the International Commodity Code is equivalent to the first 6 characters of the International Harmonized Commodity Description code. Those codes may be found online on government web sites. The valid format for the ICC value is numeric only. Current detailed information can be found on the United States International Trade Commission web site: http://www.usitc.gov/tata/hts/index.htm. See Chapter 88.</Description>
        <ValidationRules>
          <LengthRule Min="6" Max="6" />
          <TeiRule Ref="numeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="WGT" Name="Weight">
        <Description>WGT is the original manufactured weight of the unit. It shall be used in conjunction with UNT which	identifies the Unit of Measure Code (such as pounds or kilograms). A primary purpose of this data element is to provide the mechanic an approximate weight for human factors issues. It is not meant to be an exact	weight for configuration management purposes, or to include any changeable values like the weight of drainable fluids that may later be loaded into the component. Required field if the tagged item weighs more than 75 lbs (34 kg).</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="8" />
          <TeiRule Ref="numeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="UNT" Name="Unit of Measure code">
        <Description>UNT – Mandatory when WGT data is included. The only valid codes are either LB or KG.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="measurement_units" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="HAZ" Name="Hazardous Material Code">
        <Description>HAZ, the Hazardous Material Code is required if the item has hazard material as defined in the Technical Instruction for Safe Transport of Dangerous Goods by Air, International Civil Aviation Organization (ICAO). Multiple HAZ value pairs are permitted for parts that meet multiple hazardous material conditions.</Description>
        <ValidationRules>
          <LengthRule Min="6" Max="6" />
          <TeiRule Ref="haz" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ESD" Name="Electrostatic Sensitive Device Indicator">
        <Description>ESD, the Electrostatic Sensitive Device Indicator, is required, with a value of 1if ESD handling precautions are necessary or recommended; otherwise do not use the field.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="1" />
          <TeiRule Ref="indicator" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="EXP">
        <Description>EXP (Expiration Date) is required if the part has a shelf life expiration date. This should not be confused	with hard time items that should be tracked external to the RFID tag (see LLE below).</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LLE" Name="Life Limited Equipment Indicator">
        <Description>LLE - Life Limited Equipment Indicator is Mandatory if the part is limited life equipment. A value of 1 in the value field indicates a limited life part; otherwise do not use the field.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="1" />
          <TeiRule Ref="indicator" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LOT" Name="Lot Number">
        <Description>LOT, Lot Number is a Conditional field indicating whether this component was part of a batch of parts that the OEM wanted to track by a batch number. The field is required for onserialized parts that have Lot Numbers.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_start_with_dash" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LTN" Name="Enterprise Lot Number">
        <Description>LTN, Enterprise Lot Number is a Conditional field indicating whether this component was part of a batch of parts that the OEM wanted to track by a batch number. The field is required for onserialized parts that have Lot Numbers.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="15" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_start_with_dash" />
          <TeiRule Ref="not_end_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="CNT" Name="Country of Manufacture">
        <Description>CNT, Country of Manufacture, is a Conditional, 2-character code indicating which country the component was manufactured in. The list of two character ISO country codes are defined here: http://www.iso.org/iso/country_names_and_code_elements. Components manufactured/assembled in multiple countries should use the Country of Manufacture according to appropriate regulations.</Description>
        <ValidationRules>
          <LengthRule Min="2" Max="2" />
          <AllowableValueRule OptionCollectionRef="country_codes" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ECC" Name="Export Control Classification Number">
        <Description>ECC is the Export Control Classification Number and is an alphanumeric classification used in the Commerce Control List to identify items for export control purposes. Aerospace manufacturers usually are aware of ECC Numbers before shipping a part, but they can also be determined via the following web site: 	http://www.bis.doc.gov/policiesandregulations/index.htm#ear.</Description>
        <ValidationRules>
          <LengthRule Min="5" Max="14" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="SWI" Name="Software Indicator">
        <Description>SWI, the Software Indicator indicates the part includes an upgradable software component. This field is required, with a value of 1 if the part has an upgradeable software component; otherwise do not use the field</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="1" />
          <TeiRule Ref="indicator" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="TDN" Name="Certificate Tracking Number">
        <Description>TDN, Certificate Tracking Number is the tracking number established by the organization or individual issuing airworthiness or conformance data that uniquely identifies the information set. This is a Conditional data element is up to 32 characters in length and represents the unique tracking number found on an FAA 8130-3, EASA Form 1, or equivalent documents. In the context of the birth record, this is the Certificate Tracking Number provided by the manufacturer on the original part. If the Certificate Tracking Number is not available at the time the part is manufactured, but required by regulations upon shipment to the customer, it shall be stored in the Lifecycle Record.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="NSN" Name="NATO Stock Number">
        <Description>NSN, NATO Stock Number is a fixed-length, 13 numeric digits (e.g., 1005131234567) that are typically displayed, for better human readability and accuracy, with dashes inserted (e.g., 1005-13-123-4567). The data must be stored on the AIT tag without dashes. It is recommended that the dashes be included when	displayed. Source reference for the NSN construct is: www.nato.int/structur/AC/135/ncs_guide/english/e_1-6-5.htm This field may be used for companies expecting their components to be sold to the government.</Description>
        <ValidationRules>
          <LengthRule Min="13" Max="13" />
          <TeiRule Ref="numeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="FAB" Name="Fabricator">
        <Description>FAB, Fabricator, represents the CAGE Code of a company that fabricates the part, but does not hold the design authority responsible for the actual Part Number. This may be required by the design authority on	certain parts.</Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PNR" Name="Part Number">
        <Description>PNR – is a Mandatory field used to indicate the Current Part Number. Note that normally, when newly manufactured part is being commissioned, the PNR in the Lifecycle Record will equal the PNO in the Birth Record. If the PNO has been upgraded, the upgraded part number will be written to the PNR field.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
          <TeiRule Ref="serial_number" />
          <TeiRule Ref="not_end_with_dash" />
          <TeiRule Ref="not_start_with_dash" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="PML" Name="Part Modification Level">
        <Description>PML, Part Modification Level, is a 1 to 100 character A/N data element indicating the mod level status of a part before it leaves the OEM’s facility as a new part. The field length is restricted from what is defined in [csdd]. Note that in the context of the birth record, this only shows the modification level of the part at the time it leaves the factory. On-going changes to the mod level will be stored in the Current Data Record and the Part History Records. This field is required if the part has been modified beyond its basic part number at time of delivery. If more than one mod is included, they are all included in the value field of a single PML entry and separated by commas only (no spaces).</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="100" />
          <TeiRule Ref="uppercase_alphanumeric_special" />
          <RegexRule Description="Value cannot start with a comma." Pattern="^(?!,).*$" />
          <RegexRule Description="Value cannot end with a comma." Pattern="^.*(?&lt;!,)$" />
          <RegexRule Description="Value cannot contain consecutive commas." Pattern="^(?!.*,,).*$" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ONR" Name="Owner's Code">
        <Description>Owner's Code (For Borrowed Parts)</Description>
        <ValidationRules>
          <LengthRule Min="2" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ASN" Name="Airline Stock Number">
        <Description>Internal identification that has been applied to a part or unit in an airline's inventory. The Airline Stock Number is used in addition to other identification by the manufacturer or distributor of the part.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="11" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="DOH" Name="Hydrostatic Test Date">
        <Description>DOH – Hydrostatic Test Date is required when a Hydrostatic Test has been done. The latest DOH, if any will be shown in the Lifecycle Record.</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="CND" Name="Condition Code">
        <Description>CND – Condition Code shows the most recent condition of the part and shall always be provided.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="service_codes" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ACT" Name="Action Code">
        <Description>Describes the action taken relative to a given part, component or lot.</Description>
        <ValidationRules>
          <AllowableValueRule OptionCollectionRef="action_codes" />
        </ValidationRules>
      </Tei>

      <Tei Key="NHA" Name="Next Higher Assembly Part Number">
        <Description>The part number of the assembly on which the particular item under discussion is attached or is a part of either directly or through intermediate attaching parts.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="AIN" Name="Aircraft Identification Number">
        <Description>The manufacturer's permanently‐applied serial number for the airframe.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="10" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="FHL">
        <Description>The total number of aircraft flying hours achieved by the Model of Applicability Code (MOA) within the customer's fleet during the reporting period.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="6" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="FCL" >
        <Description>Specifies the total number of flight cycles achieved by the Model of Applicability (MOA) within the customer's fleet for the reporting period.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="6" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="LAC" >
        <Description>Identifies the location a part / component is used on an aircraft.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="13" />
        </ValidationRules>
      </Tei>

      <Tei Key="RMT" Name="Removal Reason Text">
        <Description>This field contains the text explaining the reason a component was removed from an aircraft. It should indicate the observed failure in the operational environment (e.g., PIREP).</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="30" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="RTI" Name="Removal Tracking Identifier">
        <Description>A unique identifier that is applied to a 'Line Replaceable Unit (LRU) Removal Record' so that the LRU can be tracked through the entire removal process. This identifier can be used to link the original LRU Removal Record to Shop Findings Records and Piece Part Records.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="50" />
        </ValidationRules>
      </Tei>

      <Tei Key="RMD" Name="Repair Description">
        <Description>Identifies the specific repairs or modifications made to a part.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="50" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="RAP" Name="Repair Approval Reference Text">
        <Description>Specifies a description of approval for a specific repair task.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="20" />
        </ValidationRules>
      </Tei>

      <Tei Key="OHM" Name="Overhaul Manual Reference Number">
        <Description>The section of the OEM's repair manual that defines the required work scope for a part or component.</Description>
        <ValidationRules>
          <LengthRule Min="6" Max="20" />
        </ValidationRules>
      </Tei>

      <Tei Key="STN" Name="Modification/STC Number">
        <Description>Specifies the numeric identifier of a service bulletin. This identifier is structured and must include information regarding the aircraft or engine type, the model, the ATA number, and the sequence number necessary to uniquely identify the service bulletin.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="25" />
        </ValidationRules>
      </Tei>

      <Tei Key="SFT" Name="Software Part Number">
        <Description>The manufacturer's, supplier's or industry standard identity of an embedded software program in a programmed memory device.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="32" />
        </ValidationRules>
      </Tei>

      <Tei Key="MNC" Name="Maintenance Action Station Code">
        <Description>Specifies the station location where a specified maintenance action was performed.</Description>
        <ValidationRules>
          <LengthRule Min="3" Max="5" />
        </ValidationRules>
      </Tei>

      <Tei Key="SHT" Name="Ship-To Code">
        <Description>Identifies the shipment destination address including required marks and information which must be displayed on shipping containers. May also convey applicability or exclusion of specific taxes or charges relating to the shipment destination.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="5" />
        </ValidationRules>
      </Tei>

      <Tei Key="IFC" Name="Inspection Findings Code">
        <Description>This code provides the verified reason for removal of the subject part, or the warrantor's technical findings when accepting or denying a warranty claim.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="3" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="IMD" Name="Inspection Method Description">
        <Description>Provides a text description of the inspection method</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="25" />
        </ValidationRules>
      </Tei>

      <Tei Key="ACR" Name="Action Description">
        <Description>A textual description of an action taken to a component or part.</Description>
        <ValidationRules>
          <LengthRule Min="1" Max="25" />
        </ValidationRules>
      </Tei>

      <Tei Key="REM" Name="Remarks Text/Description Text">
        <Description>Provides general comments to supplement other textual descriptions.</Description>
      </Tei>

      <Tei Key="ACO" Name="Action Company Cage Code">
        <Description>ACO – The Cage Code of the company making the entry.</Description>
        <ValidationRules>
          <LengthRule Min="5" Max="5" />
          <TeiRule Ref="uppercase_alphanumeric" />
        </ValidationRules>
      </Tei>
      
      <Tei Key="ACD" Name="Action Date">
        <Description>ACD – The date the entry is written to the tag.</Description>
        <ValidationRules>
          <DateRule Format="yyyyMMdd" />
        </ValidationRules>
      </Tei>
    </TeiSource>
  </TeiSources>

  <AtaSpecs>
    <AtaSpec Id="Ata2013" TeiSource="Ata2013" EpcFilterOptions="epcfilters_2013" Display="Ata 2013 Specification">
      <Tag Format="SingleRecordBirth">
        <TableOfContents Version="4.0" HeaderSize="4" RecordDescriptorSize="2" IsCrcWritten="true" />
      
        <Record Type="Birth" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="MFR" Name="Manufacturer Code"/>
          <Tei Key="SPL" />
          <Tei Key="SER" Name="Part Serial Number"/>
          <Tei Key="SEQ" />
          <Tei Key="UCN" />
          <Tei Key="PNO" />
          <Tei Key="UIC" />
          <Tei Key="PDT" />
          <Tei Key="DMF" />
          <Tei Key="ICC" />
          <Tei Key="WGT" />
          <Tei Key="UNT" />
          <Tei Key="HAZ" />
          <Tei Key="ESD" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="LLE" />
          <Tei Key="LOT" />
          <Tei Key="LTN" />
          <Tei Key="CNT" />
          <Tei Key="ECC" />
          <Tei Key="SWI" />
          <Tei Key="OPN" />
          <Tei Key="TDN" />
          <Tei Key="NSN" />
          <Tei Key="FAB" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNO,PDT,ICC" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
            <ManufacturerCodeRule />
            <SerialNumberRule />
            <LotNumberRule />
            <WeightRule />
            <UidConstructRule />
          </ValidationRules>
        </Record>

        <ValidationRules>
          <CorrectedTagMatchRule/>
          <UniqueRecordRule/>
          <RequireRecordRule RecordTypes="Birth" />
          <PayloadFormatRule />
          <SingleRecordCrcRule/>
        </ValidationRules>

      </Tag>
      
      <Tag Format="DualRecord">
        <TableOfContents Version="4.0" HeaderSize="4" RecordDescriptorSize="2" IsCrcWritten="true" />
        <Record Type="Lifecycle" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="PNR" Name="Part Number"/>
          <Tei Key="PML" />
          <Tei Key="OPN" />
          <Tei Key="CND" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="DOH" />
          <Tei Key="TDN" />
          <Tei Key="HAZ" />
          <!-- Can include any other TEIs from CSDD -->
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNR,CND" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
          </ValidationRules>
        </Record>
        <Record Type="Birth" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="MFR" Name="Manufacturer Code"/>
          <Tei Key="SPL" />
          <Tei Key="SER" Name="Part Serial Number"/>
          <Tei Key="SEQ" />
          <Tei Key="UCN" />
          <Tei Key="PNO" />
          <Tei Key="UIC" />
          <Tei Key="PDT" />
          <Tei Key="DMF" />
          <Tei Key="ICC" />
          <Tei Key="WGT" />
          <Tei Key="UNT" />
          <Tei Key="HAZ" />
          <Tei Key="ESD" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="LLE" />
          <Tei Key="LOT" />
          <Tei Key="LTN" />
          <Tei Key="CNT" />
          <Tei Key="ECC" />
          <Tei Key="SWI" />
          <Tei Key="OPN" />
          <Tei Key="TDN" />
          <Tei Key="NSN" />
          <Tei Key="FAB" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNO,PDT,ICC" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
            <ManufacturerCodeRule />
            <SerialNumberRule />
            <LotNumberRule />
            <WeightRule />
            <UidConstructRule />
          </ValidationRules>
        </Record>

        <ValidationRules>
          <CorrectedTagMatchRule/>
          <UniqueRecordRule/>
          <RequireRecordRule RecordTypes="Birth,Lifecycle" />
          <PayloadFormatRule />
        </ValidationRules>
        
      </Tag>
      <Tag Format="MultiRecord">
        <TableOfContents Version="4.0" HeaderSize="4" RecordDescriptorSize="2" IsCrcWritten="true"
                         IsTimestampIncluded="true" />
        <Record Type="CurrentData" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="PNR" Name="Part Number"/>
          <Tei Key="PML" />
          <Tei Key="OPN" />
          <Tei Key="CND" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="TDN" />
          <Tei Key="HAZ" />
          <Tei Key="ONR" />
          <Tei Key="LAC" />
          <Tei Key="ASN" />
          <ValidationRules>
            <EncodingRule />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
          </ValidationRules>
        </Record>
        <Record Type="UserScratchpad" Encoding="Ascii8Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="ACO" />
          <Tei Key="ACD" />
          <Tei Key="REM" >
            <ValidationRules>
              <LengthRule Min="1" Max="344" />
            </ValidationRules>
          </Tei>
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="ACO,ACD" IgnoreWhenEmpty="true" />
          </ValidationRules>
        </Record>
        <Record Type="Birth" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="MFR" Name="Manufacturer Code"/>
          <Tei Key="SPL" />
          <Tei Key="SER" Name="Part Serial Number"/>
          <Tei Key="SEQ" />
          <Tei Key="UCN" />
          <Tei Key="PNO" />
          <Tei Key="UIC" />
          <Tei Key="PDT" />
          <Tei Key="DMF" />
          <Tei Key="ICC" />
          <Tei Key="WGT" />
          <Tei Key="UNT" />
          <Tei Key="HAZ" />
          <Tei Key="ESD" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="LLE" />
          <Tei Key="LOT" />
          <Tei Key="LTN" />
          <Tei Key="CNT" />
          <Tei Key="ECC" />
          <Tei Key="SWI" />
          <Tei Key="OPN" />
          <Tei Key="TDN" />
          <Tei Key="PML" />
          <Tei Key="NSN" />
          <Tei Key="FAB" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNO,PDT,ICC" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
            <ManufacturerCodeRule />
            <SerialNumberRule />
            <LotNumberRule />
            <WeightRule />
            <UidConstructRule />
          </ValidationRules>
        </Record>
        <Record Type="PartHistory" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="ACT">
            <Condition Value="INS">
              <Tei Key="NHA" />
              <Tei Key="AIN" />
              <Tei Key="FHL" Name="Aircraft Flight Hours at installation"/>
              <Tei Key="FCL" Name="Aircraft Flight Cycles at installation"/>
              <Tei Key="LAC" Name="Location at Aircraft at installation"/>
              <ValidationRules>
                <RequireRule Teis="AIN" />
              </ValidationRules>
            </Condition>

            <Condition Value="RMV">
              <Tei Key="NHA" />
              <Tei Key="AIN" />
              <Tei Key="FHL" Name="Aircraft Flight Hours at removal"/>
              <Tei Key="FCL" Name="Aircraft Flight Cycles at removal"/>
              <Tei Key="LAC" Name="Location at Aircraft at removal"/>
              <Tei Key="RMT" />
              <Tei Key="RTI" />
              <ValidationRules>
                <RequireRule Teis="AIN,RMT" />
              </ValidationRules>
              <RecordTeiRemove RecordType="CurrentData" Teis="LAC"/>
            </Condition>

            <Condition Value="RPR">
              <Tei Key="RMD" />
              <Tei Key="RAP" />
            </Condition>

            <Condition Value="OVH">
              <Tei Key="EXP" Name="New Expiration Date"/>
              <Tei Key="OHM" />
            </Condition>

            <Condition Value="MOD">
              <Tei Key="PNR" Name="New Part Number"/>
              <Tei Key="STN" />
              <Tei Key="PML" />
              <Tei Key="SFT" />
            </Condition>

            <Condition Value="EXC">
              <Tei Key="MFR" Name="Exchanged part Cage Code"/>
              <Tei Key="SER" Name="Exchanged part Serial Number"/>
              <Tei Key="PNR" Name="Exchanged Part number"/>
              <ValidationRules>
                <RequireRule Teis="MFR,SER,PNR" />
              </ValidationRules>
            </Condition>

            <Condition Value="SRV">
              <Tei Key="MNC" />
            </Condition>

            <Condition Value="SHP">
              <Tei Key="SHT" />
            </Condition>

            <Condition Value="RCD">
              <Tei Key="MFR" Name="Cage Code of Previous Holder"/>
              <Tei Key="SPL" />
              <ValidationRules>
                <ManufacturerCodeRule />
              </ValidationRules>
            </Condition>

            <Condition Value="INP">
              <Tei Key="IFC" />
              <Tei Key="IMD" />
            </Condition>

            <Condition Value="OTH">
              <Tei Key="ACR" />
              <Tei Key="REM" >
                <ValidationRules>
                  <LengthRule Min="1" Max="50" />
                </ValidationRules>
              </Tei>
              <ValidationRules>
                <RequireRule Teis="ACR" />
              </ValidationRules>
            </Condition>
          </Tei>
          <Tei Key="ACO" />
          <Tei Key="ACD" />
          <Tei Key="CND" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="ACT,ACO,ACD,CND" />
            <UniqueRule/>
          </ValidationRules>
        </Record>
        <ValidationRules>
          <CurrentDataContentRule/>
          <CorrectedTagMatchRule/>
          <UniqueRecordRule Exclusions="PartHistory" />
          <RequireRecordRule RecordTypes="Birth,CurrentData,UserScratchpad"/>
          <PayloadFormatRule />
        </ValidationRules>
      </Tag>
    </AtaSpec>
    
    <AtaSpec Id="Ata2016" TeiSource="Ata2016" EpcFilterOptions="epcfilters_2016" Display="Ata 2016 Specification">
      <Tag Format="SingleRecordUtility">
        <TableOfContents Version="4.1" HeaderSize="4" RecordDescriptorSize="0" IsCrcWritten="true" />

        <Record Type="Birth" Encoding="Ascii6Bit" BusinessDataVersion="2" DataRecordVersion="1">
          <Tei Key="MFR" Name="Manufacturer Code"/>
          <Tei Key="SPL" />
          <Tei Key="SER" Name="Part Serial Number"/>
          <Tei Key="SEQ" />
          <Tei Key="UCN" />
          <Tei Key="PNO" />
          <Tei Key="UIC" />
          <Tei Key="PDT" />
          <Tei Key="DMF" />
          <Tei Key="ICC" />
          <Tei Key="WGT" />
          <Tei Key="UNT" />
          <Tei Key="HAZ" />
          <Tei Key="ESD" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="LLE" />
          <Tei Key="LOT" />
          <Tei Key="LTN" />
          <Tei Key="CNT" />
          <Tei Key="ECC" />
          <Tei Key="SWI" />
          <Tei Key="TDN" />
          <Tei Key="NSN" />
          <Tei Key="FAB" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNO" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
            <ManufacturerCodeRule />
            <SerialNumberRule />
            <LotNumberRule />
            <WeightRule />
            <UidConstructRule />
          </ValidationRules>
        </Record>
        <ValidationRules>
          <UniqueRecordRule/>
          <RequireRecordRule RecordTypes="Birth"/>
          <PayloadFormatRule />
        </ValidationRules>
      </Tag>

      <Tag Format="SingleRecordBirth">
        <TableOfContents Version="4.1" HeaderSize="4" RecordDescriptorSize="0" IsCrcWritten="true" />
       
        <Record Type="Birth" Encoding="Ascii6Bit" BusinessDataVersion="2" DataRecordVersion="1">
          <Tei Key="MFR" Name="Manufacturer Code"/>
          <Tei Key="SPL" />
          <Tei Key="SER" Name="Part Serial Number"/>
          <Tei Key="SEQ" />
          <Tei Key="UCN" />
          <Tei Key="PNO" />
          <Tei Key="UIC" />
          <Tei Key="PDT" />
          <Tei Key="DMF" />
          <Tei Key="ICC" />
          <Tei Key="WGT" />
          <Tei Key="UNT" />
          <Tei Key="HAZ" />
          <Tei Key="ESD" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="LLE" />
          <Tei Key="LOT" />
          <Tei Key="LTN" />
          <Tei Key="CNT" />
          <Tei Key="ECC" />
          <Tei Key="SWI" />
          <Tei Key="TDN" />
          <Tei Key="NSN" />
          <Tei Key="FAB" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNO" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
            <ManufacturerCodeRule />
            <SerialNumberRule />
            <LotNumberRule />
            <WeightRule />
            <UidConstructRule />
          </ValidationRules>
        </Record>
        <ValidationRules>
          <CorrectedTagMatchRule/>
          <UniqueRecordRule/>
          <RequireRecordRule RecordTypes="Birth"/>
          <PayloadFormatRule />
          <SingleRecordCrcRule/>
        </ValidationRules>
      </Tag>
        
      <Tag Format="DualRecord">
        <TableOfContents Version="4.1" HeaderSize="4" RecordDescriptorSize="2" IsCrcWritten="true" />
        <Record Type="Lifecycle" Encoding="Ascii6Bit" BusinessDataVersion="2" DataRecordVersion="1">
          <Tei Key="PNR" Name="Part Number"/>
          <Tei Key="PML" />
          <Tei Key="CND" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="DOH" />
          <Tei Key="TDN" />
          <Tei Key="HAZ" />
          <!-- Can include any other TEIs from CSDD -->
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNR" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
          </ValidationRules>
        </Record>
        <Record Type="Birth" Encoding="Ascii6Bit" BusinessDataVersion="2" DataRecordVersion="1">
          <Tei Key="MFR" Name="Manufacturer Code"/>
          <Tei Key="SPL" />
          <Tei Key="SER" Name="Part Serial Number"/>
          <Tei Key="SEQ" />
          <Tei Key="UCN" />
          <Tei Key="PNO" />
          <Tei Key="UIC" />
          <Tei Key="PDT" />
          <Tei Key="DMF" />
          <Tei Key="ICC" />
          <Tei Key="WGT" />
          <Tei Key="UNT" />
          <Tei Key="HAZ" />
          <Tei Key="ESD" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="LLE" />
          <Tei Key="LOT" />
          <Tei Key="LTN" />
          <Tei Key="CNT" />
          <Tei Key="ECC" />
          <Tei Key="SWI" />
          <Tei Key="TDN" />
          <Tei Key="NSN" />
          <Tei Key="FAB" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNO" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
            <ManufacturerCodeRule />
            <SerialNumberRule />
            <LotNumberRule />
            <WeightRule />
            <UidConstructRule />
          </ValidationRules>
        </Record>
        <ValidationRules>
          <CorrectedTagMatchRule/>
          <UniqueRecordRule/>
          <RequireRecordRule RecordTypes="Birth,Lifecycle"/>
          <PayloadFormatRule />
        </ValidationRules>
      </Tag>
      
      <Tag Format="MultiRecord">
        <TableOfContents Version="4.1" HeaderSize="4" RecordDescriptorSize="2" IsCrcWritten="true" />

        <Record Type="CurrentData" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="PNR" Name="Part Number"/>
          <Tei Key="PML" />
          <Tei Key="CND" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="TDN" />
          <Tei Key="HAZ" />
          <Tei Key="ONR" />
          <Tei Key="LAC" />
          <Tei Key="ASN" />
          <ValidationRules>
            <EncodingRule />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
          </ValidationRules>
        </Record>

        <Record Type="UserScratchpad" Encoding="Ascii8Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="ACO" />
          <Tei Key="ACD" />
          <Tei Key="REM" >
            <ValidationRules>
              <LengthRule Min="1" Max="344" />
            </ValidationRules>
          </Tei>
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="ACO,ACD" IgnoreWhenEmpty="true"/>
          </ValidationRules>
        </Record>
        
        <Record Type="Birth" Encoding="Ascii6Bit" BusinessDataVersion="2" DataRecordVersion="1">
          <Tei Key="MFR" Name="Manufacturer Code"/>
          <Tei Key="SPL" />
          <Tei Key="SER" Name="Part Serial Number"/>
          <Tei Key="SEQ" />
          <Tei Key="UCN" />
          <Tei Key="PNO" />
          <Tei Key="UIC" />
          <Tei Key="PDT" />
          <Tei Key="DMF" />
          <Tei Key="ICC" />
          <Tei Key="WGT" />
          <Tei Key="UNT" />
          <Tei Key="HAZ" />
          <Tei Key="ESD" />
          <Tei Key="EXP" Name="Expiration Date"/>
          <Tei Key="LLE" />
          <Tei Key="LOT" />
          <Tei Key="LTN" />
          <Tei Key="CNT" />
          <Tei Key="ECC" />
          <Tei Key="SWI" />
          <Tei Key="TDN" />
          <Tei Key="PML" />
          <Tei Key="NSN" />
          <Tei Key="FAB" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="PNO,PDT" />
            <UniqueRule Exclusions="HAZ" />
            <MultipleAllowedRule Key="HAZ" MaxNumberOfEntries="3" />
            <ManufacturerCodeRule />
            <SerialNumberRule />
            <LotNumberRule />
            <WeightRule />
            <UidConstructRule />
          </ValidationRules>
        </Record>

        <Record Type="PartHistory" Encoding="Ascii6Bit" BusinessDataVersion="1" DataRecordVersion="1">
          <Tei Key="ACT">
            <Condition Value="INS">
              <Tei Key="NHA" />
              <Tei Key="AIN" />
              <Tei Key="FHL" Name="Aircraft Flight Hours at installation"/>
              <Tei Key="FCL" Name="Aircraft Flight Cycles at installation"/>
              <Tei Key="LAC" Name="Location at Aircraft at installation"/>
              <ValidationRules>
                <RequireRule Teis="AIN" />
              </ValidationRules>
            </Condition>

            <Condition Value="RMV">
              <Tei Key="NHA" />
              <Tei Key="AIN" />
              <Tei Key="FHL" Name="Aircraft Flight Hours at removal"/>
              <Tei Key="FCL" Name="Aircraft Flight Cycles at removal"/>
              <Tei Key="LAC" Name="Location at Aircraft at removal"/>
              <Tei Key="RMT" />
              <Tei Key="RTI" />
              <ValidationRules>
                <RequireRule Teis="AIN,RMT" />
              </ValidationRules>
              <RecordTeiRemove RecordType="CurrentData" Teis="LAC"/>              
            </Condition>

            <Condition Value="RPR">
              <Tei Key="RMD" />
              <Tei Key="RAP" />
            </Condition>

            <Condition Value="OVH">
              <Tei Key="EXP" Name="New Expiration Date"/>
              <Tei Key="OHM" />
            </Condition>

            <Condition Value="MOD">
              <Tei Key="PNR" Name="New Part Number"/>
              <Tei Key="STN" />
              <Tei Key="PML" />
              <Tei Key="SFT" />
            </Condition>

            <Condition Value="EXC">
              <Tei Key="MFR" Name="Exchanged part Cage Code"/>
              <Tei Key="SER" Name="Exchanged part Serial Number"/>
              <Tei Key="PNR" Name="Exchanged Part number"/>
              <ValidationRules>
                <RequireRule Teis="MFR,SER,PNR" />
              </ValidationRules>
            </Condition>

            <Condition Value="SRV">
              <Tei Key="MNC" />
            </Condition>

            <Condition Value="SHP">
              <Tei Key="SHT" />
            </Condition>

            <Condition Value="RCD">
              <Tei Key="MFR" Name="Cage Code of Previous Holder"/>
              <Tei Key="SPL" />
              <ValidationRules>
                <ManufacturerCodeRule />
              </ValidationRules>
            </Condition>

            <Condition Value="INP">
              <Tei Key="IFC" />
              <Tei Key="IMD" />
            </Condition>

            <Condition Value="OTH">
              <Tei Key="ACR" />
              <Tei Key="REM" >
                <ValidationRules>
                  <LengthRule Min="1" Max="50" />
                </ValidationRules>
              </Tei>
              <ValidationRules>
                <RequireRule Teis="ACR" />
              </ValidationRules>
            </Condition>
          </Tei>
          <Tei Key="ACO" />
          <Tei Key="ACD" />
          <Tei Key="CND" />
          <ValidationRules>
            <EncodingRule />
            <RequireRule Teis="ACT,ACO,ACD,CND" />
            <UniqueRule/>
          </ValidationRules>
        </Record>
        <ValidationRules>
          <CurrentDataContentRule/>
          <CorrectedTagMatchRule/>
          <UniqueRecordRule Exclusions="PartHistory" />
          <RequireRecordRule RecordTypes="Birth,CurrentData,UserScratchpad"/>
          <PayloadFormatRule />
        </ValidationRules>
      </Tag>
    </AtaSpec>
  </AtaSpecs>

  <Workflows>
    <Workflow Type="Read" Display="Read" Id="8" EpcFilterOptions="epcfilters_2013">
      <Workflow Type="UpdateLifecycleRecord"
                Display="Update Lifecycle Record 2013"
                Id="8.1"
                TagFormat="DualRecord"
                AtaSpecId="Ata2013">

        <WorkflowTei Key="PNR"
                     Name="Part Number"
                     RecordType="Lifecycle"/>

        <WorkflowTei Key="EXP"
                     RecordType="Lifecycle"
                     InputType="Date"/>

        <WorkflowTei Key="CND"
                     RecordType="Lifecycle"
                     InputType="List"
                     Options="service_codes"/>

      </Workflow>

      <Workflow Type="UpdateLifecycleRecord"
                Display="Update Lifecycle Record 2016"
                Id="8.2"
                TagFormat="DualRecord"
                AtaSpecId="Ata2016">

        <WorkflowTei Key="PNR"
                     Name="Part Number"
                     RecordType="Lifecycle"/>

        <WorkflowTei Key="EXP"
                     RecordType="Lifecycle"
                     InputType="Date"/>

        <WorkflowTei Key="CND"
                     RecordType="Lifecycle"
                     InputType="List"
                     Options="service_codes"/>
      </Workflow>

	    <Workflow Type="AddUserScratchpadEntry"
	              Display="Add User Scratchpad Entry 2013"
	              Id="8.3"
	              TagFormat="MultiRecord"
	              AtaSpecId="Ata2013">
        <WorkflowTei Key="ACO"
                     RecordType="UserScratchpad"/>

        <WorkflowTei Key="ACD"
                     RecordType="UserScratchpad"
                     InputType="Date"/>

        <WorkflowTei Key="REM"
                     RecordType="UserScratchpad"/>
      </Workflow>

      <Workflow Type="AddUserScratchpadEntry"
                Display="Add User Scratchpad Entry 2016"
                Id="8.4"
                TagFormat="MultiRecord"
                AtaSpecId="Ata2016">
        <WorkflowTei Key="ACO"
                     RecordType="UserScratchpad"/>

        <WorkflowTei Key="ACD"
                     RecordType="UserScratchpad"
                     InputType="Date"/>

        <WorkflowTei Key="REM"
                     RecordType="UserScratchpad"/>
      </Workflow>

      <Workflow Type="AddPartHistoryRecord"
                Display="Mandatory Part History Record 2013"
                Id="8.5"
                TagFormat="MultiRecord"
                AtaSpecId="Ata2013">
        <WorkflowTei Key="ACO"
                     RecordType="PartHistory"/>

        <WorkflowTei Key="ACD"
                     RecordType="PartHistory"
                     InputType="Date"/>

        <WorkflowTei Key="CND"
                     RecordType="PartHistory"
                     InputType="List"
                     Options="service_codes"
                     DefaultValue="SRV" />

        <ActionWorkflowTei Key="ACT" RecordType="PartHistory" IsEnabled="false">
          <Condition Value="INS" Description="Installed">
            <WorkflowTei Key="NHA" />
            <WorkflowTei Key="AIN" />
            <WorkflowTei Key="FHL" />
            <WorkflowTei Key="FCL" />
            <WorkflowTei Key="LAC" />
          </Condition>

          <Condition Value="RMV" Description="Removed">
            <WorkflowTei Key="NHA" />
            <WorkflowTei Key="AIN" />
            <WorkflowTei Key="FHL" />
            <WorkflowTei Key="FCL" />
            <WorkflowTei Key="LAC" />
            <WorkflowTei Key="RMT" />
            <WorkflowTei Key="RTI" />
          </Condition>

          <Condition Value="RPR" Description="Repaired">
            <WorkflowTei Key="RMD"/>
            <WorkflowTei Key="RAP"/>
          </Condition>

          <Condition Value="OVH" Description="Overhauled">
            <WorkflowTei Key="EXP"
                         InputType="Date"/>
            <WorkflowTei Key="OHM"/>
          </Condition>

          <Condition Value="MOD" Description="Modified">
            <WorkflowTei Key="PNR" Name="New Part Number"/>
            <WorkflowTei Key="STN"/>
            <WorkflowTei Key="PML"/>
            <WorkflowTei Key="SFT"/>
          </Condition>
        </ActionWorkflowTei>
      </Workflow>

      <Workflow Type="AddPartHistoryRecord"
                Display="Optional Part History Record 2013"
                Id="8.6"
                TagFormat="MultiRecord"
                AtaSpecId="Ata2013">

        <WorkflowTei Key="ACO"
                     RecordType="PartHistory"/>

        <WorkflowTei Key="ACD"
                     RecordType="PartHistory"
                     InputType="Date"/>

        <WorkflowTei Key="CND"
                     RecordType="PartHistory"
                     InputType="List"
                     Options="service_codes"
                     DefaultValue="SRV" />

        <ActionWorkflowTei Key="ACT" RecordType="PartHistory" IsEnabled="false">
          <Condition Value="EXC" Description="Exchanged">
            <WorkflowTei Key="MFR" Name="Exchanged Part Cage Code"/>
            <WorkflowTei Key="SER" Name="Exchanged Part Serial Number"/>
            <WorkflowTei Key="PNR" Name="Exchanged Part Number"/>
          </Condition>

          <Condition Value="TST" Description="Tested">
          </Condition>

          <Condition Value="SRV" Description="Serviced">
            <WorkflowTei Key="MNC"/>
          </Condition>

          <Condition Value="WHR" Description="Warehoused">
          </Condition>

          <Condition Value="SHP" Description="Shipped">
            <WorkflowTei Key="SHT"/>
          </Condition>

          <Condition Value="RCD" Description="Received">
            <WorkflowTei Key="MFR" Name="Cage Code of Previous Holder"/>
          </Condition>

          <Condition Value="INP" Description="Inspected">
            <WorkflowTei Key="IFC"/>
            <WorkflowTei Key="IMD"/>
          </Condition>

          <Condition Value="OTH" Description="Other">
            <WorkflowTei Key="ACR"/>
            <WorkflowTei Key="REM"/>
          </Condition>
        </ActionWorkflowTei>
      </Workflow>

      <Workflow Type="AddPartHistoryRecord"
                Display="Mandatory Part History Record 2016"
                Id="8.7"
                TagFormat="MultiRecord"
                AtaSpecId="Ata2016">

        <WorkflowTei Key="ACO"
                     RecordType="PartHistory"/>

        <WorkflowTei Key="ACD"
                     RecordType="PartHistory"
                     InputType="Date"/>

        <WorkflowTei Key="CND"
                     RecordType="PartHistory"
                     InputType="List"
                     Options="service_codes"
                     DefaultValue="SRV" />

        <ActionWorkflowTei Key="ACT" RecordType="PartHistory" IsEnabled="false">
          <Condition Value="INS" Description="Installed">
            <WorkflowTei Key="NHA"/>
            <WorkflowTei Key="AIN"/>
          </Condition>

          <Condition Value="RMV" Description="Removed">
            <WorkflowTei Key="NHA"/>
            <WorkflowTei Key="AIN"/>
            <WorkflowTei Key="RMT"/>
            <WorkflowTei Key="RTI"/>
          </Condition>

          <Condition Value="RPR" Description="Repaired">
            <WorkflowTei Key="RMD"/>
            <WorkflowTei Key="RAP"/>
          </Condition>

          <Condition Value="OVH" Description="Overhauled">
            <WorkflowTei Key="EXP"
                         InputType="Date"/>
            <WorkflowTei Key="OHM"/>
          </Condition>

          <Condition Value="MOD" Description="Modified">
            <WorkflowTei Key="PNR" Name="New Part Number"/>
            <WorkflowTei Key="STN"/>
            <WorkflowTei Key="PML"/>
            <WorkflowTei Key="SFT"/>
          </Condition>
        </ActionWorkflowTei>
      </Workflow>

      <Workflow Type="AddPartHistoryRecord"
                Display="Optional Part History Record 2016"
                Id="8.8"
                TagFormat="MultiRecord"
                AtaSpecId="Ata2016">

        <WorkflowTei Key="ACO"
                     RecordType="PartHistory"/>

        <WorkflowTei Key="ACD"
                     RecordType="PartHistory"
                     InputType="Date"/>

        <WorkflowTei Key="CND"
                     RecordType="PartHistory"
                     InputType="List"
                     Options="service_codes"
                     DefaultValue="SRV" />

        <ActionWorkflowTei Key="ACT" RecordType="PartHistory" IsEnabled="false">
          <Condition Value="EXC" Description="Exchanged">
            <WorkflowTei Key="MFR" Name="Exchanged Part Cage Code"/>
            <WorkflowTei Key="SER" Name="Exchanged Part Serial Number"/>
            <WorkflowTei Key="PNR" Name="Exchanged Part Number"/>
          </Condition>

          <Condition Value="TST" Description="Tested">
          </Condition>

          <Condition Value="SRV" Description="Serviced">
            <WorkflowTei Key="MNC"/>
          </Condition>

          <Condition Value="WHR" Description="Warehoused">
          </Condition>

          <Condition Value="SHP" Description="Shipped">
            <WorkflowTei Key="SHT"/>
          </Condition>

          <Condition Value="RCD" Description="Received">
            <WorkflowTei Key="MFR" Name="Cage Code of Previous Holder"/>
          </Condition>

          <Condition Value="INP" Description="Inspected">
            <WorkflowTei Key="IFC"/>
            <WorkflowTei Key="IMD"/>
          </Condition>

          <Condition Value="OTH" Description="Other">
            <WorkflowTei Key="ACR"/>
            <WorkflowTei Key="REM"/>
          </Condition>
        </ActionWorkflowTei>
      </Workflow>
    </Workflow>

    <Workflow Type="Commission"
              Display="Commission Dual 2013"
              Id="1"
              TagFormat="DualRecord"
              AtaSpecId="Ata2013">
      
      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2013" />
          </ValidationRules>
        </Filter>
        <ManagerNumber>
          <Link Tei="MFR" RecordType="Birth" />
        </ManagerNumber>
		
		<!-- Disable for Construct 2/UIC = 2 -->
		<PartNumber IsVisible="False"/>      
		
		<!--      Enable for Construct 2 / UIC = 2  -->			  
        <!-- <PartNumber>
				  <Link Tei="PNO" RecordType="Birth" />
	    </PartNumber>   -->     
		
		
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>   <!-- Change to SEQ for Construct 2/UIC=2 -->
        </SerialNumber>
      </EpcSettings>
      
      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <!-- Change to SEQ for Construct 2/UIC=2 -->
      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date"/>

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />

      <WorkflowTei Key="PNR"
                   Name="Part Number"
                   RecordType="Lifecycle"
                   DefaultValue="PART" />

      <WorkflowTei Key="EXP"
                   RecordType="Lifecycle"
                   InputType="Date"/>

      <WorkflowTei Key="CND"
                   RecordType="Lifecycle"
                   InputType="List"
                   Options="service_codes"
                   DefaultValue="SRV" />
    </Workflow>
    
    <Workflow Type="Commission"
              Display="Commission Dual 2013 (DODAAC)"
              Id="01"
              TagFormat="DualRecord"
              AtaSpecId="Ata2013">
      
      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2013" />
          </ValidationRules>
        </Filter>
        <ManagerNumber DefaultValue="BRADY1">
          <ValidationRules>
            <LengthRule Min="6" Max="6" />
            <TeiRule Ref="uppercase_alphanumeric" />
          </ValidationRules>
        </ManagerNumber>
        <PartNumber IsVisible="False"/>
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>
        </SerialNumber>
      </EpcSettings>
      
      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date"/>

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />

      <WorkflowTei Key="PNR"
                   Name="Part Number"
                   RecordType="Lifecycle"
                   DefaultValue="PART" />

      <WorkflowTei Key="EXP"
                   RecordType="Lifecycle"
                   InputType="Date" />

      <WorkflowTei Key="CND"
                   RecordType="Lifecycle"
                   InputType="List"
                   Options="service_codes"
                   DefaultValue="SRV" />
    </Workflow>

    <Workflow Type="Import"
              Display="Import Dual 2013"
              Id="2"
              TagFormat="DualRecord"
              AtaSpecId="Ata2013">

      <EpcSettings>
        <ManagerNumber>
          <Link Tei="MFR" RecordType="Birth" />
        </ManagerNumber>
		
		<!-- Disable for Construct 2/UIC = 2 -->
		<PartNumber IsVisible="False"/>
		
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>
        </SerialNumber>
      </EpcSettings>
      
      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date"/>

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />

      <WorkflowTei Key="PNR"
                   Name="Part Number"
                   RecordType="Lifecycle"
                   DefaultValue="PART" />

      <WorkflowTei Key="EXP"
                   RecordType="Lifecycle"
                   InputType="Date" />

      <WorkflowTei Key="CND"
                   RecordType="Lifecycle"
                   InputType="List"
                   Options="service_codes"
                   DefaultValue="SRV" />
    </Workflow>
    
    <Workflow Type="Import"
              Display="Import Dual 2013 (DODAAC)"
              Id="02"
              TagFormat="DualRecord"
              AtaSpecId="Ata2013">

      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2013" />
          </ValidationRules>
        </Filter>
        <ManagerNumber>
          <ValidationRules>
            <LengthRule Min="6" Max="6" />
            <TeiRule Ref="uppercase_alphanumeric" />
          </ValidationRules>
        </ManagerNumber>
        <PartNumber IsVisible="False"/>
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>
        </SerialNumber>
      </EpcSettings>

      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date"/>

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />

      <WorkflowTei Key="PNR"
                   Name="Part Number"
                   RecordType="Lifecycle"
                   DefaultValue="PART" />

      <WorkflowTei Key="EXP"
                   RecordType="Lifecycle"
                   InputType="Date" />

      <WorkflowTei Key="CND"
                   RecordType="Lifecycle"
                   InputType="List"
                   Options="service_codes"
                   DefaultValue="SRV" />
    </Workflow>

    <Workflow Type="Commission"
              Display="Commission Multi 2013"
              Id="3"
              TagFormat="MultiRecord"
              AtaSpecId="Ata2013">

      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2013" />
          </ValidationRules>
        </Filter>
        <ManagerNumber>
          <Link Tei="MFR" RecordType="Birth" />
        </ManagerNumber>
		
		<!-- Disable for Construct 2/UIC = 2 -->
		<PartNumber IsVisible="False"/>      
		
        <!--      Enable for Construct 2 / UIC = 2  -->			  
        <!-- <PartNumber>
				  <Link Tei="PNO" RecordType="Birth" />
	    </PartNumber>   -->                             
		 
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>      <!-- Change to SEQ for Construct 2/UIC=2 -->
        </SerialNumber>
      </EpcSettings>
      
      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />
				   
      <!-- Change to SEQ for Construct 2/UIC=2 -->
      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date" />

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />
    </Workflow>
    
    <Workflow Type="Import"
              Display="Import Multi 2013"
              Id="4"
              TagFormat="MultiRecord"
              AtaSpecId="Ata2013">

      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2013" />
          </ValidationRules>
        </Filter>
        <ManagerNumber>
          <Link Tei="MFR" RecordType="Birth" />
        </ManagerNumber>
		
		<!-- Disable for Construct 2/UIC = 2 -->
		<PartNumber IsVisible="False"/>
		
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>
        </SerialNumber>
      </EpcSettings>
      
      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date" />

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />
    </Workflow>

    <Workflow Type="Commission"
              Display="Commission Single Birth 2016"
              Id="5sr"
              TagFormat="SingleRecordBirth"
              AtaSpecId="Ata2016">

      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2016" />
          </ValidationRules>
        </Filter>
        <ManagerNumber>
          <Link Tei="MFR" RecordType="Birth" />
        </ManagerNumber>
       
		<!-- Disable for Construct 2/UIC = 2 -->
		<PartNumber IsVisible="False"/>      
		
        <!--      Enable for Construct 2 / UIC = 2  -->			  
        <!-- <PartNumber>
				  <Link Tei="PNO" RecordType="Birth" />
	    </PartNumber>   -->                             
		
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>   <!-- Change to SEQ for Construct 2/UIC=2 -->
        </SerialNumber>
      </EpcSettings>

      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />


      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <!-- Change to SEQ for Construct 2/UIC=2 -->
      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />


    </Workflow>

    <Workflow Type="Commission"
              Display="Commission Dual 2016"
              Id="5"
              TagFormat="DualRecord"
              AtaSpecId="Ata2016">

      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2016" />
          </ValidationRules>
        </Filter>
        <ManagerNumber>
          <Link Tei="MFR" RecordType="Birth" />
        </ManagerNumber>
		
		<!-- Disable for Construct 2/UIC = 2 -->
		<PartNumber IsVisible="False"/>      
		
        <!--      Enable for Construct 2 / UIC = 2  -->			  
        <!-- <PartNumber>
				  <Link Tei="PNO" RecordType="Birth" />
	    </PartNumber>   -->                             
		
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>    <!-- Change to SEQ for Construct 2/UIC=2 -->    
        </SerialNumber>
      </EpcSettings>
      
      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <!-- Change to SEQ for Construct 2/UIC=2 -->
      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date" />

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />

      <WorkflowTei Key="PNR"
                   Name="Part Number"
                   RecordType="Lifecycle"
                   DefaultValue="PART" />

      <WorkflowTei Key="EXP"
                   RecordType="Lifecycle"
                   InputType="Date" />

      <WorkflowTei Key="CND"
                   RecordType="Lifecycle"
                   InputType="List"
                   Options="service_codes"
                   DefaultValue="SRV" />
    </Workflow>

    <Workflow Type="Commission"
              Display="Commission Multi 2016"
              Id="6"
              TagFormat="MultiRecord"
              AtaSpecId="Ata2016">

      <EpcSettings>
        <Filter DefaultValue="1">
          <ValidationRules>
            <AllowableValueRule OptionCollectionRef="epcfilters_2016" />
          </ValidationRules>
        </Filter>
        <ManagerNumber>
          <Link Tei="MFR" RecordType="Birth" />
        </ManagerNumber>
       
		<!-- Disable for Construct 2/UIC = 2 -->
		<PartNumber IsVisible="False"/>      
		
        <!--      Enable for Construct 2 / UIC = 2  -->			  
        <!-- <PartNumber>
				  <Link Tei="PNO" RecordType="Birth" />
	    </PartNumber>   -->                             
		 
        <SerialNumber>
          <Link Tei="SER" RecordType="Birth"/>     <!-- Change to SEQ for Construct 2/UIC=2 -->
        </SerialNumber>
      </EpcSettings>
      
      <WorkflowTei Key="PNO"
                   RecordType="Birth"
                   DefaultValue="PART" />

      <WorkflowTei Key="PDT"
                   RecordType="Birth"
                   DefaultValue="TEST"
                   CanOverrideDefaultValue="False" />

      <WorkflowTei Key="MFR"
                   Name="Manufacturer Code"
                   RecordType="Birth"
                   DefaultValue="BRADY" />

      <!-- Change to SEQ for Construct 2/UIC=2 -->
      <WorkflowTei Key="SER"
                   Name="Part Serial Number"
                   RecordType="Birth"
                   DefaultValue="123" />

      <WorkflowTei Key="UIC"
                   RecordType="Birth"
                   InputType="List"
                   Options="uic_codes"
                   DefaultValue="1" />

      <WorkflowTei Key="ICC"
                   RecordType="Birth"
                   DefaultValue="234567" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN1234" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN5678" />

      <WorkflowTei Key="HAZ"
                   RecordType="Birth"
                   DefaultValue="UN9012" />

      <WorkflowTei Key="DMF"
                   RecordType="Birth"
                   InputType="Date"/>

      <WorkflowTei Key="CNT"
                   RecordType="Birth"
                   InputType="List"
                   Options="country_codes"
                   DefaultValue="US" />

      <WorkflowTei Key="ESD"
                   RecordType="Birth"
                   InputType="Checkbox" />
    </Workflow>
	  <Workflow Type="Duplicate"
	            Display="Duplicate Tag"
	            Id="7"/>
	 
  </Workflows>
</AtaModel>