@planning-inspectorate/data-model 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/.azure/ci.yml +60 -0
  2. package/.azure/release.yml +57 -0
  3. package/.github/dependabot.yml +11 -0
  4. package/.husky/install.mjs +7 -0
  5. package/.husky/pre-commit +1 -0
  6. package/.prettierignore +11 -0
  7. package/.prettierrc +19 -0
  8. package/LICENSE +21 -0
  9. package/README.md +237 -0
  10. package/commitlint.config.js +8 -0
  11. package/docs/README.md +85 -0
  12. package/docs/appeal-document.md +776 -0
  13. package/docs/appeal-event-estimate.md +108 -0
  14. package/docs/appeal-event.md +404 -0
  15. package/docs/appeal-has.md +1960 -0
  16. package/docs/appeal-representation.md +375 -0
  17. package/docs/appeal-s78.md +3607 -0
  18. package/docs/appeal.md +1879 -0
  19. package/docs/case-schedule.md +8 -0
  20. package/docs/dart-response.md +1413 -0
  21. package/docs/employee.md +70 -0
  22. package/docs/entraid.md +108 -0
  23. package/docs/folder.md +147 -0
  24. package/docs/gettimesheets-response.md +188 -0
  25. package/docs/interested-party.md +284 -0
  26. package/docs/listed-building.md +113 -0
  27. package/docs/listed-buildings.md +113 -0
  28. package/docs/nsip-document.md +966 -0
  29. package/docs/nsip-exam-timetable-defs-event.md +223 -0
  30. package/docs/nsip-exam-timetable-defs-line-item.md +51 -0
  31. package/docs/nsip-exam-timetable-defs.md +3 -0
  32. package/docs/nsip-exam-timetable-submission.md +113 -0
  33. package/docs/nsip-exam-timetable.md +352 -0
  34. package/docs/nsip-project-update.md +163 -0
  35. package/docs/nsip-project.md +2098 -0
  36. package/docs/nsip-representation-defs-attachment.md +133 -0
  37. package/docs/nsip-representation-defs.md +3 -0
  38. package/docs/nsip-representation.md +448 -0
  39. package/docs/nsip-subscription.md +193 -0
  40. package/docs/pins-inspector.md +184 -0
  41. package/docs/pins-lpa.md +260 -0
  42. package/docs/s51-advice.md +460 -0
  43. package/docs/service-user.md +575 -0
  44. package/eslint.config.js +21 -0
  45. package/jsconfig.json +12 -0
  46. package/package.json +55 -0
  47. package/pins_data_model/__init__.py +0 -0
  48. package/pins_data_model/gen_models.py +51 -0
  49. package/pins_data_model/load_schemas.py +51 -0
  50. package/pins_data_model/models/__init__.py +0 -0
  51. package/pins_data_model/models/model_appeal_document.py +294 -0
  52. package/pins_data_model/models/model_appeal_event.py +117 -0
  53. package/pins_data_model/models/model_appeal_event_estimate.py +37 -0
  54. package/pins_data_model/models/model_appeal_has.py +585 -0
  55. package/pins_data_model/models/model_appeal_representation.py +132 -0
  56. package/pins_data_model/models/model_appeal_s78.py +864 -0
  57. package/pins_data_model/models/model_case_schedule.py +11 -0
  58. package/pins_data_model/models/model_dart_response.py +292 -0
  59. package/pins_data_model/models/model_entraid.py +37 -0
  60. package/pins_data_model/models/model_folder.py +56 -0
  61. package/pins_data_model/models/model_gettimesheets_response.py +45 -0
  62. package/pins_data_model/models/model_listed_building.py +33 -0
  63. package/pins_data_model/models/model_listed_buildings.py +33 -0
  64. package/pins_data_model/models/model_nsip_document.py +199 -0
  65. package/pins_data_model/models/model_nsip_exam_timetable.py +90 -0
  66. package/pins_data_model/models/model_nsip_project.py +488 -0
  67. package/pins_data_model/models/model_nsip_project_update.py +60 -0
  68. package/pins_data_model/models/model_nsip_representation.py +83 -0
  69. package/pins_data_model/models/model_nsip_subscription.py +60 -0
  70. package/pins_data_model/models/model_pins_inspector.py +53 -0
  71. package/pins_data_model/models/model_pins_lpa.py +69 -0
  72. package/pins_data_model/models/model_s51_advice.py +109 -0
  73. package/pins_data_model/models/model_service_user.py +121 -0
  74. package/requirements.txt +2 -0
  75. package/schemas/__init__.py +0 -0
  76. package/schemas/appeal-document.schema.json +250 -0
  77. package/schemas/appeal-event-estimate.schema.json +31 -0
  78. package/schemas/appeal-event.schema.json +123 -0
  79. package/schemas/appeal-has.schema.json +576 -0
  80. package/schemas/appeal-representation.schema.json +131 -0
  81. package/schemas/appeal-s78.schema.json +1060 -0
  82. package/schemas/commands/__init__.py +0 -0
  83. package/schemas/commands/appeal-common-submission.schema.json +202 -0
  84. package/schemas/commands/appeal-has-submission.schema.json +82 -0
  85. package/schemas/commands/appeal-representation-submission.schema.json +192 -0
  86. package/schemas/commands/appeal-s78-submission.schema.json +100 -0
  87. package/schemas/commands/appellant-submission.schema.json +164 -0
  88. package/schemas/commands/interested-party.schema.json +80 -0
  89. package/schemas/commands/lpa-questionnaire-common.schema.json +110 -0
  90. package/schemas/commands/lpa-questionnaire-has.schema.json +69 -0
  91. package/schemas/commands/lpa-questionnaire-s78.schema.json +218 -0
  92. package/schemas/commands/lpa-questionnaire.schema.json +125 -0
  93. package/schemas/commands/new-deadline-submission.schema.json +59 -0
  94. package/schemas/commands/nsip-exam-timetable-submission.schema.json +27 -0
  95. package/schemas/commands/register-nsip-subscription.schema.json +32 -0
  96. package/schemas/commands/register-representation.schema.json +51 -0
  97. package/schemas/dart-response.schema.json +350 -0
  98. package/schemas/entraid.schema.json +31 -0
  99. package/schemas/folder.schema.json +49 -0
  100. package/schemas/gettimesheets-response.schema.json +46 -0
  101. package/schemas/listed-building.schema.json +31 -0
  102. package/schemas/listed-buildings.schema.json +31 -0
  103. package/schemas/nsip-document.schema.json +235 -0
  104. package/schemas/nsip-exam-timetable.schema.json +101 -0
  105. package/schemas/nsip-project-update.schema.json +49 -0
  106. package/schemas/nsip-project.schema.json +539 -0
  107. package/schemas/nsip-representation.schema.json +110 -0
  108. package/schemas/nsip-subscription.schema.json +52 -0
  109. package/schemas/pins-inspector.schema.json +47 -0
  110. package/schemas/pins-lpa.schema.json +63 -0
  111. package/schemas/s51-advice.schema.json +113 -0
  112. package/schemas/service-user.schema.json +152 -0
  113. package/setup.py +15 -0
  114. package/src/enums.cjs +632 -0
  115. package/src/enums.d.ts +573 -0
  116. package/src/enums.js +573 -0
  117. package/src/gen-docs.js +34 -0
  118. package/src/gen-enums.js +119 -0
  119. package/src/gen-types.js +70 -0
  120. package/src/index.cjs +746 -0
  121. package/src/index.d.ts +18 -0
  122. package/src/index.js +34 -0
  123. package/src/lib/load.js +78 -0
  124. package/src/schemas.d.ts +4570 -0
  125. package/tests/appeals/appeal-event.test.js +62 -0
  126. package/tests/appeals/commands/appeal-representation-submission.test.js +107 -0
  127. package/tests/appeals/commands/has-questionnaire.test.js +92 -0
  128. package/tests/appeals/commands/has-submission.test.js +113 -0
  129. package/tests/appeals/commands/s78-questionnaire.test.js +96 -0
  130. package/tests/appeals/commands/s78-submission.test.js +119 -0
  131. package/tests/schemas.test.js +97 -0
