Commit 47a1c4ef authored by Stephane LOUIS DIT PICARD's avatar Stephane LOUIS DIT PICARD
Browse files

refactor: Add a new schema to common to describe TrackableType

parent 04e87eab
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -119,15 +119,19 @@
        enum: [TRACKABLE, ANCHOR, UNKNOWN]
        example: ANCHOR

      TrackableType:
        description: Type for trackable
        type: string
        enum: [FIDUCIAL_MARKER, IMAGE_MARKER, MESH, MAP, GEOPOSE, OTHER]
        example: "FIDUCIAL_MARKER"

      Capability:
        description: An object representing a supported capability of the World Analysis and its associated metadata
        type: object
        uniqueItems: true
        properties:
          trackableType:
            type: string
            enum: [FIDUCIAL_MARKER, IMAGE_MARKER, MESH, MAP, GEOPOSE, OTHER]
            example: "FIDUCIAL_MARKER"
            $ref: '#/components/schemas/TrackableType'
          encodingInformation:
            $ref: '#/components/schemas/EncodingInformationStructure' 
          framerate: 
+2 −5
Original line number Diff line number Diff line
@@ -701,10 +701,7 @@ components:
              format: uuid
              example: bd6ce7ce-7fe8-487d-a179-fddfe914f293
            trackableType:
              description: Extensible list of Trackable types, possibly handled by complient world storage implementation.
              type: string
              enum: [FIDUCIAL_MARKER, IMAGE_MARKER, MESH, MAP, GEOPOSE, OTHER]
              example: FIDUCIAL_MARKER
              $ref: '../common/commonopenapi.yaml#/components/schemas/TrackableType'
            trackableEncodingInformation:      
              $ref: '../common/commonopenapi.yaml#/components/schemas/EncodingInformationStructure'
            trackablePayload: