Definition Type: ComplexType
Name: Location
Namespace: http://www.openapplications.org/oagis
Type: nsC:Noun
Containing Schema: Invoice.xsd
Abstract
Documentation:
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_
Collapse XSD Schema Diagram:
Drilldown into UserArea in schema invoice_xsd Drilldown into Note in schema invoice_xsd Drilldown into LocationRelationship in schema invoice_xsd Drilldown into GPSCoordinates in schema invoice_xsd Drilldown into PostalAddress in schema invoice_xsd Drilldown into Description in schema invoice_xsd Drilldown into Id in schema invoice_xsd Drilldown into Name in schema invoice_xsd Drilldown into Noun in schema invoice_xsdXSD Diagram of Location in schema invoice_xsd (HR-XML - Human Resources XML)
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Name nsC:Name 0 unbounded
Id nsC:Id 0 (1)
Description nsC:Description 0 unbounded
PostalAddress nsC:PostalAddress 0 (1)
GPSCoordinates nsC:GPSCoordinates 0 (1)
LocationRelationship nsC:LocationRelationship 0 unbounded
Note nsC:Note 0 unbounded
UserArea nsC:UserArea 0 (1)
Collapse Derivation Tree:
Collapse References:
nsC:Location, nsC:PlaceOfOwnershipTransfer, nsC:Site