GeoFence.xid.xml.save 2 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 https://xid.location.studio/schema/V1.0.0/XtensibleInterfaceDefinition.xsd"
               identity="GeoFence.xid.xml">
  <title>GeoFence Definition</title>
  
  <!-- Include all known definitions -->
  <import ref="https://xid.location.studio/Tensor/V1.1/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">
        <comment>Time stamp of creation</comment>
      </elem>
      <elem name="dtUpdate" type="datetime" multiplicity="1">
        <comment>Time stamp of last modification</comment>
      </elem>

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

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

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

    </struct>

  </namespace>
</specification>