@defra/forms-model 3.0.672 → 3.0.674
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/dist/module/components/enums.js +5 -0
- package/dist/module/components/enums.js.map +1 -1
- package/dist/module/components/index.js +1 -1
- package/dist/module/components/index.js.map +1 -1
- package/dist/module/components/types.js.map +1 -1
- package/dist/module/form/form-definition/index.js +14 -2
- package/dist/module/form/form-definition/index.js.map +1 -1
- package/dist/module/form/form-editor/index.js +4 -2
- package/dist/module/form/form-editor/index.js.map +1 -1
- package/dist/module/form/form-editor/types.js.map +1 -1
- package/dist/module/form/form-metrics/enums.js +2 -1
- package/dist/module/form/form-metrics/enums.js.map +1 -1
- package/dist/module/form/form-metrics/types.js.map +1 -1
- package/dist/types/components/enums.d.ts +4 -0
- package/dist/types/components/enums.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +2 -0
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/form/form-definition/index.d.ts.map +1 -1
- package/dist/types/form/form-editor/index.d.ts +2 -0
- package/dist/types/form/form-editor/index.d.ts.map +1 -1
- package/dist/types/form/form-editor/types.d.ts +6 -2
- package/dist/types/form/form-editor/types.d.ts.map +1 -1
- package/dist/types/form/form-metrics/enums.d.ts +2 -1
- package/dist/types/form/form-metrics/enums.d.ts.map +1 -1
- package/dist/types/form/form-metrics/types.d.ts +7 -1
- package/dist/types/form/form-metrics/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/component-schema-v2.json +38 -0
- package/schemas/component-schema.json +38 -0
- package/schemas/form-definition-schema.json +114 -0
- package/schemas/form-definition-v2-schema.json +190 -0
- package/schemas/list-schema-v2.json +76 -0
- package/schemas/list-schema.json +76 -0
- package/schemas/page-schema-v2.json +114 -0
- package/schemas/page-schema.json +38 -0
- package/src/components/enums.ts +5 -0
- package/src/components/index.ts +2 -1
- package/src/components/types.ts +3 -0
- package/src/form/form-definition/index.ts +42 -2
- package/src/form/form-editor/index.ts +8 -2
- package/src/form/form-editor/types.ts +8 -1
- package/src/form/form-metrics/enums.ts +2 -1
- package/src/form/form-metrics/types.ts +7 -1
|
@@ -2,6 +2,11 @@ import { type FormStatus } from '../../common/enums.js';
|
|
|
2
2
|
import { type FormMetricName, type FormMetricType } from '../../form/form-metrics/enums.js';
|
|
3
3
|
export interface FormTotalMetric {
|
|
4
4
|
count?: number;
|
|
5
|
+
details?: {
|
|
6
|
+
formId: string;
|
|
7
|
+
metricValue?: string | Date | number;
|
|
8
|
+
createdAt?: Date;
|
|
9
|
+
};
|
|
5
10
|
}
|
|
6
11
|
export interface FormTotalsMetric {
|
|
7
12
|
type: FormMetricType.TotalsMetric;
|
|
@@ -17,6 +22,7 @@ export interface FormTotalsMetric {
|
|
|
17
22
|
daysToPublish?: Record<string, number>;
|
|
18
23
|
republished?: Record<string, number>;
|
|
19
24
|
updatedAt: Date;
|
|
25
|
+
earliestDate: Date;
|
|
20
26
|
}
|
|
21
27
|
export interface FormOverviewMetric {
|
|
22
28
|
type: FormMetricType.OverviewMetric;
|
|
@@ -31,7 +37,7 @@ export interface FormTimelineMetric {
|
|
|
31
37
|
type: FormMetricType.TimelineMetric;
|
|
32
38
|
formId: string;
|
|
33
39
|
formStatus: FormStatus;
|
|
34
|
-
metricName:
|
|
40
|
+
metricName: FormMetricName;
|
|
35
41
|
metricValue: number;
|
|
36
42
|
createdAt: Date;
|
|
37
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/form/form-metrics/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,kCAAkC,CAAA;AAEzC,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/form/form-metrics/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,kCAAkC,CAAA;AAEzC,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE;QACR,MAAM,EAAE,MAAM,CAAA;QACd,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAAA;QACpC,SAAS,CAAC,EAAE,IAAI,CAAA;KACjB,CAAA;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,cAAc,CAAC,YAAY,CAAA;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;IAClD,OAAO,CAAC,EAAE,MAAM,CAAC,cAAc,EAAE,eAAe,CAAC,CAAA;IACjD,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACzC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,SAAS,EAAE,IAAI,CAAA;IACf,YAAY,EAAE,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,cAAc,CAAC,cAAc,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAC1D,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACnD,gBAAgB,EAAE,MAAM,CAAA;IACxB,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,cAAc,CAAC,cAAc,CAAA;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,UAAU,EAAE,cAAc,CAAA;IAC1B,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,IAAI,CAAA;CAChB;AAED,MAAM,MAAM,UAAU,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,kBAAkB,CAAA"}
|
package/package.json
CHANGED
|
@@ -157,6 +157,44 @@
|
|
|
157
157
|
"type": "string",
|
|
158
158
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
159
159
|
"title": "Email Field"
|
|
160
|
+
},
|
|
161
|
+
"countries": {
|
|
162
|
+
"type": "array",
|
|
163
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
164
|
+
"items": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"enum": [
|
|
167
|
+
"england",
|
|
168
|
+
"northern-ireland",
|
|
169
|
+
"scotland",
|
|
170
|
+
"wales"
|
|
171
|
+
],
|
|
172
|
+
"title": "Countries Item"
|
|
173
|
+
},
|
|
174
|
+
"title": "Countries"
|
|
175
|
+
},
|
|
176
|
+
"geometryTypes": {
|
|
177
|
+
"type": "array",
|
|
178
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
179
|
+
"items": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"enum": [
|
|
182
|
+
"point",
|
|
183
|
+
"line",
|
|
184
|
+
"shape"
|
|
185
|
+
],
|
|
186
|
+
"title": "Geometry Types Item"
|
|
187
|
+
},
|
|
188
|
+
"title": "Geometry Types"
|
|
189
|
+
},
|
|
190
|
+
"format": {
|
|
191
|
+
"type": "string",
|
|
192
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
193
|
+
"enum": [
|
|
194
|
+
"uk",
|
|
195
|
+
"international"
|
|
196
|
+
],
|
|
197
|
+
"title": "Format"
|
|
160
198
|
}
|
|
161
199
|
},
|
|
162
200
|
"additionalProperties": true,
|
|
@@ -163,6 +163,44 @@
|
|
|
163
163
|
"type": "string",
|
|
164
164
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
165
165
|
"title": "Email Field"
|
|
166
|
+
},
|
|
167
|
+
"countries": {
|
|
168
|
+
"type": "array",
|
|
169
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
170
|
+
"items": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"enum": [
|
|
173
|
+
"england",
|
|
174
|
+
"northern-ireland",
|
|
175
|
+
"scotland",
|
|
176
|
+
"wales"
|
|
177
|
+
],
|
|
178
|
+
"title": "Countries Item"
|
|
179
|
+
},
|
|
180
|
+
"title": "Countries"
|
|
181
|
+
},
|
|
182
|
+
"geometryTypes": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
185
|
+
"items": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"enum": [
|
|
188
|
+
"point",
|
|
189
|
+
"line",
|
|
190
|
+
"shape"
|
|
191
|
+
],
|
|
192
|
+
"title": "Geometry Types Item"
|
|
193
|
+
},
|
|
194
|
+
"title": "Geometry Types"
|
|
195
|
+
},
|
|
196
|
+
"format": {
|
|
197
|
+
"type": "string",
|
|
198
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
199
|
+
"enum": [
|
|
200
|
+
"uk",
|
|
201
|
+
"international"
|
|
202
|
+
],
|
|
203
|
+
"title": "Format"
|
|
166
204
|
}
|
|
167
205
|
},
|
|
168
206
|
"additionalProperties": true,
|
|
@@ -252,6 +252,44 @@
|
|
|
252
252
|
"type": "string",
|
|
253
253
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
254
254
|
"title": "Email Field"
|
|
255
|
+
},
|
|
256
|
+
"countries": {
|
|
257
|
+
"type": "array",
|
|
258
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
259
|
+
"items": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"enum": [
|
|
262
|
+
"england",
|
|
263
|
+
"northern-ireland",
|
|
264
|
+
"scotland",
|
|
265
|
+
"wales"
|
|
266
|
+
],
|
|
267
|
+
"title": "Countries Item"
|
|
268
|
+
},
|
|
269
|
+
"title": "Countries"
|
|
270
|
+
},
|
|
271
|
+
"geometryTypes": {
|
|
272
|
+
"type": "array",
|
|
273
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
274
|
+
"items": {
|
|
275
|
+
"type": "string",
|
|
276
|
+
"enum": [
|
|
277
|
+
"point",
|
|
278
|
+
"line",
|
|
279
|
+
"shape"
|
|
280
|
+
],
|
|
281
|
+
"title": "Geometry Types Item"
|
|
282
|
+
},
|
|
283
|
+
"title": "Geometry Types"
|
|
284
|
+
},
|
|
285
|
+
"format": {
|
|
286
|
+
"type": "string",
|
|
287
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
288
|
+
"enum": [
|
|
289
|
+
"uk",
|
|
290
|
+
"international"
|
|
291
|
+
],
|
|
292
|
+
"title": "Format"
|
|
255
293
|
}
|
|
256
294
|
},
|
|
257
295
|
"additionalProperties": true,
|
|
@@ -1021,6 +1059,44 @@
|
|
|
1021
1059
|
"type": "string",
|
|
1022
1060
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1023
1061
|
"title": "Email Field"
|
|
1062
|
+
},
|
|
1063
|
+
"countries": {
|
|
1064
|
+
"type": "array",
|
|
1065
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
1066
|
+
"items": {
|
|
1067
|
+
"type": "string",
|
|
1068
|
+
"enum": [
|
|
1069
|
+
"england",
|
|
1070
|
+
"northern-ireland",
|
|
1071
|
+
"scotland",
|
|
1072
|
+
"wales"
|
|
1073
|
+
],
|
|
1074
|
+
"title": "Countries Item"
|
|
1075
|
+
},
|
|
1076
|
+
"title": "Countries"
|
|
1077
|
+
},
|
|
1078
|
+
"geometryTypes": {
|
|
1079
|
+
"type": "array",
|
|
1080
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
1081
|
+
"items": {
|
|
1082
|
+
"type": "string",
|
|
1083
|
+
"enum": [
|
|
1084
|
+
"point",
|
|
1085
|
+
"line",
|
|
1086
|
+
"shape"
|
|
1087
|
+
],
|
|
1088
|
+
"title": "Geometry Types Item"
|
|
1089
|
+
},
|
|
1090
|
+
"title": "Geometry Types"
|
|
1091
|
+
},
|
|
1092
|
+
"format": {
|
|
1093
|
+
"type": "string",
|
|
1094
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
1095
|
+
"enum": [
|
|
1096
|
+
"uk",
|
|
1097
|
+
"international"
|
|
1098
|
+
],
|
|
1099
|
+
"title": "Format"
|
|
1024
1100
|
}
|
|
1025
1101
|
},
|
|
1026
1102
|
"additionalProperties": true,
|
|
@@ -1333,6 +1409,44 @@
|
|
|
1333
1409
|
"type": "string",
|
|
1334
1410
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1335
1411
|
"title": "Email Field"
|
|
1412
|
+
},
|
|
1413
|
+
"countries": {
|
|
1414
|
+
"type": "array",
|
|
1415
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
1416
|
+
"items": {
|
|
1417
|
+
"type": "string",
|
|
1418
|
+
"enum": [
|
|
1419
|
+
"england",
|
|
1420
|
+
"northern-ireland",
|
|
1421
|
+
"scotland",
|
|
1422
|
+
"wales"
|
|
1423
|
+
],
|
|
1424
|
+
"title": "Countries Item"
|
|
1425
|
+
},
|
|
1426
|
+
"title": "Countries"
|
|
1427
|
+
},
|
|
1428
|
+
"geometryTypes": {
|
|
1429
|
+
"type": "array",
|
|
1430
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
1431
|
+
"items": {
|
|
1432
|
+
"type": "string",
|
|
1433
|
+
"enum": [
|
|
1434
|
+
"point",
|
|
1435
|
+
"line",
|
|
1436
|
+
"shape"
|
|
1437
|
+
],
|
|
1438
|
+
"title": "Geometry Types Item"
|
|
1439
|
+
},
|
|
1440
|
+
"title": "Geometry Types"
|
|
1441
|
+
},
|
|
1442
|
+
"format": {
|
|
1443
|
+
"type": "string",
|
|
1444
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
1445
|
+
"enum": [
|
|
1446
|
+
"uk",
|
|
1447
|
+
"international"
|
|
1448
|
+
],
|
|
1449
|
+
"title": "Format"
|
|
1336
1450
|
}
|
|
1337
1451
|
},
|
|
1338
1452
|
"additionalProperties": true,
|
|
@@ -530,6 +530,44 @@
|
|
|
530
530
|
"type": "string",
|
|
531
531
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
532
532
|
"title": "Email Field"
|
|
533
|
+
},
|
|
534
|
+
"countries": {
|
|
535
|
+
"type": "array",
|
|
536
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
537
|
+
"items": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"enum": [
|
|
540
|
+
"england",
|
|
541
|
+
"northern-ireland",
|
|
542
|
+
"scotland",
|
|
543
|
+
"wales"
|
|
544
|
+
],
|
|
545
|
+
"title": "Countries Item"
|
|
546
|
+
},
|
|
547
|
+
"title": "Countries"
|
|
548
|
+
},
|
|
549
|
+
"geometryTypes": {
|
|
550
|
+
"type": "array",
|
|
551
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
552
|
+
"items": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"enum": [
|
|
555
|
+
"point",
|
|
556
|
+
"line",
|
|
557
|
+
"shape"
|
|
558
|
+
],
|
|
559
|
+
"title": "Geometry Types Item"
|
|
560
|
+
},
|
|
561
|
+
"title": "Geometry Types"
|
|
562
|
+
},
|
|
563
|
+
"format": {
|
|
564
|
+
"type": "string",
|
|
565
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
566
|
+
"enum": [
|
|
567
|
+
"uk",
|
|
568
|
+
"international"
|
|
569
|
+
],
|
|
570
|
+
"title": "Format"
|
|
533
571
|
}
|
|
534
572
|
},
|
|
535
573
|
"additionalProperties": true,
|
|
@@ -772,6 +810,44 @@
|
|
|
772
810
|
"type": "string",
|
|
773
811
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
774
812
|
"title": "Email Field"
|
|
813
|
+
},
|
|
814
|
+
"countries": {
|
|
815
|
+
"type": "array",
|
|
816
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
817
|
+
"items": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"enum": [
|
|
820
|
+
"england",
|
|
821
|
+
"northern-ireland",
|
|
822
|
+
"scotland",
|
|
823
|
+
"wales"
|
|
824
|
+
],
|
|
825
|
+
"title": "Countries Item"
|
|
826
|
+
},
|
|
827
|
+
"title": "Countries"
|
|
828
|
+
},
|
|
829
|
+
"geometryTypes": {
|
|
830
|
+
"type": "array",
|
|
831
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
832
|
+
"items": {
|
|
833
|
+
"type": "string",
|
|
834
|
+
"enum": [
|
|
835
|
+
"point",
|
|
836
|
+
"line",
|
|
837
|
+
"shape"
|
|
838
|
+
],
|
|
839
|
+
"title": "Geometry Types Item"
|
|
840
|
+
},
|
|
841
|
+
"title": "Geometry Types"
|
|
842
|
+
},
|
|
843
|
+
"format": {
|
|
844
|
+
"type": "string",
|
|
845
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
846
|
+
"enum": [
|
|
847
|
+
"uk",
|
|
848
|
+
"international"
|
|
849
|
+
],
|
|
850
|
+
"title": "Format"
|
|
775
851
|
}
|
|
776
852
|
},
|
|
777
853
|
"additionalProperties": true,
|
|
@@ -1098,6 +1174,44 @@
|
|
|
1098
1174
|
"type": "string",
|
|
1099
1175
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1100
1176
|
"title": "Email Field"
|
|
1177
|
+
},
|
|
1178
|
+
"countries": {
|
|
1179
|
+
"type": "array",
|
|
1180
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
1181
|
+
"items": {
|
|
1182
|
+
"type": "string",
|
|
1183
|
+
"enum": [
|
|
1184
|
+
"england",
|
|
1185
|
+
"northern-ireland",
|
|
1186
|
+
"scotland",
|
|
1187
|
+
"wales"
|
|
1188
|
+
],
|
|
1189
|
+
"title": "Countries Item"
|
|
1190
|
+
},
|
|
1191
|
+
"title": "Countries"
|
|
1192
|
+
},
|
|
1193
|
+
"geometryTypes": {
|
|
1194
|
+
"type": "array",
|
|
1195
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
1196
|
+
"items": {
|
|
1197
|
+
"type": "string",
|
|
1198
|
+
"enum": [
|
|
1199
|
+
"point",
|
|
1200
|
+
"line",
|
|
1201
|
+
"shape"
|
|
1202
|
+
],
|
|
1203
|
+
"title": "Geometry Types Item"
|
|
1204
|
+
},
|
|
1205
|
+
"title": "Geometry Types"
|
|
1206
|
+
},
|
|
1207
|
+
"format": {
|
|
1208
|
+
"type": "string",
|
|
1209
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
1210
|
+
"enum": [
|
|
1211
|
+
"uk",
|
|
1212
|
+
"international"
|
|
1213
|
+
],
|
|
1214
|
+
"title": "Format"
|
|
1101
1215
|
}
|
|
1102
1216
|
},
|
|
1103
1217
|
"additionalProperties": true,
|
|
@@ -1449,6 +1563,44 @@
|
|
|
1449
1563
|
"type": "string",
|
|
1450
1564
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1451
1565
|
"title": "Email Field"
|
|
1566
|
+
},
|
|
1567
|
+
"countries": {
|
|
1568
|
+
"type": "array",
|
|
1569
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
1570
|
+
"items": {
|
|
1571
|
+
"type": "string",
|
|
1572
|
+
"enum": [
|
|
1573
|
+
"england",
|
|
1574
|
+
"northern-ireland",
|
|
1575
|
+
"scotland",
|
|
1576
|
+
"wales"
|
|
1577
|
+
],
|
|
1578
|
+
"title": "Countries Item"
|
|
1579
|
+
},
|
|
1580
|
+
"title": "Countries"
|
|
1581
|
+
},
|
|
1582
|
+
"geometryTypes": {
|
|
1583
|
+
"type": "array",
|
|
1584
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
1585
|
+
"items": {
|
|
1586
|
+
"type": "string",
|
|
1587
|
+
"enum": [
|
|
1588
|
+
"point",
|
|
1589
|
+
"line",
|
|
1590
|
+
"shape"
|
|
1591
|
+
],
|
|
1592
|
+
"title": "Geometry Types Item"
|
|
1593
|
+
},
|
|
1594
|
+
"title": "Geometry Types"
|
|
1595
|
+
},
|
|
1596
|
+
"format": {
|
|
1597
|
+
"type": "string",
|
|
1598
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
1599
|
+
"enum": [
|
|
1600
|
+
"uk",
|
|
1601
|
+
"international"
|
|
1602
|
+
],
|
|
1603
|
+
"title": "Format"
|
|
1452
1604
|
}
|
|
1453
1605
|
},
|
|
1454
1606
|
"additionalProperties": true,
|
|
@@ -1761,6 +1913,44 @@
|
|
|
1761
1913
|
"type": "string",
|
|
1762
1914
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1763
1915
|
"title": "Email Field"
|
|
1916
|
+
},
|
|
1917
|
+
"countries": {
|
|
1918
|
+
"type": "array",
|
|
1919
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
1920
|
+
"items": {
|
|
1921
|
+
"type": "string",
|
|
1922
|
+
"enum": [
|
|
1923
|
+
"england",
|
|
1924
|
+
"northern-ireland",
|
|
1925
|
+
"scotland",
|
|
1926
|
+
"wales"
|
|
1927
|
+
],
|
|
1928
|
+
"title": "Countries Item"
|
|
1929
|
+
},
|
|
1930
|
+
"title": "Countries"
|
|
1931
|
+
},
|
|
1932
|
+
"geometryTypes": {
|
|
1933
|
+
"type": "array",
|
|
1934
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
1935
|
+
"items": {
|
|
1936
|
+
"type": "string",
|
|
1937
|
+
"enum": [
|
|
1938
|
+
"point",
|
|
1939
|
+
"line",
|
|
1940
|
+
"shape"
|
|
1941
|
+
],
|
|
1942
|
+
"title": "Geometry Types Item"
|
|
1943
|
+
},
|
|
1944
|
+
"title": "Geometry Types"
|
|
1945
|
+
},
|
|
1946
|
+
"format": {
|
|
1947
|
+
"type": "string",
|
|
1948
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
1949
|
+
"enum": [
|
|
1950
|
+
"uk",
|
|
1951
|
+
"international"
|
|
1952
|
+
],
|
|
1953
|
+
"title": "Format"
|
|
1764
1954
|
}
|
|
1765
1955
|
},
|
|
1766
1956
|
"additionalProperties": true,
|
|
@@ -228,6 +228,44 @@
|
|
|
228
228
|
"type": "string",
|
|
229
229
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
230
230
|
"title": "Email Field"
|
|
231
|
+
},
|
|
232
|
+
"countries": {
|
|
233
|
+
"type": "array",
|
|
234
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
235
|
+
"items": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"enum": [
|
|
238
|
+
"england",
|
|
239
|
+
"northern-ireland",
|
|
240
|
+
"scotland",
|
|
241
|
+
"wales"
|
|
242
|
+
],
|
|
243
|
+
"title": "Countries Item"
|
|
244
|
+
},
|
|
245
|
+
"title": "Countries"
|
|
246
|
+
},
|
|
247
|
+
"geometryTypes": {
|
|
248
|
+
"type": "array",
|
|
249
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
250
|
+
"items": {
|
|
251
|
+
"type": "string",
|
|
252
|
+
"enum": [
|
|
253
|
+
"point",
|
|
254
|
+
"line",
|
|
255
|
+
"shape"
|
|
256
|
+
],
|
|
257
|
+
"title": "Geometry Types Item"
|
|
258
|
+
},
|
|
259
|
+
"title": "Geometry Types"
|
|
260
|
+
},
|
|
261
|
+
"format": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
264
|
+
"enum": [
|
|
265
|
+
"uk",
|
|
266
|
+
"international"
|
|
267
|
+
],
|
|
268
|
+
"title": "Format"
|
|
231
269
|
}
|
|
232
270
|
},
|
|
233
271
|
"additionalProperties": true,
|
|
@@ -540,6 +578,44 @@
|
|
|
540
578
|
"type": "string",
|
|
541
579
|
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
542
580
|
"title": "Email Field"
|
|
581
|
+
},
|
|
582
|
+
"countries": {
|
|
583
|
+
"type": "array",
|
|
584
|
+
"description": "Country filters for geospatial data - for GeospatialField only",
|
|
585
|
+
"items": {
|
|
586
|
+
"type": "string",
|
|
587
|
+
"enum": [
|
|
588
|
+
"england",
|
|
589
|
+
"northern-ireland",
|
|
590
|
+
"scotland",
|
|
591
|
+
"wales"
|
|
592
|
+
],
|
|
593
|
+
"title": "Countries Item"
|
|
594
|
+
},
|
|
595
|
+
"title": "Countries"
|
|
596
|
+
},
|
|
597
|
+
"geometryTypes": {
|
|
598
|
+
"type": "array",
|
|
599
|
+
"description": "Geometry types for geospatial data - for GeospatialField only",
|
|
600
|
+
"items": {
|
|
601
|
+
"type": "string",
|
|
602
|
+
"enum": [
|
|
603
|
+
"point",
|
|
604
|
+
"line",
|
|
605
|
+
"shape"
|
|
606
|
+
],
|
|
607
|
+
"title": "Geometry Types Item"
|
|
608
|
+
},
|
|
609
|
+
"title": "Geometry Types"
|
|
610
|
+
},
|
|
611
|
+
"format": {
|
|
612
|
+
"type": "string",
|
|
613
|
+
"description": "Format for telephone number - for TelephoneNumberField only",
|
|
614
|
+
"enum": [
|
|
615
|
+
"uk",
|
|
616
|
+
"international"
|
|
617
|
+
],
|
|
618
|
+
"title": "Format"
|
|
543
619
|
}
|
|
544
620
|
},
|
|
545
621
|
"additionalProperties": true,
|