Custom noun schema file

Define a custom noun schema file by adapting the file template below. Replace all occurrences of ‘MySampleDocument’ with the custom noun name and add, modify or remove elements, as required. Save the file with a name that matches that of the custom noun name, for example, MySampleDocument.xsd.

<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://schema.infor.com/InforOAGIS/2"
 xmlns="http://schema.infor.com/InforOAGIS/2" xmlns:xs="http://www.w3.org/2001/XMLSchema"
 elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.0">
 <xs:element name="MySampleDocument" type="MySampleDocumentType" />
 <xs:complexType name="MySampleDocumentType">
  <xs:sequence>
   <xs:element name="SampleHeader" type="SampleHeaderType" minOccurs="1" />
   <xs:element name="SampleLine" type="SampleLineType"
    minOccurs="0" maxOccurs="unbounded" />
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name="SampleHeaderType">
  <xs:sequence>
  <xs:element name="DocumentID" type="xs:normalizedString" minOccurs="0" />
  <xs:element name="DocumentDateTime" type="xs:dateTime" minOccurs="0" />
  <xs:element name="Status" type="xs:string" minOccurs="0" />
  <xs:element name="Description" type="xs:string" minOccurs="0" />
  <xs:element name="ShipmentID" type="xs:normalizedString" minOccurs="0" />
  <xs:element name="IsActive" type="xs:boolean" minOccurs="0" />
  </xs:sequence>
 </xs:complexType>
 <xs:complexType name="SampleLineType">
  <xs:sequence>
  <xs:element name="LineNumber" type="xs:integer" />
  <xs:element name="Amount" type="xs:decimal" minOccurs="0" />
  <xs:element name="Note" type="xs:string" minOccurs="0"
   maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:schema>