<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: fbga.xsd 149 2009-03-15 02:50:45Z dret $ -->
<!-- This work is licensed under a Creative Commons Attribution 3.0 United States License. -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fbga="http://isd.ischool.berkeley.edu/stimulus/2009-029/fbga.xsd" targetNamespace="http://isd.ischool.berkeley.edu/stimulus/2009-029/fbga.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="allocation">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="recipient">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="45"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="funding">
					<xs:simpleType>
						<xs:restriction base="xs:integer">
							<xs:totalDigits value="11"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="DUNS">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:length value="13"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="CFDA">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:length value="7"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="CFDA-title">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="74"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:sequence maxOccurs="3">
					<xs:element name="address">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="35"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:sequence>
				<xs:element name="city">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="code" use="required">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:length value="5"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="county">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="code" use="required">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:length value="3"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="state">
					<xs:complexType>
						<xs:simpleContent>
							<xs:extension base="xs:string">
								<xs:attribute name="code" use="required">
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:length value="2"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="zip">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:maxLength value="9"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="agency">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:length value="2"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="account">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:length value="4"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="sub-account" minOccurs="0">
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:length value="3"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="date" type="xs:date"/>
			<xs:attribute name="lat" type="xs:decimal" use="optional"/>
			<xs:attribute name="lon" type="xs:decimal" use="optional"/>
		</xs:complexType>
	</xs:element>
</xs:schema>
