PointOfInterest.xid.xml 2.31 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="PointOfInterest.xid.xml">
    <title>Point of Interest information Definition.</title>

  <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
  <import ref="https://xid.location.studio/GeoSpatial/V1.0.0/SpatialDefs.xid.xml" local="SpatialDefs.xid.xml" />
  <import ref="https://xid.location.studio/GeoSpatial/V1.0.0/Address.xid.xml" local="Address.xid.xml" />
  <import ref="https://xid.location.studio/GeoSpatial/V1.0.0/Contact.xid.xml" local="Contact.xid.xml" />


  <namespace name="GeoSpatial">
    <using namespace="Tensor"/>

    <!-- 
    *************************************
    * PointOfInterest Definition. 
    *************************************
    -->
    <struct name="PointOfInterest">
      <elem name="name" multiplicity ="1" type="string">
        <comment>Name of the point of interest.</comment>
      </elem>
      <elem name="floor" multiplicity ="1" type="int16" default ="0">
        <comment>Optional floor identifier, default is zero meaning the ground floor</comment>
      </elem>
      <elem name="description" multiplicity ="1" type="string">
        <comment>Other information describing the point of interest.</comment>
      </elem>
      <elem name="position" multiplicity="1" type="PositionEcef" polymorphic="true" >
        <comment>
          Center position of the POI.
        </comment>
      </elem>
      <elem name="confidence" type="float32" multiplicity="1">
        <comment>Confidence of position shape.  Valid range is 0.0 to 1.0</comment>
      </elem>
      <elem name="address" multiplicity ="0..1" type="AddressInfo" >
        <comment>Optional address information.</comment>
      </elem>
      <elem name="contact" multiplicity ="0..1" type="ContactInfo" >
        <comment>Optional contact information.</comment>
      </elem>
    </struct>

  </namespace>
</specification>