<?xml version="1.0"?>
<schema 
	xmlns="http://www.w3.org/2001/XMLSchema" 
	xmlns:peeps="http://www.vikingstamp.com/photosite/resourses/users" 
	targetNamespace="http://www.vikingstamp.com/photosite/resourses/users" 
	elementFormDefault="qualified">	
	<element name="users">
		<complexType>
			<sequence maxOccurs="unbounded">
			<element name="person">
			<complexType>
				<sequence>
					<element name="first" type="normalizedString"/>
					<element name="last" type="normalizedString"/>
					<element name="email" type="normalizedString"/>
					<element name="userName" type="normalizedString"/>
					<element name="userInfo" type="normalizedString" default="No info provided"/>
					<element name="dateJoined" type="date"/>
					<element name="num_of_pics"	default="0"/>
					<element name="linkedFriends" minOccurs="0">
						<complexType>
							<sequence>
								<element name="linkedUser" maxOccurs="unbounded"/>
							</sequence>
						</complexType>
					</element>
					<element name="lastLogin" type="date"/>
					<element name="categories" minOccurs="0">
						<complexType>
							<sequence maxOccurs="unbounded" minOccurs="0">
								<element name="mainCat">
									<complexType mixed="true">
										<sequence minOccurs="0" maxOccurs="unbounded">
											<element name="subCat" type="token"/>
										</sequence>
									</complexType>
								</element>
							</sequence>
						</complexType>
					</element>
					<element name="usersComments" minOccurs="0">
						<complexType>
							<sequence maxOccurs="unbounded">
								<element name="user" type="token" />
								<element name="commentDate" type="date" />
								<element name="comment" type="string" />
							</sequence>
						</complexType>
					</element>
					<element name="other_users_comments" minOccurs="0">
						<complexType>					
							<sequence maxOccurs="unbounded">
									<element name="user" type="token" />
									<element name="commentDate" type="date" />
									<element name="comment" type="token" />
							</sequence>							
						</complexType>
					</element>
				</sequence>
		</complexType>
	</element>
	</sequence>
	</complexType>
	</element>
</schema>