Address.xid.xml 1.73 KB
<?xml version="1.0" encoding="UTF-8" ?>

<specification xmlns="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xid="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd XtensibleInterfaceDefinition.xsd"
               identity="Address.xid.xml">
    <title>Address Information Definition</title>
    
  <!-- Include all known definitions -->
  <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
  
  
  <namespace name="GeoSpatial">

    <!-- 
    *************************************
    * Address Definition. 
    *************************************
    -->
    <struct name="AddressInfo">
      <elem name="address1" multiplicity ="1" type="string">
        <comment>First line street address.</comment>
      </elem>
      <elem name="address2" multiplicity ="0..1" type="string">
        <comment>Second line street address.</comment>
      </elem>
      <elem name="City" multiplicity ="1" type="string">
        <comment>Name of City.</comment>
      </elem>
      <elem name="StateRegion" multiplicity ="1" type="string">
        <comment>State or region. Two character state definitions ok for U.S. addresses. Default is empty.</comment>
      </elem>
      <elem name="PostalCode" multiplicity ="1" type="string">
        <comment>Postal code or zip code.</comment>
      </elem>
      <elem name="Country" multiplicity ="1" type="string">
        <comment>Name of the country.</comment>
      </elem>

    </struct>
  </namespace>
</specification>