<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="http://www.irs.gov/efile" xmlns="http://www.irs.gov/efile"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">

	<xsd:annotation>
		<xsd:documentation>
			<Description>IRS e-file Schema - Form 1120 Schedule G</Description>
			<TaxYear>2012</TaxYear>
			<MaturityLevel>Draft Release</MaturityLevel>
			<ReleaseDate>September 5, 2012</ReleaseDate>
		</xsd:documentation>
	</xsd:annotation>

	<xsd:include schemaLocation="../../../Common/efileTypes.xsd" />


	<!-- ========================================================================== -->
	<!-- =======================  IRS Form 1120 Schedule G ======================== -->
	<!-- ========================================================================== -->

	<xsd:element name="IRS1120ScheduleG">
		<xsd:annotation>
			<xsd:documentation>IRS Form 1120 Schedule G</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:complexContent>
				<xsd:extension base="IRS1120ScheduleGType">
					<xsd:attributeGroup ref="DocumentAttributes">
						<xsd:annotation>
							<xsd:documentation>Common return document attributes</xsd:documentation>
						</xsd:annotation>
					</xsd:attributeGroup>
					<xsd:attribute name="documentName" type="StringType" fixed="IRS1120ScheduleG">
						<xsd:annotation>
							<xsd:documentation>IRS internal use only. To avoid error in the return, do not include the attribute name or value.</xsd:documentation>
						</xsd:annotation>
					</xsd:attribute>
				</xsd:extension>
			</xsd:complexContent>
		</xsd:complexType>
	</xsd:element>


	<xsd:complexType name="IRS1120ScheduleGType">
		<xsd:annotation>
			<xsd:documentation>Content model for Form 1120 Schedule G</xsd:documentation>
		</xsd:annotation>

		<xsd:sequence>

		<!-- ==== Part I Certain Entities Owning the Corporation's Voting Stock (Form 1120, Schedule K, Question 4b) ==== -->

			<!-- Entity Information -->
			<xsd:element name="EntityInformation" type="EntityInformationType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Entity information</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Individual Information -->
			<xsd:element name="IndividualInformation" type="IndividualInformationType" minOccurs="0" maxOccurs="unbounded">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Individual information</Description>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>

	</xsd:complexType>


	<!-- ==== Part I Certain Entities Owning the Corporation's Voting Stock (Form 1120, Schedule K, Question 4b) ==== -->

	<xsd:complexType name="EntityInformationType">
		<xsd:sequence>

			<!-- Name of Entity -->
			<xsd:element name="EntityName" type="BusinessNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Name of entity</Description>
						<LineNumber>Part I Sch G Line (i)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Choice between Employer Identification Number, or EIN Missing Reason -->
			<xsd:choice minOccurs="0">

				<!-- Employer Identification Number -->
				<xsd:element name="EmplrIdentificationNumber" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Employer identification number</Description>
							<LineNumber>Part I Sch G Line (ii)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- EIN Missing Reason -->
				<xsd:element name="EINMissingReason">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Ein missing reason</Description>
							<LineNumber>Part I Sch G Line (ii)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Type of Entity -->
			<xsd:element name="EntityType" type="ShortDescriptionType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Type of entity</Description>
						<LineNumber>Part I Sch G Line (iii)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Country of Organization -->
			<xsd:element name="CountryOfOrganization" type="AllCountriesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Country of organization</Description>
						<LineNumber>Part I Sch G Line (iv)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Percentage Owned in Voting Stock -->
			<xsd:element name="PercentageOwnedVotingStock" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Percentage owned in voting stock</Description>
						<LineNumber>Part I Sch G Line (v)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>

	</xsd:complexType>


	<!-- ==== Part II Certain Individuals and Estates Owning the Corporation's Voting Stock (Form 1120, Scheduke K, Question 4b ==== -->

	<xsd:complexType name="IndividualInformationType">
		<xsd:sequence>

			<!-- Name of Individual or Estate -->
			<xsd:element name="IndividualEstateName" type="PersonNameType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Name of individual or estate</Description>
						<LineNumber>Part II Sch G Line (i)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Choice between Corporation Employer Identification Number, or EIN Missing Reason -->
			<xsd:choice minOccurs="0">


				<!-- Identifying Number -->
				<xsd:element name="IdentifyingNumber" type="EINType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Identifying number</Description>
							<LineNumber>Part II Sch G Line (ii)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Identifying SSN Number -->
				<xsd:element name="IdentifyingSSNNumber" type="SSNType">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Identifying SSN number</Description>
							<LineNumber>Part II Sch G Line (ii)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
				</xsd:element>

				<!-- Missing Identifying Number Reason -->
				<xsd:element name="MissingIdentifyingNumberReason">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Missing identifying number reason</Description>
							<LineNumber>Part II Sch G Line (ii)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="APPLD FOR"/>
							<xsd:enumeration value="FOREIGNUS"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

				<!-- Blank -->
				<xsd:element name="Blank">
					<xsd:annotation>
						<xsd:documentation>
							<Description>Blank</Description>
							<LineNumber>Part II Sch G Line (ii)</LineNumber>
						</xsd:documentation>
					</xsd:annotation>
					<xsd:simpleType>
						<xsd:restriction base="StringType">
							<xsd:enumeration value="BLANK"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:element>

			</xsd:choice>

			<!-- Country of Citizenship -->
			<xsd:element name="CountryOfCitizenship" type="AllCountriesType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Country of citizenship</Description>
						<LineNumber>Part II Sch G Line (iii)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

			<!-- Percentage Owned in Voting Stock -->
			<xsd:element name="VotingStockPercentageOwned" type="RatioType" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>
						<Description>Percentage owned in voting stock</Description>
						<LineNumber>Part II Sch G Line (iv)</LineNumber>
					</xsd:documentation>
				</xsd:annotation>
			</xsd:element>

		</xsd:sequence>

	</xsd:complexType>

</xsd:schema>
