Loading ngsi-ld-api.yaml +22 −2 Original line number Diff line number Diff line Loading @@ -3365,7 +3365,9 @@ components: value: description: | Property value. $ref: '#/components/schemas/AnyValue' oneOf: - $ref: '#/components/schemas/DateTimeValue' - $ref: '#/components/schemas/AnyValue' observedAt: $ref: '#/components/schemas/ObservedAt' description: | Loading Loading @@ -3405,6 +3407,8 @@ components: description: | Previous Property value. Only used in notifications. allOf: - oneOf: - $ref: '#/components/schemas/DateTimeValue' - $ref: '#/components/schemas/AnyValue' readOnly: true additionalProperties: Loading Loading @@ -4930,6 +4934,22 @@ components: - $ref: '#/components/schemas/Geometry.LineString' - $ref: '#/components/schemas/Geometry.MultiLineString' - $ref: '#/components/schemas/Geometry.MultiPolygon' DateTimeValue: description: | Date representation as mandated by C.6 "Date Representation" type: object properties: '@type': type: string enum: - DateTime default: DateTime '@value': type: string format: date-time required: - '@type' - '@value' # ###### # Took "ProblemDetails" schema from ETSI NFV OAS Loading Loading
ngsi-ld-api.yaml +22 −2 Original line number Diff line number Diff line Loading @@ -3365,7 +3365,9 @@ components: value: description: | Property value. $ref: '#/components/schemas/AnyValue' oneOf: - $ref: '#/components/schemas/DateTimeValue' - $ref: '#/components/schemas/AnyValue' observedAt: $ref: '#/components/schemas/ObservedAt' description: | Loading Loading @@ -3405,6 +3407,8 @@ components: description: | Previous Property value. Only used in notifications. allOf: - oneOf: - $ref: '#/components/schemas/DateTimeValue' - $ref: '#/components/schemas/AnyValue' readOnly: true additionalProperties: Loading Loading @@ -4930,6 +4934,22 @@ components: - $ref: '#/components/schemas/Geometry.LineString' - $ref: '#/components/schemas/Geometry.MultiLineString' - $ref: '#/components/schemas/Geometry.MultiPolygon' DateTimeValue: description: | Date representation as mandated by C.6 "Date Representation" type: object properties: '@type': type: string enum: - DateTime default: DateTime '@value': type: string format: date-time required: - '@type' - '@value' # ###### # Took "ProblemDetails" schema from ETSI NFV OAS Loading