Skip to content

Commit 12bf48c

Browse files
committed
CCM-13303: Update Generate Report schema to require a reportDate
1 parent 9a84bf7 commit 12bf48c

2 files changed

Lines changed: 7 additions & 16 deletions

File tree

src/cloudevents/domains/digital-letters/2025-10-draft/data/digital-letters-reporting-generate-report-data.schema.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ additionalProperties: false
66
properties:
77
senderId:
88
$ref: ../defs/requests.schema.yaml#/properties/senderId
9-
reportPeriodStartTime:
10-
$ref: ../defs/mesh.schema.yaml#/properties/reportPeriodStartTime
11-
reportPeriodEndTime:
12-
$ref: ../defs/mesh.schema.yaml#/properties/reportPeriodEndTime
9+
reportDate:
10+
$ref: ../defs/mesh.schema.yaml#/properties/reportDate
1311
required:
1412
- senderId
15-
- reportPeriodStartTime
16-
- reportPeriodEndTime
13+
- reportDate

src/cloudevents/domains/digital-letters/2025-10-draft/defs/mesh.schema.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,9 @@ properties:
2121
description: Id of the mailbox used to receive daily reports
2222
examples:
2323
- "MAILBOX02"
24-
reportPeriodStartTime:
24+
reportDate:
2525
type: string
26-
format: date-time
27-
description: Start time of the reporting period
26+
format: date
27+
description: Date covered by the report
2828
examples:
29-
- "2025-12-03T00:00:00Z"
30-
reportPeriodEndTime:
31-
type: string
32-
format: date-time
33-
description: End time of the reporting period
34-
examples:
35-
- "2025-12-04T23:59:59Z"
29+
- "2025-12-03"

0 commit comments

Comments
 (0)