@planning-inspectorate/data-model 2.49.0 → 2.51.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.
- package/docs/README.md +23 -1
- package/docs/address.md +366 -0
- package/docs/applications-application-defs-address.md +108 -0
- package/docs/applications-application-defs-contact.md +98 -0
- package/docs/applications-application-defs-organisation.md +117 -0
- package/docs/applications-application-defs.md +3 -0
- package/docs/{application-update.md → applications-application-update.md} +22 -22
- package/docs/applications-application.md +2250 -0
- package/docs/applications-notify-email-defs-contact.md +93 -0
- package/docs/applications-notify-email-defs.md +3 -0
- package/docs/applications-notify-email.md +458 -0
- package/docs/applications-representation-definitions-contact.md +93 -0
- package/docs/applications-representation-definitions-representationdocument.md +152 -0
- package/docs/applications-representation-definitions.md +3 -0
- package/docs/applications-representation.md +834 -0
- package/docs/nsip-exam-timetable-defs-event.md +1 -0
- package/docs/nsip-exam-timetable.md +1 -0
- package/package.json +1 -1
- package/pins_data_model/gen_models.py +2 -1
- package/pins_data_model/models/model_address.py +69 -0
- package/pins_data_model/models/model_appeal_document.py +11 -11
- package/pins_data_model/models/model_appeal_event.py +4 -4
- package/pins_data_model/models/model_appeal_event_estimate.py +3 -3
- package/pins_data_model/models/model_appeal_has.py +111 -93
- package/pins_data_model/models/model_appeal_representation.py +12 -12
- package/pins_data_model/models/model_appeal_s78.py +246 -228
- package/pins_data_model/models/model_application_update.py +2 -2
- package/pins_data_model/models/model_applications_application.py +518 -0
- package/pins_data_model/models/model_applications_application_update.py +55 -0
- package/pins_data_model/models/model_applications_notify_email.py +124 -0
- package/pins_data_model/models/model_applications_representation.py +207 -0
- package/pins_data_model/models/model_dart_response.py +1 -1
- package/pins_data_model/models/model_folder.py +3 -3
- package/pins_data_model/models/model_nsip_document.py +12 -12
- package/pins_data_model/models/model_nsip_exam_timetable.py +3 -2
- package/pins_data_model/models/model_nsip_invoice.py +2 -2
- package/pins_data_model/models/model_nsip_project.py +19 -19
- package/pins_data_model/models/model_nsip_project_update.py +5 -5
- package/pins_data_model/models/model_nsip_representation.py +7 -7
- package/pins_data_model/models/model_nsip_subscription.py +6 -6
- package/pins_data_model/models/model_pins_inspector.py +5 -5
- package/pins_data_model/models/model_s51_advice.py +7 -7
- package/pins_data_model/models/model_service_user.py +2 -2
- package/requirements.txt +1 -1
- package/schemas/address.schema.json +87 -0
- package/schemas/{application-update.schema.json → applications-application-update.schema.json} +1 -1
- package/schemas/applications-application.schema.json +539 -0
- package/schemas/applications-notify-email.schema.json +118 -0
- package/schemas/applications-representation.schema.json +202 -0
- package/schemas/nsip-exam-timetable.schema.json +2 -1
- package/src/enums.cjs +147 -0
- package/src/enums.d.ts +131 -0
- package/src/enums.js +131 -0
- package/src/index.cjs +147 -0
- package/src/schemas.d.ts +680 -2
package/docs/README.md
CHANGED
|
@@ -14,10 +14,16 @@
|
|
|
14
14
|
|
|
15
15
|
* [Appeal S78 Case](./appeal-s78.md "Group B - Schema defining the metadata for an appeal") – `appeal-s78.schema.json`
|
|
16
16
|
|
|
17
|
-
* [Application Update Schema](./application-update.md "Application Update for Casework Project") – `application-update.schema.json`
|
|
17
|
+
* [Application Update Schema](./applications-application-update.md "Application Update for Casework Project") – `applications-application-update.schema.json`
|
|
18
|
+
|
|
19
|
+
* [Casework Representation Schema](./applications-representation.md "Representations and related document metadata for Casework Projects") – `applications-representation.schema.json`
|
|
20
|
+
|
|
21
|
+
* [Crown Development Application](./applications-application.md "Main application details for Crown Development Project") – `applications-application.schema.json`
|
|
18
22
|
|
|
19
23
|
* [DaRT API response](./dart-response.md "Schema defining the data returned by the DaRT API") – `dart-response.schema.json`
|
|
20
24
|
|
|
25
|
+
* [Email Notification Record Schema](./applications-notify-email.md "Email Notifications for Casework Projects") – `applications-notify-email.schema.json`
|
|
26
|
+
|
|
21
27
|
* [Entra ID User Objects](./entraid.md "A list of users from EntraID") – `entraid.schema.json`
|
|
22
28
|
|
|
23
29
|
* [Examination Timetable](./nsip-exam-timetable.md "Examination Timetable for an NSIP Project") – `nsip-exam-timetable.schema.json`
|
|
@@ -40,6 +46,8 @@
|
|
|
40
46
|
|
|
41
47
|
* [NSIP Project Update](./nsip-project-update.md "NSIP Project Update (formerly known as Banners)") – `nsip-project-update.schema.json`
|
|
42
48
|
|
|
49
|
+
* [PINS Address Schema](./address.md "A schema to define the structure of an Address object in PINS") – `address.schema.json`
|
|
50
|
+
|
|
43
51
|
* [PINS Inspector](./pins-inspector.md "Inspector Details originating from Horizon, SAP HR and Entra") – `pins-inspector.schema.json`
|
|
44
52
|
|
|
45
53
|
* [PINS LPA](./pins-lpa.md "Local Planning Authority (LPA) attributes as per Horizon") – `pins-lpa.schema.json`
|
|
@@ -76,8 +84,20 @@
|
|
|
76
84
|
|
|
77
85
|
* [Untitled object in Appeal S78 Case](./appeal-s78-properties-significantchangesaffectingapplicationlpa-items.md) – `appeal-s78.schema.json#/properties/significantChangesAffectingApplicationLpa/items`
|
|
78
86
|
|
|
87
|
+
* [Untitled object in Casework Representation Schema](./applications-representation-definitions-contact.md) – `applications-representation.schema.json#/definitions/contact`
|
|
88
|
+
|
|
89
|
+
* [Untitled object in Casework Representation Schema](./applications-representation-definitions-representationdocument.md) – `applications-representation.schema.json#/definitions/representationDocument`
|
|
90
|
+
|
|
91
|
+
* [Untitled object in Crown Development Application](./applications-application-defs-organisation.md) – `applications-application.schema.json#/$defs/organisation`
|
|
92
|
+
|
|
93
|
+
* [Untitled object in Crown Development Application](./applications-application-defs-contact.md) – `applications-application.schema.json#/$defs/contact`
|
|
94
|
+
|
|
95
|
+
* [Untitled object in Crown Development Application](./applications-application-defs-address.md) – `applications-application.schema.json#/$defs/address`
|
|
96
|
+
|
|
79
97
|
* [Untitled object in DaRT API response](./dart-response-properties-neighbouringsiteaddresses-items.md) – `dart-response.schema.json#/properties/neighbouringSiteAddresses/items`
|
|
80
98
|
|
|
99
|
+
* [Untitled object in Email Notification Record Schema](./applications-notify-email-defs-contact.md "Contact the email was sent to") – `applications-notify-email.schema.json#/$defs/Contact`
|
|
100
|
+
|
|
81
101
|
* [Untitled object in Examination Timetable](./nsip-exam-timetable-defs-event.md) – `nsip-exam-timetable.schema.json#/$defs/event`
|
|
82
102
|
|
|
83
103
|
* [Untitled object in Examination Timetable](./nsip-exam-timetable-defs-line-item.md) – `nsip-exam-timetable.schema.json#/$defs/line-item`
|
|
@@ -94,6 +114,8 @@
|
|
|
94
114
|
|
|
95
115
|
* [Untitled array in Appeal Representation](./appeal-representation-properties-documentids.md "An array of documentIds") – `appeal-representation.schema.json#/properties/documentIds`
|
|
96
116
|
|
|
117
|
+
* [Untitled array in Crown Development Application](./applications-application-properties-organisations.md "Applications can have one or more organisaitons associated with them") – `applications-application.schema.json#/properties/organisations`
|
|
118
|
+
|
|
97
119
|
* [Untitled array in Examination Timetable](./nsip-exam-timetable-properties-events.md) – `nsip-exam-timetable.schema.json#/properties/events`
|
|
98
120
|
|
|
99
121
|
* [Untitled array in Examination Timetable](./nsip-exam-timetable-defs-event-properties-eventlineitems.md) – `nsip-exam-timetable.schema.json#/$defs/event/properties/eventLineItems`
|
package/docs/address.md
ADDED
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
## PINS Address Schema Type
|
|
2
|
+
|
|
3
|
+
`object` ([PINS Address Schema](address.md))
|
|
4
|
+
|
|
5
|
+
# PINS Address Schema Properties
|
|
6
|
+
|
|
7
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
8
|
+
| :-------------------------------------- | :------------ | :------- | :------------- | :----------------------------------------------------------------------------------------------------------------- |
|
|
9
|
+
| [addressDimKey](#addressdimkey) | `number` | Required | cannot be null | [PINS Address Schema](address-properties-addressdimkey.md "address.schema.json#/properties/addressDimKey") |
|
|
10
|
+
| [addressType](#addresstype) | `string` | Optional | cannot be null | [PINS Address Schema](address-properties-addresstype.md "address.schema.json#/properties/addressType") |
|
|
11
|
+
| [caseReference](#casereference) | `string` | Required | cannot be null | [PINS Address Schema](address-properties-casereference.md "address.schema.json#/properties/caseReference") |
|
|
12
|
+
| [caseId](#caseid) | `string` | Required | cannot be null | [PINS Address Schema](address-properties-caseid.md "address.schema.json#/properties/caseId") |
|
|
13
|
+
| [caseType](#casetype) | `string` | Required | cannot be null | [PINS Address Schema](address-properties-casetype.md "address.schema.json#/properties/caseType") |
|
|
14
|
+
| [description](#description) | `string` | Optional | can be null | [PINS Address Schema](address-properties-description.md "address.schema.json#/properties/description") |
|
|
15
|
+
| [line1](#line1) | `string` | Optional | can be null | [PINS Address Schema](address-properties-line1.md "address.schema.json#/properties/line1") |
|
|
16
|
+
| [line2](#line2) | `string` | Optional | can be null | [PINS Address Schema](address-properties-line2.md "address.schema.json#/properties/line2") |
|
|
17
|
+
| [townCity](#towncity) | `string` | Optional | can be null | [PINS Address Schema](address-properties-towncity.md "address.schema.json#/properties/townCity") |
|
|
18
|
+
| [county](#county) | `string` | Optional | can be null | [PINS Address Schema](address-properties-county.md "address.schema.json#/properties/county") |
|
|
19
|
+
| [postcode](#postcode) | `string` | Optional | can be null | [PINS Address Schema](address-properties-postcode.md "address.schema.json#/properties/postcode") |
|
|
20
|
+
| [country](#country) | `string` | Optional | can be null | [PINS Address Schema](address-properties-country.md "address.schema.json#/properties/country") |
|
|
21
|
+
| [easting](#easting) | `string` | Optional | can be null | [PINS Address Schema](address-properties-easting.md "address.schema.json#/properties/easting") |
|
|
22
|
+
| [northing](#northing) | `string` | Optional | can be null | [PINS Address Schema](address-properties-northing.md "address.schema.json#/properties/northing") |
|
|
23
|
+
| [latitudeWGS84](#latitudewgs84) | `number` | Optional | can be null | [PINS Address Schema](address-properties-latitudewgs84.md "address.schema.json#/properties/latitudeWGS84") |
|
|
24
|
+
| [longitudeWGS84](#longitudewgs84) | `number` | Optional | can be null | [PINS Address Schema](address-properties-longitudewgs84.md "address.schema.json#/properties/longitudeWGS84") |
|
|
25
|
+
| [UPRN](#uprn) | `string` | Optional | can be null | [PINS Address Schema](address-properties-uprn.md "address.schema.json#/properties/UPRN") |
|
|
26
|
+
| [dependentRequired](#dependentrequired) | Not specified | Optional | cannot be null | [PINS Address Schema](address-properties-dependentrequired.md "address.schema.json#/properties/dependentRequired") |
|
|
27
|
+
| Additional Properties | Any | Optional | can be null | |
|
|
28
|
+
|
|
29
|
+
## addressDimKey
|
|
30
|
+
|
|
31
|
+
Primary Key for an Address.
|
|
32
|
+
|
|
33
|
+
`addressDimKey`
|
|
34
|
+
|
|
35
|
+
* is required
|
|
36
|
+
|
|
37
|
+
* Type: `number`
|
|
38
|
+
|
|
39
|
+
* cannot be null
|
|
40
|
+
|
|
41
|
+
* defined in: [PINS Address Schema](address-properties-addressdimkey.md "address.schema.json#/properties/addressDimKey")
|
|
42
|
+
|
|
43
|
+
### addressDimKey Type
|
|
44
|
+
|
|
45
|
+
`number`
|
|
46
|
+
|
|
47
|
+
## addressType
|
|
48
|
+
|
|
49
|
+
The type of thing this address is for.
|
|
50
|
+
|
|
51
|
+
`addressType`
|
|
52
|
+
|
|
53
|
+
* is optional
|
|
54
|
+
|
|
55
|
+
* Type: `string`
|
|
56
|
+
|
|
57
|
+
* cannot be null
|
|
58
|
+
|
|
59
|
+
* defined in: [PINS Address Schema](address-properties-addresstype.md "address.schema.json#/properties/addressType")
|
|
60
|
+
|
|
61
|
+
### addressType Type
|
|
62
|
+
|
|
63
|
+
`string`
|
|
64
|
+
|
|
65
|
+
### addressType Constraints
|
|
66
|
+
|
|
67
|
+
**enum**: the value of this property must be equal to one of the following values:
|
|
68
|
+
|
|
69
|
+
| Value | Explanation |
|
|
70
|
+
| :--------------- | :---------- |
|
|
71
|
+
| `"site"` | |
|
|
72
|
+
| `"neighbouring"` | |
|
|
73
|
+
| `"organisation"` | |
|
|
74
|
+
| `"contact"` | |
|
|
75
|
+
|
|
76
|
+
## caseReference
|
|
77
|
+
|
|
78
|
+
Business Key for the related case
|
|
79
|
+
|
|
80
|
+
`caseReference`
|
|
81
|
+
|
|
82
|
+
* is required
|
|
83
|
+
|
|
84
|
+
* Type: `string`
|
|
85
|
+
|
|
86
|
+
* cannot be null
|
|
87
|
+
|
|
88
|
+
* defined in: [PINS Address Schema](address-properties-casereference.md "address.schema.json#/properties/caseReference")
|
|
89
|
+
|
|
90
|
+
### caseReference Type
|
|
91
|
+
|
|
92
|
+
`string`
|
|
93
|
+
|
|
94
|
+
## caseId
|
|
95
|
+
|
|
96
|
+
The unique ID for the case this representation belongs to.
|
|
97
|
+
|
|
98
|
+
`caseId`
|
|
99
|
+
|
|
100
|
+
* is required
|
|
101
|
+
|
|
102
|
+
* Type: `string`
|
|
103
|
+
|
|
104
|
+
* cannot be null
|
|
105
|
+
|
|
106
|
+
* defined in: [PINS Address Schema](address-properties-caseid.md "address.schema.json#/properties/caseId")
|
|
107
|
+
|
|
108
|
+
### caseId Type
|
|
109
|
+
|
|
110
|
+
`string`
|
|
111
|
+
|
|
112
|
+
## caseType
|
|
113
|
+
|
|
114
|
+
The type of case this representation is for.
|
|
115
|
+
|
|
116
|
+
`caseType`
|
|
117
|
+
|
|
118
|
+
* is required
|
|
119
|
+
|
|
120
|
+
* Type: `string`
|
|
121
|
+
|
|
122
|
+
* cannot be null
|
|
123
|
+
|
|
124
|
+
* defined in: [PINS Address Schema](address-properties-casetype.md "address.schema.json#/properties/caseType")
|
|
125
|
+
|
|
126
|
+
### caseType Type
|
|
127
|
+
|
|
128
|
+
`string`
|
|
129
|
+
|
|
130
|
+
## description
|
|
131
|
+
|
|
132
|
+
Some sites may have a postcode, but do not have postal addresses.
|
|
133
|
+
|
|
134
|
+
`description`
|
|
135
|
+
|
|
136
|
+
* is optional
|
|
137
|
+
|
|
138
|
+
* Type: `string`
|
|
139
|
+
|
|
140
|
+
* can be null
|
|
141
|
+
|
|
142
|
+
* defined in: [PINS Address Schema](address-properties-description.md "address.schema.json#/properties/description")
|
|
143
|
+
|
|
144
|
+
### description Type
|
|
145
|
+
|
|
146
|
+
`string`
|
|
147
|
+
|
|
148
|
+
## line1
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
`line1`
|
|
153
|
+
|
|
154
|
+
* is optional
|
|
155
|
+
|
|
156
|
+
* Type: `string`
|
|
157
|
+
|
|
158
|
+
* can be null
|
|
159
|
+
|
|
160
|
+
* defined in: [PINS Address Schema](address-properties-line1.md "address.schema.json#/properties/line1")
|
|
161
|
+
|
|
162
|
+
### line1 Type
|
|
163
|
+
|
|
164
|
+
`string`
|
|
165
|
+
|
|
166
|
+
## line2
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
`line2`
|
|
171
|
+
|
|
172
|
+
* is optional
|
|
173
|
+
|
|
174
|
+
* Type: `string`
|
|
175
|
+
|
|
176
|
+
* can be null
|
|
177
|
+
|
|
178
|
+
* defined in: [PINS Address Schema](address-properties-line2.md "address.schema.json#/properties/line2")
|
|
179
|
+
|
|
180
|
+
### line2 Type
|
|
181
|
+
|
|
182
|
+
`string`
|
|
183
|
+
|
|
184
|
+
## townCity
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
`townCity`
|
|
189
|
+
|
|
190
|
+
* is optional
|
|
191
|
+
|
|
192
|
+
* Type: `string`
|
|
193
|
+
|
|
194
|
+
* can be null
|
|
195
|
+
|
|
196
|
+
* defined in: [PINS Address Schema](address-properties-towncity.md "address.schema.json#/properties/townCity")
|
|
197
|
+
|
|
198
|
+
### townCity Type
|
|
199
|
+
|
|
200
|
+
`string`
|
|
201
|
+
|
|
202
|
+
## county
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
`county`
|
|
207
|
+
|
|
208
|
+
* is optional
|
|
209
|
+
|
|
210
|
+
* Type: `string`
|
|
211
|
+
|
|
212
|
+
* can be null
|
|
213
|
+
|
|
214
|
+
* defined in: [PINS Address Schema](address-properties-county.md "address.schema.json#/properties/county")
|
|
215
|
+
|
|
216
|
+
### county Type
|
|
217
|
+
|
|
218
|
+
`string`
|
|
219
|
+
|
|
220
|
+
## postcode
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
`postcode`
|
|
225
|
+
|
|
226
|
+
* is optional
|
|
227
|
+
|
|
228
|
+
* Type: `string`
|
|
229
|
+
|
|
230
|
+
* can be null
|
|
231
|
+
|
|
232
|
+
* defined in: [PINS Address Schema](address-properties-postcode.md "address.schema.json#/properties/postcode")
|
|
233
|
+
|
|
234
|
+
### postcode Type
|
|
235
|
+
|
|
236
|
+
`string`
|
|
237
|
+
|
|
238
|
+
## country
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
`country`
|
|
243
|
+
|
|
244
|
+
* is optional
|
|
245
|
+
|
|
246
|
+
* Type: `string`
|
|
247
|
+
|
|
248
|
+
* can be null
|
|
249
|
+
|
|
250
|
+
* defined in: [PINS Address Schema](address-properties-country.md "address.schema.json#/properties/country")
|
|
251
|
+
|
|
252
|
+
### country Type
|
|
253
|
+
|
|
254
|
+
`string`
|
|
255
|
+
|
|
256
|
+
## easting
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
`easting`
|
|
261
|
+
|
|
262
|
+
* is optional
|
|
263
|
+
|
|
264
|
+
* Type: `string`
|
|
265
|
+
|
|
266
|
+
* can be null
|
|
267
|
+
|
|
268
|
+
* defined in: [PINS Address Schema](address-properties-easting.md "address.schema.json#/properties/easting")
|
|
269
|
+
|
|
270
|
+
### easting Type
|
|
271
|
+
|
|
272
|
+
`string`
|
|
273
|
+
|
|
274
|
+
## northing
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
`northing`
|
|
279
|
+
|
|
280
|
+
* is optional
|
|
281
|
+
|
|
282
|
+
* Type: `string`
|
|
283
|
+
|
|
284
|
+
* can be null
|
|
285
|
+
|
|
286
|
+
* defined in: [PINS Address Schema](address-properties-northing.md "address.schema.json#/properties/northing")
|
|
287
|
+
|
|
288
|
+
### northing Type
|
|
289
|
+
|
|
290
|
+
`string`
|
|
291
|
+
|
|
292
|
+
## latitudeWGS84
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
`latitudeWGS84`
|
|
297
|
+
|
|
298
|
+
* is optional
|
|
299
|
+
|
|
300
|
+
* Type: `number`
|
|
301
|
+
|
|
302
|
+
* can be null
|
|
303
|
+
|
|
304
|
+
* defined in: [PINS Address Schema](address-properties-latitudewgs84.md "address.schema.json#/properties/latitudeWGS84")
|
|
305
|
+
|
|
306
|
+
### latitudeWGS84 Type
|
|
307
|
+
|
|
308
|
+
`number`
|
|
309
|
+
|
|
310
|
+
## longitudeWGS84
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
`longitudeWGS84`
|
|
315
|
+
|
|
316
|
+
* is optional
|
|
317
|
+
|
|
318
|
+
* Type: `number`
|
|
319
|
+
|
|
320
|
+
* can be null
|
|
321
|
+
|
|
322
|
+
* defined in: [PINS Address Schema](address-properties-longitudewgs84.md "address.schema.json#/properties/longitudeWGS84")
|
|
323
|
+
|
|
324
|
+
### longitudeWGS84 Type
|
|
325
|
+
|
|
326
|
+
`number`
|
|
327
|
+
|
|
328
|
+
## UPRN
|
|
329
|
+
|
|
330
|
+
The Unique Property Reference Number (UPRN) is a unique number (a geocode) for every addressable location—e.g., a building, a bus stop, a post box, a feature in the landscape, or a defibrillator—in Great Britain.
|
|
331
|
+
|
|
332
|
+
`UPRN`
|
|
333
|
+
|
|
334
|
+
* is optional
|
|
335
|
+
|
|
336
|
+
* Type: `string`
|
|
337
|
+
|
|
338
|
+
* can be null
|
|
339
|
+
|
|
340
|
+
* defined in: [PINS Address Schema](address-properties-uprn.md "address.schema.json#/properties/UPRN")
|
|
341
|
+
|
|
342
|
+
### UPRN Type
|
|
343
|
+
|
|
344
|
+
`string`
|
|
345
|
+
|
|
346
|
+
## dependentRequired
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
`dependentRequired`
|
|
351
|
+
|
|
352
|
+
* is optional
|
|
353
|
+
|
|
354
|
+
* Type: unknown
|
|
355
|
+
|
|
356
|
+
* cannot be null
|
|
357
|
+
|
|
358
|
+
* defined in: [PINS Address Schema](address-properties-dependentrequired.md "address.schema.json#/properties/dependentRequired")
|
|
359
|
+
|
|
360
|
+
### dependentRequired Type
|
|
361
|
+
|
|
362
|
+
unknown
|
|
363
|
+
|
|
364
|
+
## Additional Properties
|
|
365
|
+
|
|
366
|
+
Additional properties are allowed and do not have to follow a specific schema
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
## address Type
|
|
2
|
+
|
|
3
|
+
`object` ([Details](applications-application-defs-address.md))
|
|
4
|
+
|
|
5
|
+
# address Properties
|
|
6
|
+
|
|
7
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
8
|
+
| :-------------------- | :------- | :------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
9
|
+
| [line1](#line1) | `string` | Optional | can be null | [Crown Development Application](applications-application-defs-address-properties-line1.md "applications-application.schema.json#/$defs/address/properties/line1") |
|
|
10
|
+
| [line2](#line2) | `string` | Optional | can be null | [Crown Development Application](applications-application-defs-address-properties-line2.md "applications-application.schema.json#/$defs/address/properties/line2") |
|
|
11
|
+
| [townCity](#towncity) | `string` | Optional | can be null | [Crown Development Application](applications-application-defs-address-properties-towncity.md "applications-application.schema.json#/$defs/address/properties/townCity") |
|
|
12
|
+
| [county](#county) | `string` | Optional | can be null | [Crown Development Application](applications-application-defs-address-properties-county.md "applications-application.schema.json#/$defs/address/properties/county") |
|
|
13
|
+
| [postcode](#postcode) | `string` | Required | cannot be null | [Crown Development Application](applications-application-defs-address-properties-postcode.md "applications-application.schema.json#/$defs/address/properties/postcode") |
|
|
14
|
+
| Additional Properties | Any | Optional | can be null | |
|
|
15
|
+
|
|
16
|
+
## line1
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
`line1`
|
|
21
|
+
|
|
22
|
+
* is optional
|
|
23
|
+
|
|
24
|
+
* Type: `string`
|
|
25
|
+
|
|
26
|
+
* can be null
|
|
27
|
+
|
|
28
|
+
* defined in: [Crown Development Application](applications-application-defs-address-properties-line1.md "applications-application.schema.json#/$defs/address/properties/line1")
|
|
29
|
+
|
|
30
|
+
### line1 Type
|
|
31
|
+
|
|
32
|
+
`string`
|
|
33
|
+
|
|
34
|
+
## line2
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
`line2`
|
|
39
|
+
|
|
40
|
+
* is optional
|
|
41
|
+
|
|
42
|
+
* Type: `string`
|
|
43
|
+
|
|
44
|
+
* can be null
|
|
45
|
+
|
|
46
|
+
* defined in: [Crown Development Application](applications-application-defs-address-properties-line2.md "applications-application.schema.json#/$defs/address/properties/line2")
|
|
47
|
+
|
|
48
|
+
### line2 Type
|
|
49
|
+
|
|
50
|
+
`string`
|
|
51
|
+
|
|
52
|
+
## townCity
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
`townCity`
|
|
57
|
+
|
|
58
|
+
* is optional
|
|
59
|
+
|
|
60
|
+
* Type: `string`
|
|
61
|
+
|
|
62
|
+
* can be null
|
|
63
|
+
|
|
64
|
+
* defined in: [Crown Development Application](applications-application-defs-address-properties-towncity.md "applications-application.schema.json#/$defs/address/properties/townCity")
|
|
65
|
+
|
|
66
|
+
### townCity Type
|
|
67
|
+
|
|
68
|
+
`string`
|
|
69
|
+
|
|
70
|
+
## county
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
`county`
|
|
75
|
+
|
|
76
|
+
* is optional
|
|
77
|
+
|
|
78
|
+
* Type: `string`
|
|
79
|
+
|
|
80
|
+
* can be null
|
|
81
|
+
|
|
82
|
+
* defined in: [Crown Development Application](applications-application-defs-address-properties-county.md "applications-application.schema.json#/$defs/address/properties/county")
|
|
83
|
+
|
|
84
|
+
### county Type
|
|
85
|
+
|
|
86
|
+
`string`
|
|
87
|
+
|
|
88
|
+
## postcode
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
`postcode`
|
|
93
|
+
|
|
94
|
+
* is required
|
|
95
|
+
|
|
96
|
+
* Type: `string`
|
|
97
|
+
|
|
98
|
+
* cannot be null
|
|
99
|
+
|
|
100
|
+
* defined in: [Crown Development Application](applications-application-defs-address-properties-postcode.md "applications-application.schema.json#/$defs/address/properties/postcode")
|
|
101
|
+
|
|
102
|
+
### postcode Type
|
|
103
|
+
|
|
104
|
+
`string`
|
|
105
|
+
|
|
106
|
+
## Additional Properties
|
|
107
|
+
|
|
108
|
+
Additional properties are allowed and do not have to follow a specific schema
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
## contact Type
|
|
2
|
+
|
|
3
|
+
`object` ([Details](applications-application-defs-contact.md))
|
|
4
|
+
|
|
5
|
+
# contact Properties
|
|
6
|
+
|
|
7
|
+
| Property | Type | Required | Nullable | Defined by |
|
|
8
|
+
| :---------------------------------------------------- | :------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
9
|
+
| [contactId](#contactid) | `string` | Required | cannot be null | [Crown Development Application](applications-application-defs-contact-properties-contactid.md "applications-application.schema.json#/$defs/contact/properties/contactId") |
|
|
10
|
+
| [contactPreference](#contactpreference) | `string` | Optional | can be null | [Crown Development Application](applications-application-defs-contact-properties-contactpreference.md "applications-application.schema.json#/$defs/contact/properties/contactPreference") |
|
|
11
|
+
| [writtenRepOrgName](#writtenreporgname) | `string` | Optional | can be null | [Crown Development Application](applications-application-defs-contact-properties-writtenreporgname.md "applications-application.schema.json#/$defs/contact/properties/writtenRepOrgName") |
|
|
12
|
+
| [writtenRepJobTitleorRole](#writtenrepjobtitleorrole) | `string` | Optional | can be null | [Crown Development Application](applications-application-defs-contact-properties-writtenrepjobtitleorrole.md "applications-application.schema.json#/$defs/contact/properties/writtenRepJobTitleorRole") |
|
|
13
|
+
| Additional Properties | Any | Optional | can be null | |
|
|
14
|
+
|
|
15
|
+
## contactId
|
|
16
|
+
|
|
17
|
+
Source PK for Contact
|
|
18
|
+
|
|
19
|
+
`contactId`
|
|
20
|
+
|
|
21
|
+
* is required
|
|
22
|
+
|
|
23
|
+
* Type: `string`
|
|
24
|
+
|
|
25
|
+
* cannot be null
|
|
26
|
+
|
|
27
|
+
* defined in: [Crown Development Application](applications-application-defs-contact-properties-contactid.md "applications-application.schema.json#/$defs/contact/properties/contactId")
|
|
28
|
+
|
|
29
|
+
### contactId Type
|
|
30
|
+
|
|
31
|
+
`string`
|
|
32
|
+
|
|
33
|
+
## contactPreference
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
`contactPreference`
|
|
38
|
+
|
|
39
|
+
* is optional
|
|
40
|
+
|
|
41
|
+
* Type: `string`
|
|
42
|
+
|
|
43
|
+
* can be null
|
|
44
|
+
|
|
45
|
+
* defined in: [Crown Development Application](applications-application-defs-contact-properties-contactpreference.md "applications-application.schema.json#/$defs/contact/properties/contactPreference")
|
|
46
|
+
|
|
47
|
+
### contactPreference Type
|
|
48
|
+
|
|
49
|
+
`string`
|
|
50
|
+
|
|
51
|
+
### contactPreference Constraints
|
|
52
|
+
|
|
53
|
+
**enum**: the value of this property must be equal to one of the following values:
|
|
54
|
+
|
|
55
|
+
| Value | Explanation |
|
|
56
|
+
| :-------- | :---------- |
|
|
57
|
+
| `"email"` | |
|
|
58
|
+
| `"post"` | |
|
|
59
|
+
|
|
60
|
+
## writtenRepOrgName
|
|
61
|
+
|
|
62
|
+
Organisation Name used for written-representation on behalf of an organisation
|
|
63
|
+
|
|
64
|
+
`writtenRepOrgName`
|
|
65
|
+
|
|
66
|
+
* is optional
|
|
67
|
+
|
|
68
|
+
* Type: `string`
|
|
69
|
+
|
|
70
|
+
* can be null
|
|
71
|
+
|
|
72
|
+
* defined in: [Crown Development Application](applications-application-defs-contact-properties-writtenreporgname.md "applications-application.schema.json#/$defs/contact/properties/writtenRepOrgName")
|
|
73
|
+
|
|
74
|
+
### writtenRepOrgName Type
|
|
75
|
+
|
|
76
|
+
`string`
|
|
77
|
+
|
|
78
|
+
## writtenRepJobTitleorRole
|
|
79
|
+
|
|
80
|
+
Job Title or Role used for written-representation on behalf of an organisation
|
|
81
|
+
|
|
82
|
+
`writtenRepJobTitleorRole`
|
|
83
|
+
|
|
84
|
+
* is optional
|
|
85
|
+
|
|
86
|
+
* Type: `string`
|
|
87
|
+
|
|
88
|
+
* can be null
|
|
89
|
+
|
|
90
|
+
* defined in: [Crown Development Application](applications-application-defs-contact-properties-writtenrepjobtitleorrole.md "applications-application.schema.json#/$defs/contact/properties/writtenRepJobTitleorRole")
|
|
91
|
+
|
|
92
|
+
### writtenRepJobTitleorRole Type
|
|
93
|
+
|
|
94
|
+
`string`
|
|
95
|
+
|
|
96
|
+
## Additional Properties
|
|
97
|
+
|
|
98
|
+
Additional properties are allowed and do not have to follow a specific schema
|