<xs:complexType name="Location">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">The replacement for SiteLevel, the original, flattened concept of numbered, sibling site levels. Location is intended to capture all of the location information for a given, named location. This could include more than one location descriptor, such as a PostalAddress and the GPS Coordinates.
Location can also be described relative to other locations, by including a "Proximal Location" (a location nearby or surrounding/containing this location). In this fashion, locations can be identified and cascaded, e.g., the top floor of The Forrester Building which is at 400 Tech Square, right next to the Acamai Building:
<Location><Name>top floor</Name>
<ProximalLocation>
<Name>The Forrester Building</Name>
<Address>
<AddressLine>400 Tech Square </AddressLine>
</Address>
<ProximalLocation>
<Name>Next to the Acamai Building</Name>
</ProximalLocation>
</ProximalLocation>
</Location>
or in Bin 21 on Shelf 4 at Row 3B in Building 19:
<Location><Name>Bin</Name>
<Id>31</Id>
<ProximalLocation>
<Name>Shelf</Name>
<Id>4</Id>
<ProximalLocation>
<Name>Row</Name>
<Id>3B</Id>
<ProximalLocation>
<Name>Building</Name>
<Id>19</Id>
<Address>...</Address>
</ProximalLocation>
</ProximalLocation>
</ProximalLocation>
</Location>
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Noun">
<xs:sequence>
<xs:element name="Name" type="Name" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">A name that is associated with the location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Id" type="LocationId" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Is a unique identifier of the location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="Description" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Description of the location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="PostalAddress" minOccurs="0" />
<xs:element ref="GPSCoordinates" minOccurs="0" />
<xs:element name="LocationRelationship" type="ProximalLocation" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">The surrounding or containing location - the location where you find this location. Some things are situated only within a named location, as in "the desk" in "the last office on the right" or "the loading dock" at "the west entrance" at "400 Tech Square." It's possible that the current location can be described in relation to more than one other proximal location: "Last street on the left", "Just across from the Donut Shack."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Note" type="Note" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Note about the location.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UserArea" minOccurs="0" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|