Commit 0d970cbe authored by Ignacio Dominguez Martinez-Casanueva's avatar Ignacio Dominguez Martinez-Casanueva
Browse files

Define ObservedAt schema with other temporal properties

parent d014138e
Loading
Loading
Loading
Loading
+19 −16
Original line number Diff line number Diff line
@@ -3118,27 +3118,38 @@ components:
    # End of Options parameters
    ###
    ###
    # Beginning of Common members from 5.2.2
    #
    # Beginning of 4.8 Temporal Properties
    #
    CreatedAt:
      description: |
        Entity creation timestamp. See clause 4.8.
        Is defined as the temporal Property at which the Entity, Property or
        Relationship was entered into an NGSI-LD system.
      type: string
      format: date-time
    ModifiedAt:
      description: |
        Entity last modification timestamp. See clause 4.8.
        Is defined as the temporal Property at which the Entity, Property or Relationship
        was last modified in an NGSI-LD system, e.g. in order to correct a previously entered incorrect value.
      type: string
      format: date-time
    DeletedAt:
      description: |
        Is defined as the temporal Property at which the Entity, Property or Relationship was deleted from an NGSI-LD system.

        Entity deletion timestamp. See clause 4.8 It is only used in notifications reporting deletions and in the
        Temporal Representation of Entities (clause 4.5.6), Properties (clause 4.5.7), Relationships (clause 4.5.8)
        and LanguageProperties (clause 5.2.32).
      type: string
      format: date-time
    ObservedAt:
      description: |
        Is defined as the temporal Property at which a certain Property or Relationship became valid or was observed.
        For example, a temperature Value was measured by the sensor at this point in time.
      type: string
      format: date-time
    #
    # End of Common members from 5.2.2
    # End of 4.8 Temporal Properties
    ###
    LdContext:
      description: |
@@ -3242,6 +3253,7 @@ components:
            Previous Property value.
          $ref: '#/components/schemas/AnyValue'
        observedAt:
          $ref: '#/components/schemas/ObservedAt'
          description: |
            Timestamp. See clause 4.8.
          type: string
@@ -3291,10 +3303,7 @@ components:
          type: string
          format: uri
        observedAt:
          description: |
            Timestamp. See clause 4.8.
          type: string
          format: date-time
          $ref: '#/components/schemas/ObservedAt'
        datasetId:
          description: |
            It allows identifying a set or group of target relationship objects.
@@ -3334,10 +3343,7 @@ components:
        value:
          $ref: '#/components/schemas/Geometry'
        observedAt:
          description: |
            Timestamp. See clause 4.8.
          type: string
          format: date-time
          $ref: '#/components/schemas/ObservedAt'
        datasetId:
          description: |
            It allows identifying a set or group of property values.
@@ -4443,10 +4449,7 @@ components:
            Previous Language Property languageMap.
          type: object
        observedAt:
          description: |
            Timestamp. See clause 4.8.
          type: string
          format: date-time
          $ref: '#/components/schemas/ObservedAt'
        datasetId:
          description: |
            It allows identifying a set or group of property values.