Skip to content

Commit

Permalink
minor(cb2-11103): allow createdatdate to be an iso string (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonT95 authored Apr 3, 2024
1 parent 26587fe commit 5bd117d
Show file tree
Hide file tree
Showing 34 changed files with 116 additions and 276 deletions.
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/get/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1122,4 +1117,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/get/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1203,4 +1198,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/get/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1194,4 +1189,4 @@
}
]
}
}
}
15 changes: 5 additions & 10 deletions json-definitions/v3/tech-record/get/lgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"maxLength": 255
},
"techRecord_adrDetails_documentId": {
"type": "string"
"type": "string"
},
"techRecord_adrDetails_dangerousGoods": {
"type": [
Expand Down Expand Up @@ -135,14 +135,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -701,4 +696,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/get/lgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -708,4 +703,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/get/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1327,4 +1322,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/get/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1402,4 +1397,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/get/trl/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1392,4 +1387,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/put/hgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1071,4 +1066,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/put/hgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1150,4 +1145,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/put/hgv/testable/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1133,4 +1128,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/put/lgv/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -632,4 +627,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/put/lgv/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -637,4 +632,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/put/trl/complete/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1275,4 +1270,4 @@
}
]
}
}
}
13 changes: 4 additions & 9 deletions json-definitions/v3/tech-record/put/trl/skeleton/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,9 @@
"maxLength": 1024
},
"createdAtDate": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "null"
}
"type": [
"string",
"null"
]
},
"lastUpdatedBy": {
Expand Down Expand Up @@ -1338,4 +1333,4 @@
}
]
}
}
}
Loading

0 comments on commit 5bd117d

Please sign in to comment.