TileManagementApi.xid.xml 3.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="TileManagementApi.xid.xml">
  <title>SLAM Tile Management API Specifications</title>
  <comment>This file defines the SLAM tile management API.</comment>

  <!-- Include all known definitions -->
  <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
  <import ref="https://xid.location.studio/HPE/V1.1.1/HpeCore.xid.xml" local="HpeCore.xid.xml" />
  <import ref="https://xid.location.studio/HPE/CommonDefs/V1.1.1/HpeGnss.xid.xml" local="HpeGnss.xid.xml" />
  <import ref="https://xid.location.studio/HPE/CommonDefs/V1.1.1/HpeCellular.xid.xml" local="HpeCellular.xid.xml" />
  <import ref="https://xid.location.studio/HPE/CommonDefs/V1.1.1/HpeWiFi.xid.xml" local="HpeWiFi.xid.xml" />
  <import ref="https://xid.location.studio/ILP/V1.1.1/ApiBase.xid.xml" local="SLAM/ApiBase.xid.xml" />
  <import ref="https://xid.location.studio/ILP/SLAM/V1.0.0_alpha/CommonDefs.xid.xml" local="SLAM/Commondefs.xid.xml" />
  <import ref="https://xid.location.studio/ILP/SLAM/V1.0.0_alpha/ReferenceData.xid.xml" local="SLAM/ReferenceData.xid.xml" />
  <import ref="https://xid.location.studio/ILP/SLAM/V1.0.0_alpha/TileDefinitions.xid.xml" local="SLAM/TileDefinitions.xid.xml" />


  <namespace name="SLAM">
    <using namespace="HPE"/>
    <using namespace="Tensor"/>
    
    <!--
	  *******************************************************
    Tile Management API
    *******************************************************
    -->
    <interface name="TileManagement">
      <comment>Interface for submitting a new tile to the DB. </comment>
      <operation name="DeleteTile">
        <comment>
          Interaction to delete a tile.
        </comment>
        <input name="input" type="ILP.InputBase" sid="0x101b">
          <comment>defines the input data for DeleteTile operation</comment>
          <elem name="tileid" type="Tensor.UUID" multiplicity="1" >
            <comment>element specifies UUID of the the tile</comment>
          </elem>
        </input>     
      </operation>

      <operation name="UploadTile">

        <comment>interation to upload a tile</comment>
        <input name="input" type="ILP.InputBase" sid="0x102b">
          <comment>defines the input data structure for UploadTile operation</comment>
          <elem name="tile" type="Tile" multiplicity="1">
            <comment>the tile structure</comment>
          </elem>
        </input>
      </operation>

      <operation name="UpdateTile">

        <comment>interation to update a tile</comment>
        <input name="input" type="ILP.InputBase" sid="0x103b">
          <comment>defines the input data structure for UpdateTile operation</comment>
          <elem name="tile" type="Tile" multiplicity="1">
            <comment>the tile structure</comment>
          </elem>
        </input>
        
      </operation>
    
    </interface>
    
  </namespace>
</specification>