@@ -0,0 +1,352 @@
1
+ ## Examination Timetable Type
2
+
3
+ `object` ([Examination Timetable](nsip-exam-timetable.md))
4
+
5
+ # Examination Timetable Properties
6
+
7
+ | Property | Type | Required | Nullable | Defined by |
8
+ | :------------------------------ | :-------- | :------- | :------------- | :----------------------------------------------------------------------------------------------------------------------------------- |
9
+ | [caseReference](#casereference) | `string` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-properties-casereference.md "nsip-exam-timetable.schema.json#/properties/caseReference") |
10
+ | [published](#published) | `boolean` | Optional | can be null | [Examination Timetable](nsip-exam-timetable-properties-published.md "nsip-exam-timetable.schema.json#/properties/published") |
11
+ | [events](#events) | `array` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-properties-events.md "nsip-exam-timetable.schema.json#/properties/events") |
12
+ | Additional Properties | Any | Optional | can be null | |
13
+
14
+ ## caseReference
15
+
16
+ Unique string reference of the associated Case
17
+
18
+ `caseReference`
19
+
20
+ * is required
21
+
22
+ * Type: `string`
23
+
24
+ * cannot be null
25
+
26
+ * defined in: [Examination Timetable](nsip-exam-timetable-properties-casereference.md "nsip-exam-timetable.schema.json#/properties/caseReference")
27
+
28
+ ### caseReference Type
29
+
30
+ `string`
31
+
32
+ ## published
33
+
34
+ whether the Examination Timetable has been published or not
35
+
36
+ `published`
37
+
38
+ * is optional
39
+
40
+ * Type: `boolean`
41
+
42
+ * can be null
43
+
44
+ * defined in: [Examination Timetable](nsip-exam-timetable-properties-published.md "nsip-exam-timetable.schema.json#/properties/published")
45
+
46
+ ### published Type
47
+
48
+ `boolean`
49
+
50
+ ## events
51
+
52
+
53
+
54
+ `events`
55
+
56
+ * is required
57
+
58
+ * Type: `object[]` ([Details](nsip-exam-timetable-defs-event.md))
59
+
60
+ * cannot be null
61
+
62
+ * defined in: [Examination Timetable](nsip-exam-timetable-properties-events.md "nsip-exam-timetable.schema.json#/properties/events")
63
+
64
+ ### events Type
65
+
66
+ `object[]` ([Details](nsip-exam-timetable-defs-event.md))
67
+
68
+ ## Additional Properties
69
+
70
+ Additional properties are allowed and do not have to follow a specific schema
71
+
72
+ # Examination Timetable Definitions
73
+
74
+ ## Definitions group event
75
+
76
+ Reference this group by using
77
+
78
+ ```json
79
+ {"$ref":"nsip-exam-timetable.schema.json#/$defs/event"}
80
+ ```
81
+
82
+ | Property | Type | Required | Nullable | Defined by |
83
+ | :------------------------------------------------ | :-------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
84
+ | [eventId](#eventid) | `integer` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventid.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventId") |
85
+ | [type](#type) | `string` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-type.md "nsip-exam-timetable.schema.json#/$defs/event/properties/type") |
86
+ | [eventTitle](#eventtitle) | `string` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventtitle.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventTitle") |
87
+ | [eventTitleWelsh](#eventtitlewelsh) | `string` | Optional | can be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventtitlewelsh.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventTitleWelsh") |
88
+ | [description](#description) | `string` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-description.md "nsip-exam-timetable.schema.json#/$defs/event/properties/description") |
89
+ | [descriptionWelsh](#descriptionwelsh) | `string` | Optional | can be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-descriptionwelsh.md "nsip-exam-timetable.schema.json#/$defs/event/properties/descriptionWelsh") |
90
+ | [eventDeadlineStartDate](#eventdeadlinestartdate) | `string` | Optional | can be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventdeadlinestartdate.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventDeadlineStartDate") |
91
+ | [date](#date) | `string` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-date.md "nsip-exam-timetable.schema.json#/$defs/event/properties/date") |
92
+ | [eventLineItems](#eventlineitems) | `array` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventlineitems.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventLineItems") |
93
+ | Additional Properties | Any | Optional | can be null | |
94
+
95
+ ### eventId
96
+
97
+ Event Identifier
98
+
99
+ `eventId`
100
+
101
+ * is required
102
+
103
+ * Type: `integer`
104
+
105
+ * cannot be null
106
+
107
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventid.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventId")
108
+
109
+ #### eventId Type
110
+
111
+ `integer`
112
+
113
+ ### type
114
+
115
+ Compulsory Acquisition Hearing/Deadline/Issue Specific Hearing etc
116
+
117
+ `type`
118
+
119
+ * is required
120
+
121
+ * Type: `string`
122
+
123
+ * cannot be null
124
+
125
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-type.md "nsip-exam-timetable.schema.json#/$defs/event/properties/type")
126
+
127
+ #### type Type
128
+
129
+ `string`
130
+
131
+ #### type Constraints
132
+
133
+ **enum**: the value of this property must be equal to one of the following values:
134
+
135
+ | Value | Explanation |
136
+ | :---------------------------------------- | :---------- |
137
+ | `"Accompanied Site Inspection"` | |
138
+ | `"Compulsory Acquisition Hearing"` | |
139
+ | `"Deadline"` | |
140
+ | `"Deadline For Close Of Examination"` | |
141
+ | `"Issued By"` | |
142
+ | `"Issue Specific Hearing"` | |
143
+ | `"Open Floor Hearing"` | |
144
+ | `"Other Meeting"` | |
145
+ | `"Preliminary Meeting"` | |
146
+ | `"Procedural Deadline (Pre-Examination)"` | |
147
+ | `"Procedural Decision"` | |
148
+ | `"Publication Of"` | |
149
+
150
+ ### eventTitle
151
+
152
+ Title Of Examination Timetable Event
153
+
154
+ `eventTitle`
155
+
156
+ * is required
157
+
158
+ * Type: `string`
159
+
160
+ * cannot be null
161
+
162
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventtitle.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventTitle")
163
+
164
+ #### eventTitle Type
165
+
166
+ `string`
167
+
168
+ ### eventTitleWelsh
169
+
170
+ Title Of Examination Timetable Event In Welsh
171
+
172
+ `eventTitleWelsh`
173
+
174
+ * is optional
175
+
176
+ * Type: `string`
177
+
178
+ * can be null
179
+
180
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventtitlewelsh.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventTitleWelsh")
181
+
182
+ #### eventTitleWelsh Type
183
+
184
+ `string`
185
+
186
+ ### description
187
+
188
+
189
+
190
+ `description`
191
+
192
+ * is required
193
+
194
+ * Type: `string`
195
+
196
+ * cannot be null
197
+
198
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-description.md "nsip-exam-timetable.schema.json#/$defs/event/properties/description")
199
+
200
+ #### description Type
201
+
202
+ `string`
203
+
204
+ ### descriptionWelsh
205
+
206
+
207
+
208
+ `descriptionWelsh`
209
+
210
+ * is optional
211
+
212
+ * Type: `string`
213
+
214
+ * can be null
215
+
216
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-descriptionwelsh.md "nsip-exam-timetable.schema.json#/$defs/event/properties/descriptionWelsh")
217
+
218
+ #### descriptionWelsh Type
219
+
220
+ `string`
221
+
222
+ ### eventDeadlineStartDate
223
+
224
+ Optional start date for event window
225
+
226
+ `eventDeadlineStartDate`
227
+
228
+ * is optional
229
+
230
+ * Type: `string`
231
+
232
+ * can be null
233
+
234
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventdeadlinestartdate.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventDeadlineStartDate")
235
+
236
+ #### eventDeadlineStartDate Type
237
+
238
+ `string`
239
+
240
+ #### eventDeadlineStartDate Constraints
241
+
242
+ **date time**: the string must be a date time string, according to [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339 "check the specification")
243
+
244
+ #### eventDeadlineStartDate Examples
245
+
246
+ ```json
247
+ "2023-07-27T20:30:00.000Z"
248
+ ```
249
+
250
+ ### date
251
+
252
+ Event Date = effective deadline (end) date
253
+
254
+ `date`
255
+
256
+ * is required
257
+
258
+ * Type: `string`
259
+
260
+ * cannot be null
261
+
262
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-date.md "nsip-exam-timetable.schema.json#/$defs/event/properties/date")
263
+
264
+ #### date Type
265
+
266
+ `string`
267
+
268
+ #### date Constraints
269
+
270
+ **date time**: the string must be a date time string, according to [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339 "check the specification")
271
+
272
+ #### date Examples
273
+
274
+ ```json
275
+ "2023-07-27T20:30:00.000Z"
276
+ ```
277
+
278
+ ### eventLineItems
279
+
280
+
281
+
282
+ `eventLineItems`
283
+
284
+ * is required
285
+
286
+ * Type: `object[]` ([Details](nsip-exam-timetable-defs-line-item.md))
287
+
288
+ * cannot be null
289
+
290
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-event-properties-eventlineitems.md "nsip-exam-timetable.schema.json#/$defs/event/properties/eventLineItems")
291
+
292
+ #### eventLineItems Type
293
+
294
+ `object[]` ([Details](nsip-exam-timetable-defs-line-item.md))
295
+
296
+ ### Additional Properties
297
+
298
+ Additional properties are allowed and do not have to follow a specific schema
299
+
300
+ ## Definitions group line-item
301
+
302
+ Reference this group by using
303
+
304
+ ```json
305
+ {"$ref":"nsip-exam-timetable.schema.json#/$defs/line-item"}
306
+ ```
307
+
308
+ | Property | Type | Required | Nullable | Defined by |
309
+ | :-------------------------------------- | :------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
310
+ | [description](#description-1) | `string` | Required | cannot be null | [Examination Timetable](nsip-exam-timetable-defs-line-item-properties-description.md "nsip-exam-timetable.schema.json#/$defs/line-item/properties/description") |
311
+ | [descriptionWelsh](#descriptionwelsh-1) | `string` | Optional | can be null | [Examination Timetable](nsip-exam-timetable-defs-line-item-properties-descriptionwelsh.md "nsip-exam-timetable.schema.json#/$defs/line-item/properties/descriptionWelsh") |
312
+ | Additional Properties | Any | Optional | can be null | |
313
+
314
+ ### description
315
+
316
+
317
+
318
+ `description`
319
+
320
+ * is required
321
+
322
+ * Type: `string`
323
+
324
+ * cannot be null
325
+
326
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-line-item-properties-description.md "nsip-exam-timetable.schema.json#/$defs/line-item/properties/description")
327
+
328
+ #### description Type
329
+
330
+ `string`
331
+
332
+ ### descriptionWelsh
333
+
334
+
335
+
336
+ `descriptionWelsh`
337
+
338
+ * is optional
339
+
340
+ * Type: `string`
341
+
342
+ * can be null
343
+
344
+ * defined in: [Examination Timetable](nsip-exam-timetable-defs-line-item-properties-descriptionwelsh.md "nsip-exam-timetable.schema.json#/$defs/line-item/properties/descriptionWelsh")
345
+
346
+ #### descriptionWelsh Type
347
+
348
+ `string`
349
+
350
+ ### Additional Properties
351
+
352
+ Additional properties are allowed and do not have to follow a specific schema
@@ -0,0 +1,163 @@
1
+ ## NSIP Project Update Type
2
+
3
+ `object` ([NSIP Project Update](nsip-project-update.md))
4
+
5
+ # NSIP Project Update Properties
6
+
7
+ | Property | Type | Required | Nullable | Defined by |
8
+ | :-------------------------------------------- | :-------- | :------- | :------------- | :----------------------------------------------------------------------------------------------------------------------------------------------- |
9
+ | [id](#id) | `integer` | Required | cannot be null | [NSIP Project Update](nsip-project-update-properties-id.md "nsip-project-update.schema.json#/properties/id") |
10
+ | [caseReference](#casereference) | `string` | Required | cannot be null | [NSIP Project Update](nsip-project-update-properties-casereference.md "nsip-project-update.schema.json#/properties/caseReference") |
11
+ | [updateDate](#updatedate) | `string` | Required | can be null | [NSIP Project Update](nsip-project-update-properties-updatedate.md "nsip-project-update.schema.json#/properties/updateDate") |
12
+ | [updateName](#updatename) | `string` | Required | can be null | [NSIP Project Update](nsip-project-update-properties-updatename.md "nsip-project-update.schema.json#/properties/updateName") |
13
+ | [updateContentEnglish](#updatecontentenglish) | `string` | Required | cannot be null | [NSIP Project Update](nsip-project-update-properties-updatecontentenglish.md "nsip-project-update.schema.json#/properties/updateContentEnglish") |
14
+ | [updateContentWelsh](#updatecontentwelsh) | `string` | Required | can be null | [NSIP Project Update](nsip-project-update-properties-updatecontentwelsh.md "nsip-project-update.schema.json#/properties/updateContentWelsh") |
15
+ | [updateStatus](#updatestatus) | `string` | Required | cannot be null | [NSIP Project Update](nsip-project-update-properties-updatestatus.md "nsip-project-update.schema.json#/properties/updateStatus") |
16
+ | Additional Properties | Any | Optional | can be null | |
17
+
18
+ ## id
19
+
20
+ The unique identifier within the Back Office.
21
+
22
+ `id`
23
+
24
+ * is required
25
+
26
+ * Type: `integer`
27
+
28
+ * cannot be null
29
+
30
+ * defined in: [NSIP Project Update](nsip-project-update-properties-id.md "nsip-project-update.schema.json#/properties/id")
31
+
32
+ ### id Type
33
+
34
+ `integer`
35
+
36
+ ## caseReference
37
+
38
+ the case reference this update relates to
39
+
40
+ `caseReference`
41
+
42
+ * is required
43
+
44
+ * Type: `string`
45
+
46
+ * cannot be null
47
+
48
+ * defined in: [NSIP Project Update](nsip-project-update-properties-casereference.md "nsip-project-update.schema.json#/properties/caseReference")
49
+
50
+ ### caseReference Type
51
+
52
+ `string`
53
+
54
+ ## updateDate
55
+
56
+ The date the update was published
57
+
58
+ `updateDate`
59
+
60
+ * is required
61
+
62
+ * Type: `string`
63
+
64
+ * can be null
65
+
66
+ * defined in: [NSIP Project Update](nsip-project-update-properties-updatedate.md "nsip-project-update.schema.json#/properties/updateDate")
67
+
68
+ ### updateDate Type
69
+
70
+ `string`
71
+
72
+ ### updateDate Constraints
73
+
74
+ **date time**: the string must be a date time string, according to [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339 "check the specification")
75
+
76
+ ## updateName
77
+
78
+ Internal title or name of the update
79
+
80
+ `updateName`
81
+
82
+ * is required
83
+
84
+ * Type: `string`
85
+
86
+ * can be null
87
+
88
+ * defined in: [NSIP Project Update](nsip-project-update-properties-updatename.md "nsip-project-update.schema.json#/properties/updateName")
89
+
90
+ ### updateName Type
91
+
92
+ `string`
93
+
94
+ ## updateContentEnglish
95
+
96
+ HTML content of the update in English. Can only include `<a> <b> <ul> <li>` tags.
97
+
98
+ `updateContentEnglish`
99
+
100
+ * is required
101
+
102
+ * Type: `string`
103
+
104
+ * cannot be null
105
+
106
+ * defined in: [NSIP Project Update](nsip-project-update-properties-updatecontentenglish.md "nsip-project-update.schema.json#/properties/updateContentEnglish")
107
+
108
+ ### updateContentEnglish Type
109
+
110
+ `string`
111
+
112
+ ## updateContentWelsh
113
+
114
+ HTML content of the update in Welsh. Can only include `<a> <b> <ul> <li>` tags.
115
+
116
+ `updateContentWelsh`
117
+
118
+ * is required
119
+
120
+ * Type: `string`
121
+
122
+ * can be null
123
+
124
+ * defined in: [NSIP Project Update](nsip-project-update-properties-updatecontentwelsh.md "nsip-project-update.schema.json#/properties/updateContentWelsh")
125
+
126
+ ### updateContentWelsh Type
127
+
128
+ `string`
129
+
130
+ ## updateStatus
131
+
132
+ The current status of this update
133
+
134
+ `updateStatus`
135
+
136
+ * is required
137
+
138
+ * Type: `string`
139
+
140
+ * cannot be null
141
+
142
+ * defined in: [NSIP Project Update](nsip-project-update-properties-updatestatus.md "nsip-project-update.schema.json#/properties/updateStatus")
143
+
144
+ ### updateStatus Type
145
+
146
+ `string`
147
+
148
+ ### updateStatus Constraints
149
+
150
+ **enum**: the value of this property must be equal to one of the following values:
151
+
152
+ | Value | Explanation |
153
+ | :--------------------- | :---------- |
154
+ | `"draft"` | |
155
+ | `"ready-to-publish"` | |
156
+ | `"published"` | |
157
+ | `"ready-to-unpublish"` | |
158
+ | `"unpublished"` | |
159
+ | `"archived"` | |
160
+
161
+ ## Additional Properties
162
+
163
+ Additional properties are allowed and do not have to follow a specific schema