Address.xid.xml
2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?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 https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
identity="Address.xid.xml">
<title>Address Information Definition</title>
<!-- Include all known definitions -->
<import ref="https://xid.location.studio/Tensor/V1.1/Definitions.xid.xml" local="Definitions.xid.xml" />
<namespace name="GeoSpatial">
<using namespace="Tensor"/>
<!--
*************************************
* Address Definition.
*************************************
-->
<struct name="AddressInfo">
<elem name="address1" multiplicity ="1" type="string">
<comment>Address line #1 comprising house number and street name.</comment>
</elem>
<elem name="address2" multiplicity ="0..1" type="string">
<comment>Address line #2 comprising group level.</comment>
</elem>
<elem name="address3" multiplicity ="0..1" type="string">
<comment>Address line #3 comprising village level.</comment>
</elem>
<elem name="city" multiplicity ="1" type="string">
<comment>Name of City or Township level.</comment>
</elem>
<elem name="county" multiplicity ="0..1" type="string">
<comment>Name of the County or Prefectural level.</comment>
</elem>
<elem name="state" multiplicity ="1" type="string">
<comment>State or region or Provincial level. Two character state definitions ok for U.S. addresses. Default is empty.</comment>
</elem>
<elem name="country" multiplicity ="0..1" type="string">
<comment>The country name in long form.</comment>
</elem>
<elem name="countryCode" multiplicity ="1" type="string">
<comment>The ISO 3166-1 three character country code. For example, "USA".</comment>
</elem>
<elem name="postal" multiplicity ="1" type="string">
<comment>The postal code.</comment>
</elem>
</struct>
</namespace>
</specification>