﻿<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio Developer Edition (Trial) 9.1.9.3503 (http://www.liquid-technologies.com)-->
<xsd:schema xmlns="http://forms.irs.gov/pofd/schema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://forms.irs.gov/pofd/schema" 
xmlns:un="http://forms.irs.gov/pofd/schema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:include schemaLocation="8871and8872Common.xsd" />
    <xsd:annotation>
        <xsd:documentation>
			<Description>IRS 8871 Schema - Schema used to upload and validate 8871 forms using the Political Organization Filing</Description>
			<xsd:Version>Version 2.3</xsd:Version>
			<ReleaseDate>October 7, 2005</ReleaseDate>
		</xsd:documentation>
    </xsd:annotation>
    <xsd:element name="FORM8871">
        <xsd:annotation>
            <xsd:documentation>
				<xsd:description>Root element for the 8871 Form</xsd:description>
				<xsd:LineNumber>Root Element</xsd:LineNumber>
			</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="OrganizationName">
                    <xsd:simpleType>
                        <xsd:annotation>
                            <xsd:documentation>
								<xsd:description>Name of Organization</xsd:description>
							</xsd:documentation>
                        </xsd:annotation>
                        <xsd:restriction base="StringType">
                            <xsd:minLength value="1" />
                            <xsd:maxLength value="70" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:element>
                <xsd:element name="MailingAddress" type="USAddressType">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>The Organization's Mailing Address</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="FilingType">
                    <xsd:complexType>
                        <xsd:all>
                            <xsd:annotation>
                                <xsd:documentation>
									<xsd:description>The type of report: Amended, or Final </xsd:description>
								</xsd:documentation>
                            </xsd:annotation>
                            <xsd:element name="AmendedReport" minOccurs="0">
                                <xsd:simpleType>
                                    <xsd:restriction base="xsd:int">
                                        <xsd:totalDigits value="1" />
                                        <xsd:minInclusive value="0" />
                                        <xsd:maxInclusive value="1" />
                                    </xsd:restriction>
                                </xsd:simpleType>
                            </xsd:element>
                            <xsd:element name="FinalReport" minOccurs="0">
                                <xsd:simpleType>
                                    <xsd:restriction base="xsd:int">
                                        <xsd:totalDigits value="1" />
                                        <xsd:minInclusive value="0" />
                                        <xsd:maxInclusive value="1" />
                                    </xsd:restriction>
                                </xsd:simpleType>
                            </xsd:element>
                        </xsd:all>
                    </xsd:complexType>
                </xsd:element>
                <xsd:element name="DateEstablished" type="DateType">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>The date the Organization was established</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="DateMaterialChange" type="DateType" minOccurs="0">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>The date of the material change happened</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="eMail">
                    <xsd:simpleType>
                        <xsd:restriction base="EmailAddressType">
                            <xsd:maxLength value="150" />
                            <xsd:minLength value="7" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:element>
                <xsd:element name="CustodianName">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>The Custodian's Name</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                    <xsd:simpleType>
                        <xsd:restriction base="StringType">
                            <xsd:minLength value="1" />
                            <xsd:maxLength value="50" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:element>
                <xsd:element name="CustodianAddress" type="USAddressType">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>The Custodian's Address</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="ContactPerson">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>Name of Contact Person</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                    <xsd:simpleType>
                        <xsd:restriction base="StringType">
                            <xsd:minLength value="1" />
                            <xsd:maxLength value="50" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:element>
                <xsd:element name="ContactAddress" type="USAddressType">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>The Contact Person's Address</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="BusinessAddress" type="USAddressType">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>Business Address of the Organization</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:choice>
                    <xsd:element name="NoEAIN">
                        <xsd:annotation>
                            <xsd:documentation>
								<xsd:description>Check box if there are no EAINs</xsd:description>
							</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                            <xsd:restriction base="CheckboxTypeYes" />
                        </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="EAIN" maxOccurs="52">
                        <xsd:annotation>
                            <xsd:documentation>
								<xsd:description>For each Election Authority Identification Number the following two tags are mandatory - EAIN State, EAIN	</xsd:description>
							</xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="EAINState">
                                    <xsd:annotation>
                                        <xsd:documentation>
											<xsd:description>EAIN State</xsd:description>
										</xsd:documentation>
                                    </xsd:annotation>
                                    <xsd:simpleType>
                                        <xsd:restriction base="EAINStateType">
                                            <xsd:length value="2" />
                                        </xsd:restriction>
                                    </xsd:simpleType>
                                </xsd:element>
                                <xsd:element name="EAIN" type="EAINType" />
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                </xsd:choice>
                <xsd:element name="OrganizationExempt8872" minOccurs="0">
                    <xsd:complexType>
                        <xsd:all>
                            <xsd:element name="ExemptionState" type="StateType" />
                        </xsd:all>
                    </xsd:complexType>
                </xsd:element>
                <xsd:element name="OrganizationExempt990" type="CheckboxTypeString">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>Is this organization claiming exemption from filing Form 990 (or 990-EZ), Return of Organization Exempt from Income Tax, as a caucus or association of state or local officials?</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                </xsd:element>
                <xsd:element name="OrganizationPurpose">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>Describe the purpose of the organization</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                    <xsd:simpleType>
                        <xsd:restriction base="StringType">
                            <xsd:minLength value="1" />
                            <xsd:maxLength value="512" />
                        </xsd:restriction>
                    </xsd:simpleType>
                </xsd:element>
                <xsd:choice>
                    <xsd:element name="NoEntity">
                        <xsd:annotation>
                            <xsd:documentation>
								<xsd:description>Check box if there are no Related Entities.</xsd:description>
							</xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                            <xsd:restriction base="CheckboxTypeYes" />
                        </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="RelatedEntities" maxOccurs="999">
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="RelatedEntities">
                                    <xsd:annotation>
                                        <xsd:documentation>
											<xsd:description>Name of Related Entities</xsd:description>
										</xsd:documentation>
                                    </xsd:annotation>
                                    <xsd:simpleType>
                                        <xsd:restriction base="StringType">
                                            <xsd:maxLength value="50" />
                                            <xsd:minLength value="1" />
                                        </xsd:restriction>
                                    </xsd:simpleType>
                                </xsd:element>
                                <xsd:element name="Relationship">
                                    <xsd:annotation>
                                        <xsd:documentation>
											<xsd:description>Drop down list that either has "Connected, "Affiliated"</xsd:description>
										</xsd:documentation>
                                    </xsd:annotation>
                                    <xsd:simpleType>
                                        <xsd:restriction base="StringType">
                                            <xsd:enumeration value="Connected" />
                                            <xsd:enumeration value="Affiliated" />
                                        </xsd:restriction>
                                    </xsd:simpleType>
                                </xsd:element>
                                <xsd:element name="EntityAddress" type="USAddressType" />
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                </xsd:choice>
                <xsd:element name="Officers" maxOccurs="999">
                    <xsd:annotation>
                        <xsd:documentation>
							<xsd:description>List of All Officers, Directors, and Highly Compensated Employees</xsd:description>
						</xsd:documentation>
                    </xsd:annotation>
                    <xsd:complexType>
                        <xsd:sequence>
                            <xsd:element name="Name">
                                <xsd:simpleType>
                                    <xsd:restriction base="StringType">
                                        <xsd:minLength value="1" />
                                        <xsd:maxLength value="50" />
                                    </xsd:restriction>
                                </xsd:simpleType>
                            </xsd:element>
                            <xsd:element name="Title">
                                <xsd:simpleType>
                                    <xsd:restriction base="StringType">
                                        <xsd:minLength value="1" />
                                        <xsd:maxLength value="50" />
                                    </xsd:restriction>
                                </xsd:simpleType>
                            </xsd:element>
                            <xsd:element name="Address" type="USAddressType" />
                        </xsd:sequence>
                    </xsd:complexType>
                </xsd:element>
            </xsd:sequence>
            <xsd:attributeGroup ref="pacInfo"/>
        </xsd:complexType>
        <xsd:unique name="state-unique-in-form">
            <xsd:selector xpath="un:EAIN" />
            <xsd:field xpath="un:EAINState" />
        </xsd:unique>
    </xsd:element>
</xsd:schema>
