<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://nwalsh.com/xmlns/witw-get#" xmlns:get="http://nwalsh.com/xmlns/witw-get#">
  <xs:element name="get">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element ref="get:userid"/>
        <xs:element ref="get:nearby"/>
        <xs:group ref="get:otherElement"/>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:element name="userid" type="get:userId"/>
  <xs:element name="nearby">
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="0"/>
        <xs:enumeration value="1"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:element>
  <xs:group name="otherElement">
    <xs:choice>
      <xs:any namespace="##other" processContents="skip"/>
      <xs:any namespace="##local" processContents="skip"/>
    </xs:choice>
  </xs:group>
  <xs:attributeGroup name="otherAttribute">
    <xs:anyAttribute processContents="skip"/>
  </xs:attributeGroup>
  <xs:simpleType name="userId">
    <xs:restriction base="xs:string">
      <xs:minLength value="3"/>
      <xs:maxLength value="12"/>
      <xs:pattern value="[a-z0-9]*"/>
    </xs:restriction>
  </xs:simpleType>
</xs:schema>

