AMP-203 Added separate object for week commencing#106
AMP-203 Added separate object for week commencing#106vineetkapoor-hmcts merged 8 commits intomainfrom
Conversation
| "properties": { | ||
| "startDate": { | ||
| "description": "Proposed hearing week start date", | ||
| "type": "string", |
There was a problem hiding this comment.
can this be type string format date?
There was a problem hiding this comment.
checked this on cp side and its a string
| }, | ||
| "endDate": { | ||
| "description": "One week calculated end date", | ||
| "type": "string", |
There was a problem hiding this comment.
can this be type string format date?
There was a problem hiding this comment.
checked this on cp side and its a string
| "courtHouse": { | ||
| "description": "Court house details ref id", | ||
| "type": "string", | ||
| "pattern": "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$", |
There was a problem hiding this comment.
is this a uuid? in which case type:string format:uuid?
| sittingEnd: "2025-03-25T12:00:00Z" | ||
| judiciaryId: "123e4567-e89b-12d3-a456-426614174000" | ||
| courtHouse: "223e4567-e89b-12d3-a456-426614174111" | ||
| courtRoom: "223e4567-e89b-12d3-a456-426614174111" |
There was a problem hiding this comment.
can we make it different from courtHouse to avoid any possible coinfusion ?
I use alias to generate uuid on mac
uuidgen | awk '{ print tolower($1) }
There was a problem hiding this comment.
This is one of my friend's website uuidgenerator.net
| startDate: | ||
| description: "Proposed hearing week start Date" | ||
| type: string | ||
| example: "2026-02-16" |
There was a problem hiding this comment.
same ... format date ... uuid etc down below
There was a problem hiding this comment.
checked this on cp side and its a string
| description: "Number of week(s) hearing is proposed for" | ||
| type: integer | ||
| example: 1 | ||
| weekCommencing: |
There was a problem hiding this comment.
"courtSittings": [] // Always empty is missing
There was a problem hiding this comment.
i wanted to clarify this with Deb first
There was a problem hiding this comment.
added in the example.
Note: courtSittings is not part of new object i.e weekCommencing
There was a problem hiding this comment.
We should not generate random tags. It needs to be added at top. Name it Court Schedule
Uh oh!
There was an error while loading. Please reload this page.