Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions specification/schemas/components/MessageStatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ properties:
example: '2023-11-17T14:27:51.413Z'
routingPlan:
$ref: ../types/RoutingPlan.yaml
metadata:
type: array
minItems: 1
items:
$ref: ../types/Metadata.yaml
required:
- messageId
- messageReference
Expand Down
18 changes: 18 additions & 0 deletions specification/schemas/types/Metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
type: object
additionalProperties: false
properties:
Comment thread
gareth-allan marked this conversation as resolved.
version:
type: string
description: The version identifier of the source data at the time it was queried
example: '2'
queriedAt:
type: date-time
description: The timestamp when the source was queried
example: '2023-11-17T14:27:51.413Z'
source:
type: string
description: This identifies the source of the metadata. This is a free text field and can be used to identify the system that provided the metadata.
example: 'pds'
required:
- queriedAt
- source