GeoFence.xml 2.01 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="GeoFence.xid.xml">
  <title>GeoFence Definition</title>
  
  <!-- Include all known definitions -->
  <import ref="http://xid.location.studio/Tensor/V1.0.0/GeoObject.xid.xml" local="GeoObject.xid.xml" />

  <namespace name="GeoSpatial">
    <using namespace="Tensor"/>
    
    <!-- 
    *************************************
    * GeoFence Definition
    *************************************
    -->
    <struct name="GeoFence"  rttkey="GeoSpatial.ObjectType.GeoFence">
      <comment>Defines a geofence based on a geo object adding additional parameters supporting geo-spatial services.</comment>

      <elem name="type" type="ObjectType" multiplicity="1" rttd="true">
        <comment>identify the type of the GeoObject</comment>
      </elem>

      <elem name="dtCreate" type="datetime" multiplicity="1" ord="21">
        <comment>Time stamp of creation</comment>
      </elem>
      <elem name="dtUpdate" type="datetime" multiplicity="1" ord="22">
        <comment>Time stamp of last modification</comment>
      </elem>

      <elem name="account" type="Tensor.uri" multiplicity="1" ord="24">
        <comment>URI identifies account information for the GeoObject.</comment>
      </elem>

      <elem name="group" type="Tensor.uri" multiplicity="1" ord="25">
        <comment>URI identifies group information for the GeoObject.</comment>
      </elem>

      <elem name="source" type="Tensor.uri" multiplicity="1" ord="23">
        <comment>URI identifies the source of the information provided.</comment>
      </elem>

    </struct>

  </namespace>
</specification>