Skip to content

Commit bda7f8d

Browse files
CCM-11886: Regenerate JSON schemas
1 parent 4e1f1a0 commit bda7f8d

File tree

3 files changed

+181
-91
lines changed

3 files changed

+181
-91
lines changed

packages/event-schemas/schemas/TemplateCompleted/v1.json

Lines changed: 60 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,23 @@
119119
},
120120
"clientId": {
121121
"description": "The client that owns the template",
122-
"type": "string"
122+
"type": "string",
123+
"maxLength": 1000
123124
},
124125
"createdAt": {
125126
"description": "Timestamp for when the template was initially created",
126-
"type": "string"
127+
"type": "string",
128+
"maxLength": 1000
127129
},
128130
"createdBy": {
129131
"description": "Unique identifier for the user that initially created the template",
130-
"type": "string"
132+
"type": "string",
133+
"maxLength": 1000
131134
},
132135
"name": {
133136
"description": "User-provided template name",
134-
"type": "string"
137+
"type": "string",
138+
"maxLength": 1000
135139
},
136140
"templateStatus": {
137141
"description": "Current status of the template",
@@ -151,19 +155,23 @@
151155
},
152156
"updatedAt": {
153157
"description": "Timestamp for when the template was most recently updated",
154-
"type": "string"
158+
"type": "string",
159+
"maxLength": 1000
155160
},
156161
"updatedBy": {
157162
"description": "Unique identifier for the user that most recently updated the template",
158-
"type": "string"
163+
"type": "string",
164+
"maxLength": 1000
159165
},
160166
"message": {
161167
"description": "Message body for the email template",
162-
"type": "string"
168+
"type": "string",
169+
"maxLength": 100000
163170
},
164171
"subject": {
165172
"description": "Subject field for the email template",
166-
"type": "string"
173+
"type": "string",
174+
"maxLength": 1000
167175
},
168176
"templateType": {
169177
"description": "Template type",
@@ -199,19 +207,23 @@
199207
},
200208
"clientId": {
201209
"description": "The client that owns the template",
202-
"type": "string"
210+
"type": "string",
211+
"maxLength": 1000
203212
},
204213
"createdAt": {
205214
"description": "Timestamp for when the template was initially created",
206-
"type": "string"
215+
"type": "string",
216+
"maxLength": 1000
207217
},
208218
"createdBy": {
209219
"description": "Unique identifier for the user that initially created the template",
210-
"type": "string"
220+
"type": "string",
221+
"maxLength": 1000
211222
},
212223
"name": {
213224
"description": "User-provided template name",
214-
"type": "string"
225+
"type": "string",
226+
"maxLength": 1000
215227
},
216228
"templateStatus": {
217229
"description": "Current status of the template",
@@ -231,15 +243,18 @@
231243
},
232244
"updatedAt": {
233245
"description": "Timestamp for when the template was most recently updated",
234-
"type": "string"
246+
"type": "string",
247+
"maxLength": 1000
235248
},
236249
"updatedBy": {
237250
"description": "Unique identifier for the user that most recently updated the template",
238-
"type": "string"
251+
"type": "string",
252+
"maxLength": 1000
239253
},
240254
"message": {
241255
"description": "Message body for the NHS App template",
242-
"type": "string"
256+
"type": "string",
257+
"maxLength": 5000
243258
},
244259
"templateType": {
245260
"description": "Template type",
@@ -274,19 +289,23 @@
274289
},
275290
"clientId": {
276291
"description": "The client that owns the template",
277-
"type": "string"
292+
"type": "string",
293+
"maxLength": 1000
278294
},
279295
"createdAt": {
280296
"description": "Timestamp for when the template was initially created",
281-
"type": "string"
297+
"type": "string",
298+
"maxLength": 1000
282299
},
283300
"createdBy": {
284301
"description": "Unique identifier for the user that initially created the template",
285-
"type": "string"
302+
"type": "string",
303+
"maxLength": 1000
286304
},
287305
"name": {
288306
"description": "User-provided template name",
289-
"type": "string"
307+
"type": "string",
308+
"maxLength": 1000
290309
},
291310
"templateStatus": {
292311
"description": "Current status of the template",
@@ -306,11 +325,13 @@
306325
},
307326
"updatedAt": {
308327
"description": "Timestamp for when the template was most recently updated",
309-
"type": "string"
328+
"type": "string",
329+
"maxLength": 1000
310330
},
311331
"updatedBy": {
312332
"description": "Unique identifier for the user that most recently updated the template",
313-
"type": "string"
333+
"type": "string",
334+
"maxLength": 1000
314335
},
315336
"files": {
316337
"description": "Object containing information about proofs attached to the template",
@@ -325,7 +346,8 @@
325346
"type": "object",
326347
"properties": {
327348
"supplier": {
328-
"type": "string"
349+
"type": "string",
350+
"maxLength": 1000
329351
}
330352
},
331353
"required": [
@@ -388,7 +410,8 @@
388410
"description": "List of personalisation parameters used in the template",
389411
"type": "array",
390412
"items": {
391-
"type": "string"
413+
"type": "string",
414+
"maxLength": 1000
392415
}
393416
}
394417
},
@@ -422,19 +445,23 @@
422445
},
423446
"clientId": {
424447
"description": "The client that owns the template",
425-
"type": "string"
448+
"type": "string",
449+
"maxLength": 1000
426450
},
427451
"createdAt": {
428452
"description": "Timestamp for when the template was initially created",
429-
"type": "string"
453+
"type": "string",
454+
"maxLength": 1000
430455
},
431456
"createdBy": {
432457
"description": "Unique identifier for the user that initially created the template",
433-
"type": "string"
458+
"type": "string",
459+
"maxLength": 1000
434460
},
435461
"name": {
436462
"description": "User-provided template name",
437-
"type": "string"
463+
"type": "string",
464+
"maxLength": 1000
438465
},
439466
"templateStatus": {
440467
"description": "Current status of the template",
@@ -454,15 +481,18 @@
454481
},
455482
"updatedAt": {
456483
"description": "Timestamp for when the template was most recently updated",
457-
"type": "string"
484+
"type": "string",
485+
"maxLength": 1000
458486
},
459487
"updatedBy": {
460488
"description": "Unique identifier for the user that most recently updated the template",
461-
"type": "string"
489+
"type": "string",
490+
"maxLength": 1000
462491
},
463492
"message": {
464493
"description": "Message body for the NHS App template",
465-
"type": "string"
494+
"type": "string",
495+
"maxLength": 918
466496
},
467497
"templateType": {
468498
"description": "Template type",

0 commit comments

Comments
 (0)