@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,193 @@
1
+ ## nsip-subscription Type
2
+
3
+ `object` ([nsip-subscription](nsip-subscription.md))
4
+
5
+ # nsip-subscription Properties
6
+
7
+ | Property | Type | Required | Nullable | Defined by |
8
+ | :------------------------------------ | :-------- | :------- | :------------- | :--------------------------------------------------------------------------------------------------------------------------------- |
9
+ | [subscriptionId](#subscriptionid) | `integer` | Required | can be null | [nsip-subscription](nsip-subscription-properties-subscriptionid.md "nsip-subscription.schema.json#/properties/subscriptionId") |
10
+ | [caseReference](#casereference) | `string` | Required | cannot be null | [nsip-subscription](nsip-subscription-properties-casereference.md "nsip-subscription.schema.json#/properties/caseReference") |
11
+ | [emailAddress](#emailaddress) | `string` | Required | cannot be null | [nsip-subscription](nsip-subscription-properties-emailaddress.md "nsip-subscription.schema.json#/properties/emailAddress") |
12
+ | [subscriptionType](#subscriptiontype) | `string` | Required | cannot be null | [nsip-subscription](nsip-subscription-properties-subscriptiontype.md "nsip-subscription.schema.json#/properties/subscriptionType") |
13
+ | [startDate](#startdate) | `string` | Required | can be null | [nsip-subscription](nsip-subscription-properties-startdate.md "nsip-subscription.schema.json#/properties/startDate") |
14
+ | [endDate](#enddate) | `string` | Required | can be null | [nsip-subscription](nsip-subscription-properties-enddate.md "nsip-subscription.schema.json#/properties/endDate") |
15
+ | [language](#language) | `string` | Required | can be null | [nsip-subscription](nsip-subscription-properties-language.md "nsip-subscription.schema.json#/properties/language") |
16
+ | Additional Properties | Any | Optional | can be null | |
17
+
18
+ ## subscriptionId
19
+
20
+ The unique identifier within the Back Office. Ignored as part of register-nsip-subscription.
21
+
22
+ `subscriptionId`
23
+
24
+ * is required
25
+
26
+ * Type: `integer`
27
+
28
+ * can be null
29
+
30
+ * defined in: [nsip-subscription](nsip-subscription-properties-subscriptionid.md "nsip-subscription.schema.json#/properties/subscriptionId")
31
+
32
+ ### subscriptionId Type
33
+
34
+ `integer`
35
+
36
+ ## caseReference
37
+
38
+ the case reference the subscription relates to
39
+
40
+ `caseReference`
41
+
42
+ * is required
43
+
44
+ * Type: `string`
45
+
46
+ * cannot be null
47
+
48
+ * defined in: [nsip-subscription](nsip-subscription-properties-casereference.md "nsip-subscription.schema.json#/properties/caseReference")
49
+
50
+ ### caseReference Type
51
+
52
+ `string`
53
+
54
+ ## emailAddress
55
+
56
+
57
+
58
+ `emailAddress`
59
+
60
+ * is required
61
+
62
+ * Type: `string`
63
+
64
+ * cannot be null
65
+
66
+ * defined in: [nsip-subscription](nsip-subscription-properties-emailaddress.md "nsip-subscription.schema.json#/properties/emailAddress")
67
+
68
+ ### emailAddress Type
69
+
70
+ `string`
71
+
72
+ ### emailAddress Constraints
73
+
74
+ **email**: the string must be an email address, according to [RFC 5322, section 3.4.1](https://tools.ietf.org/html/rfc5322 "check the specification")
75
+
76
+ ### emailAddress Examples
77
+
78
+ ```json
79
+ "alan.turing@planninginspectorate.gov.uk"
80
+ ```
81
+
82
+ ## subscriptionType
83
+
84
+ which update does the subscriber want to get notified of. For multiple types, use multiple messages.
85
+
86
+ `subscriptionType`
87
+
88
+ * is required
89
+
90
+ * Type: `string`
91
+
92
+ * cannot be null
93
+
94
+ * defined in: [nsip-subscription](nsip-subscription-properties-subscriptiontype.md "nsip-subscription.schema.json#/properties/subscriptionType")
95
+
96
+ ### subscriptionType Type
97
+
98
+ `string`
99
+
100
+ ### subscriptionType Constraints
101
+
102
+ **enum**: the value of this property must be equal to one of the following values:
103
+
104
+ | Value | Explanation |
105
+ | :----------------------- | :---------- |
106
+ | `"allUpdates"` | |
107
+ | `"applicationSubmitted"` | |
108
+ | `"applicationDecided"` | |
109
+ | `"registrationOpen"` | |
110
+
111
+ ## startDate
112
+
113
+ The date to start getting updates
114
+
115
+ `startDate`
116
+
117
+ * is required
118
+
119
+ * Type: `string`
120
+
121
+ * can be null
122
+
123
+ * defined in: [nsip-subscription](nsip-subscription-properties-startdate.md "nsip-subscription.schema.json#/properties/startDate")
124
+
125
+ ### startDate Type
126
+
127
+ `string`
128
+
129
+ ### startDate Constraints
130
+
131
+ **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")
132
+
133
+ ## endDate
134
+
135
+ The date to stop getting updates
136
+
137
+ `endDate`
138
+
139
+ * is required
140
+
141
+ * Type: `string`
142
+
143
+ * can be null
144
+
145
+ * defined in: [nsip-subscription](nsip-subscription-properties-enddate.md "nsip-subscription.schema.json#/properties/endDate")
146
+
147
+ ### endDate Type
148
+
149
+ `string`
150
+
151
+ ### endDate Constraints
152
+
153
+ **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")
154
+
155
+ ## language
156
+
157
+
158
+
159
+ `language`
160
+
161
+ * is required
162
+
163
+ * Type: `string`
164
+
165
+ * can be null
166
+
167
+ * defined in: [nsip-subscription](nsip-subscription-properties-language.md "nsip-subscription.schema.json#/properties/language")
168
+
169
+ ### language Type
170
+
171
+ `string`
172
+
173
+ ### language Constraints
174
+
175
+ **enum**: the value of this property must be equal to one of the following values:
176
+
177
+ | Value | Explanation |
178
+ | :---------- | :---------- |
179
+ | `"English"` | |
180
+ | `"Welsh"` | |
181
+ | `null` | |
182
+
183
+ ### language Default Value
184
+
185
+ The default value is:
186
+
187
+ ```json
188
+ "English"
189
+ ```
190
+
191
+ ## Additional Properties
192
+
193
+ Additional properties are allowed and do not have to follow a specific schema
@@ -0,0 +1,184 @@
1
+ ## PINS Inspector Type
2
+
3
+ `object` ([PINS Inspector](pins-inspector.md))
4
+
5
+ # PINS Inspector Properties
6
+
7
+ | Property | Type | Required | Nullable | Defined by |
8
+ | :------------------------------------ | :------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------------------------ |
9
+ | [horizonId](#horizonid) | `string` | Required | cannot be null | [PINS Inspector](pins-inspector-properties-horizonid.md "pins-inspector.schema.json#/properties/horizonId") |
10
+ | [firstName](#firstname) | `string` | Required | cannot be null | [PINS Inspector](pins-inspector-properties-firstname.md "pins-inspector.schema.json#/properties/firstName") |
11
+ | [lastName](#lastname) | `string` | Required | cannot be null | [PINS Inspector](pins-inspector-properties-lastname.md "pins-inspector.schema.json#/properties/lastName") |
12
+ | [postName](#postname) | `string` | Optional | can be null | [PINS Inspector](pins-inspector-properties-postname.md "pins-inspector.schema.json#/properties/postName") |
13
+ | [organisationName](#organisationname) | `string` | Optional | can be null | [PINS Inspector](pins-inspector-properties-organisationname.md "pins-inspector.schema.json#/properties/organisationName") |
14
+ | [title](#title) | `string` | Optional | can be null | [PINS Inspector](pins-inspector-properties-title.md "pins-inspector.schema.json#/properties/title") |
15
+ | [salutation](#salutation) | `string` | Optional | can be null | [PINS Inspector](pins-inspector-properties-salutation.md "pins-inspector.schema.json#/properties/salutation") |
16
+ | [qualifications](#qualifications) | `string` | Optional | can be null | [PINS Inspector](pins-inspector-properties-qualifications.md "pins-inspector.schema.json#/properties/qualifications") |
17
+ | [email](#email) | `string` | Required | can be null | [PINS Inspector](pins-inspector-properties-email.md "pins-inspector.schema.json#/properties/email") |
18
+ | Additional Properties | Any | Optional | can be null | |
19
+
20
+ ## horizonId
21
+
22
+ The PINS-generated unique horizon ID
23
+
24
+ `horizonId`
25
+
26
+ * is required
27
+
28
+ * Type: `string`
29
+
30
+ * cannot be null
31
+
32
+ * defined in: [PINS Inspector](pins-inspector-properties-horizonid.md "pins-inspector.schema.json#/properties/horizonId")
33
+
34
+ ### horizonId Type
35
+
36
+ `string`
37
+
38
+ ## firstName
39
+
40
+ The first name of the inspector
41
+
42
+ `firstName`
43
+
44
+ * is required
45
+
46
+ * Type: `string`
47
+
48
+ * cannot be null
49
+
50
+ * defined in: [PINS Inspector](pins-inspector-properties-firstname.md "pins-inspector.schema.json#/properties/firstName")
51
+
52
+ ### firstName Type
53
+
54
+ `string`
55
+
56
+ ## lastName
57
+
58
+ The last name of the inspector
59
+
60
+ `lastName`
61
+
62
+ * is required
63
+
64
+ * Type: `string`
65
+
66
+ * cannot be null
67
+
68
+ * defined in: [PINS Inspector](pins-inspector-properties-lastname.md "pins-inspector.schema.json#/properties/lastName")
69
+
70
+ ### lastName Type
71
+
72
+ `string`
73
+
74
+ ## postName
75
+
76
+ The post name of the inspector
77
+
78
+ `postName`
79
+
80
+ * is optional
81
+
82
+ * Type: `string`
83
+
84
+ * can be null
85
+
86
+ * defined in: [PINS Inspector](pins-inspector-properties-postname.md "pins-inspector.schema.json#/properties/postName")
87
+
88
+ ### postName Type
89
+
90
+ `string`
91
+
92
+ ## organisationName
93
+
94
+ The organisation name of the inspector
95
+
96
+ `organisationName`
97
+
98
+ * is optional
99
+
100
+ * Type: `string`
101
+
102
+ * can be null
103
+
104
+ * defined in: [PINS Inspector](pins-inspector-properties-organisationname.md "pins-inspector.schema.json#/properties/organisationName")
105
+
106
+ ### organisationName Type
107
+
108
+ `string`
109
+
110
+ ## title
111
+
112
+ The title of the inspector
113
+
114
+ `title`
115
+
116
+ * is optional
117
+
118
+ * Type: `string`
119
+
120
+ * can be null
121
+
122
+ * defined in: [PINS Inspector](pins-inspector-properties-title.md "pins-inspector.schema.json#/properties/title")
123
+
124
+ ### title Type
125
+
126
+ `string`
127
+
128
+ ## salutation
129
+
130
+ The salutation of the inspector
131
+
132
+ `salutation`
133
+
134
+ * is optional
135
+
136
+ * Type: `string`
137
+
138
+ * can be null
139
+
140
+ * defined in: [PINS Inspector](pins-inspector-properties-salutation.md "pins-inspector.schema.json#/properties/salutation")
141
+
142
+ ### salutation Type
143
+
144
+ `string`
145
+
146
+ ## qualifications
147
+
148
+ The qualifications of the inspector
149
+
150
+ `qualifications`
151
+
152
+ * is optional
153
+
154
+ * Type: `string`
155
+
156
+ * can be null
157
+
158
+ * defined in: [PINS Inspector](pins-inspector-properties-qualifications.md "pins-inspector.schema.json#/properties/qualifications")
159
+
160
+ ### qualifications Type
161
+
162
+ `string`
163
+
164
+ ## email
165
+
166
+ The email address of the inspector
167
+
168
+ `email`
169
+
170
+ * is required
171
+
172
+ * Type: `string`
173
+
174
+ * can be null
175
+
176
+ * defined in: [PINS Inspector](pins-inspector-properties-email.md "pins-inspector.schema.json#/properties/email")
177
+
178
+ ### email Type
179
+
180
+ `string`
181
+
182
+ ## Additional Properties
183
+
184
+ Additional properties are allowed and do not have to follow a specific schema
@@ -0,0 +1,260 @@
1
+ ## PINS LPA Type
2
+
3
+ `object` ([PINS LPA](pins-lpa.md))
4
+
5
+ # PINS LPA Properties
6
+
7
+ | Property | Type | Required | Nullable | Defined by |
8
+ | :------------------------------------ | :------- | :------- | :------------- | :------------------------------------------------------------------------------------------------------ |
9
+ | [lpaName](#lpaname) | `string` | Required | cannot be null | [PINS LPA](pins-lpa-properties-lpaname.md "pins-lpa.schema.json#/properties/lpaName") |
10
+ | [organisationType](#organisationtype) | `string` | Optional | cannot be null | [PINS LPA](pins-lpa-properties-organisationtype.md "pins-lpa.schema.json#/properties/organisationType") |
11
+ | [pinsLpaCode](#pinslpacode) | `string` | Required | cannot be null | [PINS LPA](pins-lpa-properties-pinslpacode.md "pins-lpa.schema.json#/properties/pinsLpaCode") |
12
+ | [poBox](#pobox) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-pobox.md "pins-lpa.schema.json#/properties/poBox") |
13
+ | [address1](#address1) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-address1.md "pins-lpa.schema.json#/properties/address1") |
14
+ | [address2](#address2) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-address2.md "pins-lpa.schema.json#/properties/address2") |
15
+ | [city](#city) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-city.md "pins-lpa.schema.json#/properties/city") |
16
+ | [county](#county) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-county.md "pins-lpa.schema.json#/properties/county") |
17
+ | [postcode](#postcode) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-postcode.md "pins-lpa.schema.json#/properties/postcode") |
18
+ | [country](#country) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-country.md "pins-lpa.schema.json#/properties/country") |
19
+ | [telephoneNumber](#telephonenumber) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-telephonenumber.md "pins-lpa.schema.json#/properties/telephoneNumber") |
20
+ | [fax](#fax) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-fax.md "pins-lpa.schema.json#/properties/fax") |
21
+ | [emailAddress](#emailaddress) | `string` | Optional | can be null | [PINS LPA](pins-lpa-properties-emailaddress.md "pins-lpa.schema.json#/properties/emailAddress") |
22
+ | Additional Properties | Any | Optional | can be null | |
23
+
24
+ ## lpaName
25
+
26
+ The PINS name of the LPA
27
+
28
+ `lpaName`
29
+
30
+ * is required
31
+
32
+ * Type: `string`
33
+
34
+ * cannot be null
35
+
36
+ * defined in: [PINS LPA](pins-lpa-properties-lpaname.md "pins-lpa.schema.json#/properties/lpaName")
37
+
38
+ ### lpaName Type
39
+
40
+ `string`
41
+
42
+ ## organisationType
43
+
44
+ The organisation type of the LPA
45
+
46
+ `organisationType`
47
+
48
+ * is optional
49
+
50
+ * Type: `string`
51
+
52
+ * cannot be null
53
+
54
+ * defined in: [PINS LPA](pins-lpa-properties-organisationtype.md "pins-lpa.schema.json#/properties/organisationType")
55
+
56
+ ### organisationType Type
57
+
58
+ `string`
59
+
60
+ ## pinsLpaCode
61
+
62
+ The PINS-generated unqiue LPA code
63
+
64
+ `pinsLpaCode`
65
+
66
+ * is required
67
+
68
+ * Type: `string`
69
+
70
+ * cannot be null
71
+
72
+ * defined in: [PINS LPA](pins-lpa-properties-pinslpacode.md "pins-lpa.schema.json#/properties/pinsLpaCode")
73
+
74
+ ### pinsLpaCode Type
75
+
76
+ `string`
77
+
78
+ ## poBox
79
+
80
+ LPA address Post Office Box
81
+
82
+ `poBox`
83
+
84
+ * is optional
85
+
86
+ * Type: `string`
87
+
88
+ * can be null
89
+
90
+ * defined in: [PINS LPA](pins-lpa-properties-pobox.md "pins-lpa.schema.json#/properties/poBox")
91
+
92
+ ### poBox Type
93
+
94
+ `string`
95
+
96
+ ## address1
97
+
98
+ First line of LPA address
99
+
100
+ `address1`
101
+
102
+ * is optional
103
+
104
+ * Type: `string`
105
+
106
+ * can be null
107
+
108
+ * defined in: [PINS LPA](pins-lpa-properties-address1.md "pins-lpa.schema.json#/properties/address1")
109
+
110
+ ### address1 Type
111
+
112
+ `string`
113
+
114
+ ## address2
115
+
116
+ Second line of LPA address
117
+
118
+ `address2`
119
+
120
+ * is optional
121
+
122
+ * Type: `string`
123
+
124
+ * can be null
125
+
126
+ * defined in: [PINS LPA](pins-lpa-properties-address2.md "pins-lpa.schema.json#/properties/address2")
127
+
128
+ ### address2 Type
129
+
130
+ `string`
131
+
132
+ ## city
133
+
134
+ LPA address city or town
135
+
136
+ `city`
137
+
138
+ * is optional
139
+
140
+ * Type: `string`
141
+
142
+ * can be null
143
+
144
+ * defined in: [PINS LPA](pins-lpa-properties-city.md "pins-lpa.schema.json#/properties/city")
145
+
146
+ ### city Type
147
+
148
+ `string`
149
+
150
+ ## county
151
+
152
+ LPA address county
153
+
154
+ `county`
155
+
156
+ * is optional
157
+
158
+ * Type: `string`
159
+
160
+ * can be null
161
+
162
+ * defined in: [PINS LPA](pins-lpa-properties-county.md "pins-lpa.schema.json#/properties/county")
163
+
164
+ ### county Type
165
+
166
+ `string`
167
+
168
+ ## postcode
169
+
170
+ LPA address postcode
171
+
172
+ `postcode`
173
+
174
+ * is optional
175
+
176
+ * Type: `string`
177
+
178
+ * can be null
179
+
180
+ * defined in: [PINS LPA](pins-lpa-properties-postcode.md "pins-lpa.schema.json#/properties/postcode")
181
+
182
+ ### postcode Type
183
+
184
+ `string`
185
+
186
+ ## country
187
+
188
+ LPA address country
189
+
190
+ `country`
191
+
192
+ * is optional
193
+
194
+ * Type: `string`
195
+
196
+ * can be null
197
+
198
+ * defined in: [PINS LPA](pins-lpa-properties-country.md "pins-lpa.schema.json#/properties/country")
199
+
200
+ ### country Type
201
+
202
+ `string`
203
+
204
+ ## telephoneNumber
205
+
206
+ LPA telephine number
207
+
208
+ `telephoneNumber`
209
+
210
+ * is optional
211
+
212
+ * Type: `string`
213
+
214
+ * can be null
215
+
216
+ * defined in: [PINS LPA](pins-lpa-properties-telephonenumber.md "pins-lpa.schema.json#/properties/telephoneNumber")
217
+
218
+ ### telephoneNumber Type
219
+
220
+ `string`
221
+
222
+ ## fax
223
+
224
+ LPA fax number
225
+
226
+ `fax`
227
+
228
+ * is optional
229
+
230
+ * Type: `string`
231
+
232
+ * can be null
233
+
234
+ * defined in: [PINS LPA](pins-lpa-properties-fax.md "pins-lpa.schema.json#/properties/fax")
235
+
236
+ ### fax Type
237
+
238
+ `string`
239
+
240
+ ## emailAddress
241
+
242
+ LPA email address
243
+
244
+ `emailAddress`
245
+
246
+ * is optional
247
+
248
+ * Type: `string`
249
+
250
+ * can be null
251
+
252
+ * defined in: [PINS LPA](pins-lpa-properties-emailaddress.md "pins-lpa.schema.json#/properties/emailAddress")
253
+
254
+ ### emailAddress Type
255
+
256
+ `string`
257
+
258
+ ## Additional Properties
259
+
260
+ Additional properties are allowed and do not have to follow a specific schema