HpeCore.xid.xml 27.4 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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627
<?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="HpeCore.xid.xml">
    <title>HPE Core Definitions</title>
    <comment>This file contains the core definitions used by the HPE.</comment>

  <import ref="https://xid.location.studio/Tensor/V1.0.0/Definitions.xid.xml" local="Definitions.xid.xml" />
  <import ref="https://xid.location.studio/Tensor/V1.0.0/Common.xid.xml" local="Common.xid.xml" />

  <namespace name="HPE">
        <using namespace="Tensor"/>
        <!--
         *******************************************************
         Standard Definitions
         *******************************************************
         -->

        <enum name="ProcessingStatus" type="Tensor.int8" default="undefined">
            <comment>Status resulting from processing the observation data.</comment>
            <literal name="success" value="1"/>
            <literal name="undefined" value="0"/>
            <literal name="did_not_converge" value="-1"/>
            <literal name="not_enough_data" value="-2" />
            <literal name="computation_error" value="-3" />
            <literal name="parsing_error" value="-4" />
            <literal name="not_found" value="-5" />
            <literal name="unknown_error" value="-6" />
        </enum>


        <enum name="DynamicsProfile" type="Tensor.int8" default="undefined">
            <literal name="undefined" value="0"/>
            <literal name="stationary" value="1" />
            <literal name="spacecraft" value="2" />
            <literal name="aircraft" value="3" />
            <literal name="marinecraft" value="4" />
            <literal name="landcraft" value="5" />
            <literal name="bicycle" value="6" />
            <literal name="pedestrian" value="7" />
            <literal name="pedestrian_running" value="8" />
            <literal name="pedestrian_jogging" value="9" />
            <literal name="pedestrian_walking" value="10" />
        </enum>

        <enum name="EstimateRanking" type="Tensor.int8" default="calcorder">
            <literal name="undefined" value="0"/>
            <literal name="accuracy" value="1" />
            <literal name="veracity" value="2" />
            <literal name="calcorder" value="3" />
        </enum>

        <enum name="ReferenceFrame" type="Tensor.int8" default="WGS84">
            <literal name="undefined" value ="0"/>
            <literal name="WGS84" value ="1" />
            <literal name="RelativeENU" value="2"/>
            <literal name="LocalXYZ" value="3" />
        </enum>


        <!--
         *******************************************************
         Observation Datatypes
         *******************************************************
         -->
        <enum name="ObservationType" type="Tensor.int8" default="undefined">
            <literal name="undefined" value="0"/>
            <literal name="SHAPE" value="1"/>
            <literal name="MSISDN" value="6"/>
            <literal name="CELLID" value="7"/>
            <literal name="GSM_TA" value="8"/>
            <literal name="GSM_NMR" value="9"/>
            <literal name="RTT_3G" value="10"/>
            <literal name="MR_3G" value="11"/>
            <literal name="LTE_TA" value="12"/>
            <literal name="LTE_RSSI" value="13"/>
            <literal name="WIFI_RSS" value="14"/>
            <literal name="WIFI_RNG" value="15"/>
            <literal name="BLE_RSS" value="16"/>
         
            <literal name="CELLULAR_GENERIC" value="17">
                <comment>Observation type specifies a common cellular observation in generic units.</comment>
            </literal>

            <literal name="GPS_CODEPHASE_8" value="18">
                <comment>Eight standard GPS Code phase measurements (81 bytes).</comment>
            </literal>

            <literal name="GPS_CODEPHASE_MIN6" value="19">
                <comment>Eight minimum size GPS Code phase measurements (51 bytes).</comment>
            </literal>
            <literal name="GPS_CODEPHASE_MIN8" value="20">
                <comment>Eight minimum size GPS Code phase measurements (65 bytes).</comment>
            </literal>
            <literal name="GNSS_PSEUDORANGE" value="21">
                <comment>GNSS Pseudorange measurements.</comment>
            </literal>
          
            <literal name="WIFI_RSS_EXT" value="22"/>

        </enum>

        <array name="ObservationTypeArray" type="ObservationType"/>

        <array name="StateVector"      type="float64"        size="8" >
            <comment>
                Defines the HPE standard state column vector, which is comprised of the following elements in cartesian coordinates:
                X,Y,Z, Xdot, Ydot, Zdot, clk, clkrate.

                Unless using a different coordinate reference frame, these values are typically in WGS-84 ECEF reference frame, where the
                units are meters, meters per second.  Clock terms (clk and clkrate) are also expressed in meters and meters per second,
                to provide similar scalaing to physical units.  To get to seconds and seconds per second device by the speed of light.
            </comment>
        </array>

        <array name="CovarianceMatrix" type="Tensor.float64" size="64"  >
            <comment>
                Defines a 8x8 Covariance matrix for the HPE standard state vector.  This provides a linearized correlation
                matrix for the estimated state vector.   This is the high-fidelity format for providing Gaussian error information
                passed between calculation processes.al units.  To get to seconds and seconds per second device by the speed of light.
            </comment>
        </array>

        <struct name="Observation" pack="true">
            <comment>Bass type for all observation data</comment>
            <elem name="type" type="ObservationType" multiplicity="1" rttd="true">
                <comment>Identifies what type of observation this is.</comment>
            </elem>
        </struct>

        <struct name="ObservationEpoch" type="Observation" pack="true">
            <comment>Bass type for time based observation data</comment>
            <elem name="epoch" type="datetime" multiplicity="1">
                <comment>
                	Date the observation was attained. For GPS observatios (GPS_CODEPHASE_8, GPS_CODEPHASE_MIN6, GPS_CODEPHASE_MIN8, GNSS_PSEUDORANGE),
                	the epoch time has to have at least millisecond resolution. Fraction of a second epoch error can cause hundreds of meters of error
                	in position.
                </comment>
            </elem>
        </struct>

        <struct name="ObservationSet">
            <comment>A set of observations for a single device covering multiple epochs.</comment>
            <elem name="observations" type="Observation" multiplicity="0..*"  polymorphic="true"/>
        </struct>

        <!-- ShapeObservation -->
        <!-- Disable for now
         <struct name="ShapeObservation" type="Observation" pack="true" rttkey="HPE.ObservationType.SHAPE">
         <comment>Observation is comprised of a shape.</comment>
         <elem name="shape" type="Shape" multiplicity="1" polymorphic="true">
         <comment>
         The shape can be any one of the supported shape types inheriting from the Shape base type.
         </comment>
         </elem>
         </struct>
         -->

        <!--
         *******************************************************
         Reference Datatypes
         *******************************************************
         -->
        <enum name="RefDataFormat" type="Tensor.int8" default="undefined">
            <comment>Specifies the format of the Reference data.</comment>
            <literal name="undefined" value="0"/>
            <literal name="GPS_EPHEMERIS" value="1"/>
            <literal name="GPS_ALMANAC" value="2"/>
            <literal name="GLONASS_EPHEMERIS" value="3"/>
            <literal name="GALILEO_EPHEMERIS" value="4"/>
            <literal name="CELLULAR" value="5"/>
            <literal name="WIFI_AP" value="6"/>
        </enum>

        <array name="RefDataFormatArray" type="RefDataFormat"/>

        <struct name="ReferenceData" pack="true">
            <comment>Bass structure for all reference data types.</comment>
            <elem name="format" type="RefDataFormat" multiplicity="1" rttd="true">
                <comment>Identifies the format/type of the reference data.</comment>
            </elem>
        </struct>

        <struct name="ReferenceDataSet">
            <comment>A set of reference data.</comment>
            <elem name ="id" type="UUID" multiplicity="1" />
            <elem name="records" type="ReferenceData" multiplicity="1..*"  polymorphic="true"/>
        </struct>


        <!--
         *******************************************************
         Shape Datatypes
         *******************************************************
         -->
        <enum name="ShapeType" type="Tensor.int8" default="undefined">
            <!-- we can reduce this set -->
            <literal name="undefined" value="0"/>
            <literal name="Covariance" value="1"/>

            <literal name="Point2D" value="20"/>
            <literal name="Circle" value="21"/>
            <literal name="Ellipse" value="22"/>
            <literal name="Arc" value="23"/>
            <literal name="ArcBand" value="24"/>

            <literal name="Point3D" value="30"/>
            <literal name="Spheroid" value="31"/>
            <literal name="Ellipsoid" value="32"/>
            <literal name="Arc3D" value="33"/>
            <literal name="ArcBand3D" value="34"/>
        </enum>

        <array name="ShapeTypeArray" type="ShapeType"/>

        <struct name="Shape" pack="true">
            <comment>
                Shapes are used to describe various kinds of geometry.\n
                When used in an Estimate result the Shape represents the
                uncertainty area (2D) or uncertainty volume (3D) at the
                confidence in the Estimate.
            </comment>
            <elem name="type" type="ShapeType" multiplicity="1" rttd="true">
                <comment>This is the one thing all shapes have in common</comment>
            </elem>
        </struct>

        <struct name="Covariance" type="Shape" rttkey="HPE.ShapeType.Covariance">
            <comment>
                Shape encapsulates the HPE eight parameter state estimate, which is the highest fidelity form
                to transfer state estimates between calculators and the HPE filter.
            </comment>
            <elem name="state" type="StateVector" multiplicity="1"/>
            <elem name="covariance" type="CovarianceMatrix" multiplicity="1"/>
            <elem name="referenceframe" type="ReferenceFrame" multiplicity="1" default="ReferenceFrame::WGS84"/>
        </struct>

        <struct name="Point2D" type="Shape" rttkey="HPE.ShapeType.Point2D">
            <comment></comment>
            <elem name="lat" type="float64" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <tag name="reference" value="WGS84"/>
            </elem>
            <elem name="lon" type="float64" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <tag name="reference" value="WGS84"/>
            </elem>
        </struct>


        <struct name="Circle" type="Point2D" rttkey="HPE.ShapeType.Circle">
            <comment>In an Estimate, the shape is the uncertainty area.</comment>
            <elem name="radius" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>
                    In an estimate, radius is the horizontal uncertainty.\n
                    0 &lt;= radius
                </comment>
            </elem>
        </struct>

        <struct name="Ellipse" type="Point2D" rttkey="HPE.ShapeType.Ellipse">
            <comment>In an Estimate, the shape is the uncertainty area.</comment>
            <elem name="major" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>major axis horizontal radius</comment>
            </elem>
            <elem name="minor" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>minor axis horizontal radius</comment>
            </elem>
            <elem name="orient" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Angle between north and major axis.\n
                    0 &lt;= orient &lt; 180.
                </comment>
            </elem>
        </struct>

        <struct name="Arc" type="Point2D"  rttkey="HPE.ShapeType.Arc">
            <comment>In an Estimate, the shape is the uncertainty area.</comment>
            <elem name="outer" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>outer horizontal radius</comment>
            </elem>
            <elem name="inner" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>inner horizontal radius</comment>
            </elem>
            <elem name="direction" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Angle from north to center of arc.\n
                    0 &lt;= direction &lt; 360
                </comment>
            <elem name="opening" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Horizontal coverage angle of the antenna face; half on either side of direction.\n
                    0 &lt; opening &lt;= 360.
                </comment>
            </elem>
        </struct>

        <struct name="ArcBand" type="Point2D" rttkey="HPE.ShapeType.ArcBand">
            <comment>In an Estimate, the shape is the uncertainty area.</comment>
            <elem name="major_outer" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>major axis outer radius</comment>
            </elem>
            <elem name="major_inner" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>major axis inner radius</comment>
            </elem>
            <elem name="minor_outer" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>minor axis outer  radius</comment>
            </elem>
            <elem name="minor_inner" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>minor axis inner radius</comment>
            </elem>

            <elem name="orient" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Angle between north and major axis.\n
                    0 &lt;= orient &lt; 180.
                </comment>
            </elem>

            <elem name="direction" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
	            <comment>
	                Angle from north to center of arc.\n
	                0 &lt;= direction &lt; 360
	            </comment>
            <elem name="opening" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Horizontal coverage angle of the antenna face; half on either side of direction.\n
                    0 &lt; opening &lt;= 360.
                </comment>
            </elem>
        </struct>


        <struct name="Point3D" type="Point2D"  rttkey="HPE.ShapeType.Point3D">
            <comment></comment>
            <elem name="alt" type="float64" multiplicity="1">
                <tag name="unit" value="meters"/>
                <tag name="reference" value="WGS84"/>
            </elem>
        </struct>

        <struct name="Spheroid" type="Point3D" rttkey="HPE.ShapeType.Spheroid">
            <comment>
                Spheroid is the shape of a circular "pill".\n
                In an Estimate, the shape is the uncertainty area.
            </comment>
            <elem name="radius" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>
                    In an estimate, radius is the horizontal uncertainty.\n
                    0 &lt;= radius
                </comment>
            </elem>
            <elem name="vert" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>
                    In an estimate, vert is the vertical uncertainty.\n
                    0 &lt;= vert
                </comment>
            </elem>
        </struct>

        <struct name="Ellipsoid" type="Point3D" rttkey="HPE.ShapeType.Ellipsoid">
            <comment>
                Ellipsoid is the shape of an oblong "pill" at an orientation.\n
                In an Estimate, the shape is the uncertainty area.
            </comment>
            <elem name="major" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>major axis radius/distance/reach</comment>
            </elem>
            <elem name="minor" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>minor axis radius/distance/reach</comment>
            </elem>
            <elem name="orient" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    angle between north and major axis.\n
                    0 &lt;= orient &lt; 180.
                </comment>
            </elem>
            <elem name="vert" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>
                    In an estimate, vert is the vertical uncertainty.\n
                    0 &lt;= vert
                </comment>
            </elem>
        </struct>


        <struct name="Arc3D" type="Point3D" rttkey="HPE.ShapeType.Arc3D">
            <comment>
                In an Estimate, the shape is the uncertainty area.
            </comment>
            <elem name ="height" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>Height above alt(itude) area is projected from.</comment>
            </elem>
            <elem name="outer" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>outer radius/distance/reach</comment>
            </elem>
            <elem name="inner" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>inner radius/distance/reach</comment>
            </elem>
            <elem name="direction" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Angle from north to center of arc.\n
                    0 &lt;= direction &lt; 360
                </comment>
            </elem>
            <elem name="opening" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Horizontal coverage of the antenna face; half on either side of direction.\n
                    0 &lt; opening &lt;= 360.
                </comment>
            </elem>
        </struct>

        <struct name="ArcBand3D" type="Point3D" rttkey="HPE.ShapeType.ArcBand3D">
            <comment>
                In an Estimate, the shape is the uncertainty area.
            </comment>
            <elem name ="height" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>Height above alt(itude) area is projected from.</comment>
            </elem>
            <elem name="direction" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Angle from north to center of arc.\n
                    0 &lt;= direction &lt; 360
                </comment>
            </elem>
            <elem name ="tilt"   type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Vertical tilt from horizon.\n
                    -90.0 &lt;= tilt &lt;= 90.0
                </comment>
            </elem>

            <elem name="opening" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Horizontal coverage angle of the antenna face; half on either side of direction.\n
                    0 &lt; opening &lt;= 360.
                </comment>
            </elem>
            <elem name="vopening" type="float32" multiplicity="1">
                <tag name="unit" value="degrees"/>
                <comment>
                    Vertical coverage angle of the face; half on either side of tilt.\n
                    0 &lt; opening &lt;= 360.
                </comment>
            </elem>

            <elem name="radius" type="float32" multiplicity="1">
                <tag name="unit" value="meters"/>
                <comment>
                    radius/distance/reach.\n
                    0 &lt; radius
                </comment>
            </elem>

        </struct>


        <!--
         *******************************
         * StateInfo Type Definition
         *******************************
         -->

      <enum name="StateSource" type="Tensor.uint8" default="undefined">
        <comment>Source enumeration defines the source of the state information.</comment>
        <literal name="undefined" value="0">
          <comment>Source is not defined or is unknown.</comment>
        </literal>
        <literal name="gnss" value="1">
          <comment>Source is GNSS.</comment>
        </literal>
        <literal name="cellular" value="2">
          <comment>Source is cellular network location.</comment>
        </literal>
        <literal name="wifi" value="3">
          <comment>Source is WiFi location.</comment>
        </literal>
        <literal name="bluetooth" value="4">
          <comment>Source is bluetooth or bluetooth beaconning.</comment>
        </literal>
        <literal name="rtls" value="5">
          <comment>Source is real-time locating sytem (RTLS).</comment>
        </literal>
        <literal name="inertial" value="6">
          <comment>Source is inertial or sensor fusion.</comment>
        </literal>
        <literal name="hybrid" value="7">
          <comment>Source is hybrid comprised of multiple datatypes (not sensor fusion).</comment>
        </literal>
        <literal name="previous" value="8">
          <comment>Previous state calculated by the ILP/HPE engine.</comment>
        </literal>

      </enum>

      <struct name="StateInfo">
            <comment>StateInfo provides a positional definition.</comment>
            <comment>
                Used in initializaton and position submission type interfaces.
            </comment>
            <elem name="epoch" type="datetime" multiplicity="1" />

            <elem name="confidence" type="float32" multiplicity="1">
                <comment>Confidence of position shape.  Valid range is 0.0 to 1.0</comment>
            </elem>

            <elem name="shape" multiplicity="1" type="Shape" polymorphic="true" >
                <comment>
                    Position.  Polymorphic type, see specializations
                    from Shape for details.
                </comment>
            </elem>

            <elem name="speed" type="float32" multiplicity="0..1">
                <tag name="unit" value="meters/sec"/>
                <comment>speed of device in meters/sec</comment>
            </elem>

            <elem name="azimuth" type="float32" multiplicity="0..1">
                <tag name="unit" value="degrees"/>
                <comment>Azimuth heading of the device in degrees (true North)</comment>
            </elem>

            <elem name="source" type="StateSource" multiplicity="0..1" default="0">
              <comment>Source field defines the source of the state information.  If not specified, value is undefined.  Defining the source of the state information
              assists the calculation processing by characterizing the nature of the position data relative to associated observations.
              </comment>
            </elem>
      </struct>

        <!--
         *******************************************************
         Estimate Results
         *******************************************************
         -->

        <array name="StringIdentifier" type="int8" size="16">
            <comment>String identifier defines a short fixed string identifier.</comment>
        </array>

        <struct name="Estimate">
            <comment>
                Estimate is the result provided by positioning calculators at the completion
                of a calculation.
            </comment>

            <elem name="result" type="ProcessingStatus" multiplicity="1">
                <comment>
                    The result of the data processing used to produce the estimate.
                    If not success, ignore the remainder of the estimate information.
                </comment>
            </elem>

            <elem name="source" type="string" multiplicity="1">
                <comment>Estimate source identifier.  If not defined set to "".</comment>
            </elem>
            <elem name="obstype" type="ObservationType" multiplicity="1">
                <comment>The last observation type used to create the estimate.</comment>
            </elem>
            <elem name="tic" type="uint32">
                <comment>Tic count of the estimate.  Set to zero if not known.</comment>
            </elem>
            <elem name="epoch" type="datetime" multiplicity="1">
                <comment>Epoch defines the point in time for which the estimate applies.</comment>
            </elem>
            <elem name="veracity" type="float32" multiplicity="1">
                <comment>
                    Veracity defines the validity of the measurement in the range between 0 and 1.
                    A high score means the estimate is deemed valid and more reliable than a lower score.
                    If no veracity scoring is performed, this will have a value of -1.
                </comment>
            </elem>
            <elem name="confidence" type="float32" multiplicity="1">
                <comment>The estimate confidence.  Valid range is 0.0 to 1.0</comment>
            </elem>
            <elem name="shape" type="Shape" multiplicity="1" polymorphic="true">
                <comment>
                    The estimate shape result.  The particular shape is determined by the
                    preferred shapes specified in the BeginCalculation.
                </comment>
            </elem>
        </struct>
        
        <!-- eventually may be able to support variable sized elements
         <array name="EstimateArray" type="Estimate">
         <comment>
         HPE Estimates are reported in an array providing the requested formats.
         </comment>
         </array>
         -->
        
    </namespace>
</specification>