<?xml version="1.0" encoding="utf-8"?>
<!--
EXAMPLE

This is a simple extension that can be used with HR-XML's IndicativeData specification.

The purpose is to add U.S. payroll tax withholding details of the type collected using IRS Form W-4.  

The extensions below assume that the other Form W-4 data elements are mapped to corresponding components within the HR-XML IndicativeData schema. Depending on implementation requirements, the additional W-4 elements could be defined here. 

 In this example, the extensions are completely self-contained within the schema. Optionally, definitions could be imported and reused. For example, the udt:AmountType and udt:CodeType components.
-->
<xsd:schema xmlns="http://www.notarealcompany.com/ns/v1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.notarealcompany.com/ns/v1" elementFormDefault="qualified">
	<xsd:element name="USWithholdingDetails" type="USWithholdingDetailsType"/>
	<xsd:complexType name="USWithholdingDetailsType">
		<xsd:sequence>
			<xsd:element name="TotalAllowancesNumber" type="xsd:integer" minOccurs="0"/>
			<xsd:element name="AdditionalWithholdingAmount" type="AmountType" minOccurs="0"/>
			<xsd:element name="ExemptIndicator" type="xsd:boolean" minOccurs="0"/>
			<xsd:element name="SignatureDate" type="xsd:string" minOccurs="0"/>
			<xsd:element name="OfficeCode" type="CodeType" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="AmountType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:decimal">
				<xsd:attribute name="currencyID" type="xsd:string" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
	<xsd:complexType name="CodeType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="schemeID" type="xsd:string" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent>
	</xsd:complexType>
</xsd:schema>

