<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
 xmlns="http://schema.infor.com/InforOAGIS/2"
 targetNamespace="http://schema.infor.com/InforOAGIS/2" elementFormDefault="qualified"
 attributeFormDefault="unqualified" version="2.4.x">
<xs:element name='TradingPartnerRuleCodes' type='TradingPartnerRuleCodesType' />
<xs:complexType name='TradingPartnerRuleCodesType'>
<xs:sequence>
<xs:element name='TPCodeHeader' minOccurs='0' type='TPCodeHeaderType' >
<xs:annotation>
<xs:documentation>
Describes the function of the fortress that is sending the code lists.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='TPCodes' minOccurs='0' maxOccurs='unbounded' type='TPCodesType' >
<xs:annotation>
<xs:documentation>
Rule Code information associated with the Trading Partner.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name='ArchiveIndicatorType' >
<xs:simpleContent>
<xs:extension base='BooleanBaseType' >
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name='CodeType' >
<xs:simpleContent>
<xs:extension base='NormalizedStringBaseType' >
<xs:attribute name='listID' type='NormalizedStringBaseType' use='optional' >
<xs:annotation><xs:documentation>
This attribute contains the Code List ID for the codes that it are associated with corresponding entity.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name='ComponentNameType' >
<xs:simpleContent>
<xs:extension base='NormalizedStringBaseType' >
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name='DescriptionType' >
<xs:simpleContent>
<xs:extension base='StringBaseType' >
<xs:attribute name='languageID' type='String1BaseType' use='optional' >
<xs:annotation><xs:documentation>
This is required for language codes other than 'en-us' when the element that includes this attribute is used.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name='DurationType' >
<xs:simpleContent>
<xs:extension base='DurationBaseType' >
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name='EffectiveTimePeriod1Type'>
<xs:sequence>
<xs:element name='StartDateTime' minOccurs='0' type='DateTimeType' >
<xs:annotation>
<xs:documentation>
The timestamp marking the beginning of a time period during which a related entity or status is effective or applicable.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='Duration' minOccurs='0' type='DurationType' >
<xs:annotation>
<xs:documentation>
Indicates the duration of time as represented by ISO 8601. Where the value space is a six dimensional space where the coordinates designate the Gregorian year, month, day, hour, minute, and second. The number of seconds can include decimal digits to arbitary pecision. This can be used in place of the EndDateTime, but not in conjunction with it.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='EndDateTime' minOccurs='0' type='DateTimeType' >
<xs:annotation>
<xs:documentation>
Is the ending timestamp of the event. This can be used in place of the Duration, but not with it.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name='EffectiveTimePeriodType'>
<xs:sequence>
<xs:element name='StartDateTime' minOccurs='0' type='DateTimeType' >
<xs:annotation>
<xs:documentation>
The timestamp marking the beginning of a time period during which a related entity or status is effective or applicable.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='Duration' minOccurs='0' type='DurationType' >
<xs:annotation>
<xs:documentation>
Indicates the duration of time as represented by ISO 8601. Where the value space is a six dimensional space where the coordinates designate the Gregorian year, month, day, hour, minute, and second. The number of seconds can include decimal digits to arbitary pecision.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='EndDateTime' minOccurs='0' type='DateTimeType' >
<xs:annotation>
<xs:documentation>
Is the ending timestamp of the event.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name='NameValueType' >
<xs:simpleContent>
<xs:extension base='String2BaseType' >
<xs:attribute name='name' type='NormalizedString1BaseType' use='optional' >
<xs:annotation><xs:documentation>
Identifies the name attribute used by the NameValue element.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='type' type='NormalizedStringBaseType' use='optional' >
<xs:annotation><xs:documentation>
Identifies the data type of the value of this property.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='unitCode' type='NormalizedStringBaseType' use='optional' >
<xs:annotation><xs:documentation>
The unit-of-measure (UOM) code associated with a quantity. This is based upon the ISO standard.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='unitCodeListVersionID' type='NormalizedString3BaseType' use='optional' >
<xs:annotation><xs:documentation>
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='currencyID' type='NormalizedStringBaseType' use='optional' >
<xs:annotation><xs:documentation>
The code for the currency associated with an amount.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='listID' type='NormalizedStringBaseType' use='optional' >
<xs:annotation><xs:documentation>
This attribute contains the Code List ID for the codes that are associated with corresponding entity.  Dimension</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='nounName' type='NormalizedString3BaseType' use='optional' >
<xs:annotation><xs:documentation>
</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='accountingEntity' type='NormalizedString4BaseType' use='optional' >
<xs:annotation><xs:documentation>
The accounting entity that is associated with the maintenance of this instance of the noun. For objects that are maintained at the tenant level this attribute must not be included in the document.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name='NoteType' >
<xs:simpleContent>
<xs:extension base='StringBaseType' >
<xs:attribute name='languageID' type='String1BaseType' use='optional' >
<xs:annotation><xs:documentation>
This is required for language codes other than 'en-us' when the element that includes this attribute is used.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='type' type='NormalizedString1BaseType' use='optional' >
<xs:annotation><xs:documentation>
Identifies where the note is used and is associated to an Infor defined code list, 'NoteType,' that indicates the processes that might use the note.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='use' type='NormalizedString2BaseType' use='optional' >
<xs:annotation><xs:documentation>
Indicates if the note should be published externally or if it is for internal use only. It may have the values 'Internal' and 'External'.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='author' type='String2BaseType' use='optional' >
<xs:annotation><xs:documentation>
Person who created the note</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='entryDateTime' type='DateAndTimeBaseType' use='optional' >
<xs:annotation><xs:documentation>
Entry date and time in GMT.</xs:documentation></xs:annotation>
</xs:attribute>
<xs:attribute name='status' type='String3BaseType' use='optional' >
<xs:annotation><xs:documentation>
Status of a note.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element name='Property' type='PropertyType' />
<xs:complexType name='PropertyType'>
<xs:sequence>
<xs:element name='NameValue' minOccurs='0' type='NameValueType' >
<xs:annotation>
<xs:documentation>
Is the tag and information of the new information to be passed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='Description' minOccurs='0' maxOccurs='unbounded' type='DescriptionType' >
<xs:annotation>
<xs:documentation>
Free form text that describes the object and repeats as needed to provide support for multilingual descriptions</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='Note' minOccurs='0' maxOccurs='unbounded' type='NoteType' >
<xs:annotation>
<xs:documentation>
A free form note. The lang attribute identifies the language that the note is in. The author identifies the author of the note. The enrtyDate indicates the date the note was entered or last modified.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='EffectiveTimePeriod' minOccurs='0' type='EffectiveTimePeriod1Type' >
<xs:annotation>
<xs:documentation>
Indicates the time period in which the associated component is effective.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name='listID' type='NormalizedStringBaseType' use='optional' >
<xs:annotation><xs:documentation>
This attribute contains the Code List ID for the codes that are associated with corresponding entity. Workflow Properties</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name='StatusType'>
<xs:sequence>
<xs:element name='Code' type='CodeType' >
<xs:annotation>
<xs:documentation>
Code used to define the status of this document. See the code list associated to this code for the list of valid codes and their meanings.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='ArchiveIndicator' minOccurs='0' type='ArchiveIndicatorType' >
<xs:annotation>
<xs:documentation>
Indicator that determines if the BOD has been archived.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name='TPCodeHeaderType'>
<xs:sequence>
<xs:element name='ComponentName' minOccurs='0' type='ComponentNameType' >
<xs:annotation>
<xs:documentation>
Identies the component sending the codelists. These are predefined  and consist of Communication, Transformation, Planning, Shipping and Billing initially.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='Description' minOccurs='0' maxOccurs='unbounded' type='DescriptionType' >
<xs:annotation>
<xs:documentation>
A free form text description of the object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='EffectiveTimePeriod' minOccurs='0' type='EffectiveTimePeriodType' >
<xs:annotation>
<xs:documentation>
Indicates the time period in which the associated component is effective.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='Status' type='StatusType' >
<xs:annotation>
<xs:documentation>
Indicates the current state of the associated object.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name='TPCodesType'>
<xs:sequence>
<xs:element name='Description' minOccurs='0' maxOccurs='unbounded' type='DescriptionType' >
<xs:annotation>
<xs:documentation>
A free form text description of the object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name='Note' minOccurs='0' maxOccurs='unbounded' type='NoteType' >
<xs:annotation>
<xs:documentation>
A free form note. The lang attribute identifies the language that the note is in. The author identifies the author of the note. The enrtyDate indicates the date the note was entered or last modified</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name='listID' type='NormalizedStringBaseType' use='optional' >
<xs:annotation><xs:documentation>
This attribute contains the Code List ID for the codes that it are associated with corresponding entity.</xs:documentation></xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="BooleanBaseType" >
<xs:restriction base="xs:boolean" >
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DateAndTimeBaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="DateTimeType" >
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DurationBaseType" >
<xs:restriction base="xs:duration" >
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalizedString1BaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="xs:normalizedString" >
<xs:maxLength value="64" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalizedString2BaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="xs:normalizedString" >
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalizedString3BaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="xs:normalizedString" >
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalizedString4BaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="xs:normalizedString" >
<xs:maxLength value="22" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NormalizedStringBaseType" >
<xs:restriction base="xs:normalizedString" >
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String1BaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="xs:string" >
<xs:maxLength value="17" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String2BaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="xs:string" >
<xs:maxLength value="64" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="String3BaseType" >
<xs:annotation><xs:documentation></xs:documentation></xs:annotation>
<xs:restriction base="xs:string" >
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="StringBaseType" >
<xs:restriction base="xs:string" >
<xs:maxLength value="1024" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DateTimeType">
<xs:annotation>
<xs:documentation xml:lang="en">
</xs:documentation>
</xs:annotation>
<xs:union memberTypes="xs:date xs:time xs:dateTime"/>
</xs:simpleType>
<xs:complexType name="UserAreaType" block="restriction">
<xs:sequence>
<xs:any namespace="##any" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
