Commit 2d689c17 authored by daniel-gonzalez-sanchez's avatar daniel-gonzalez-sanchez
Browse files

Updating the EntityTemporal data type schema to include the field id, type,...

Updating the EntityTemporal data type schema to include the field id, type, and scope as well as the Entity data type schema (clause 5.2.4). Updating the description for the HTTP 201 response for the 5.6.11 Upsert Temporal Representation operation.
parent d0a0a615
Loading
Loading
Loading
Loading
+22 −1
Original line number Diff line number Diff line
@@ -1803,7 +1803,7 @@ paths:
      responses:
        '201':
          description: |
            The HTTP response shall include a "Location" HTTP header that contains
            Upon creation success, the HTTP response shall include a "Location" HTTP header that contains
            the resource URI of the created entity resource.
          headers:
            NGSILD-Tenant:
@@ -3924,6 +3924,27 @@ components:
        the EntityTemporal by using the "Simplified Temporal Representation of an Entity",
        as defined in clause 4.5.9.
      properties:
        id:
          description: |
            Entity id.
          type: string
          format: uri
        type:
          description: |
            Entity Type(s). Both short hand string(s) (type name) or URI(s) are allowed.
          oneOf:
            - type: string
            - type: array
              items:
                type: string
        scope:
          description: |
            Scope.
          oneOf:
            - type: string
            - type: array
              items:
                type: string
        location:
          description: |
            Default geospatial Property of an entity. See clause 4.7.