@defra/forms-model 3.0.645 → 3.0.646
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/component-types.js +2 -1
- package/dist/module/components/component-types.js.map +1 -1
- package/dist/module/components/types.js.map +1 -1
- package/dist/module/form/form-definition/index.js +13 -2
- package/dist/module/form/form-definition/index.js.map +1 -1
- package/dist/types/components/component-types.d.ts.map +1 -1
- package/dist/types/components/types.d.ts +5 -0
- package/dist/types/components/types.d.ts.map +1 -1
- package/dist/types/form/form-definition/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/component-schema-v2.json +35 -2
- package/schemas/component-schema.json +35 -2
- package/schemas/form-definition-schema.json +105 -6
- package/schemas/form-definition-v2-schema.json +175 -10
- package/schemas/list-schema-v2.json +70 -4
- package/schemas/list-schema.json +70 -4
- package/schemas/page-schema-v2.json +105 -6
- package/schemas/page-schema.json +35 -2
- package/src/components/component-types.ts +2 -1
- package/src/components/types.ts +5 -0
- package/src/form/form-definition/index.ts +31 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-definition/index.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,EAAE,EAAE,KAAK,aAAa,EAAyB,MAAM,KAAK,CAAA;AAMxE,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC9B,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAEL,KAAK,eAAe,EAIpB,KAAK,+BAA+B,EAOrC,MAAM,2BAA2B,CAAA;AASlC,OAAO,EAGL,KAAK,kBAAkB,EAIvB,KAAK,cAAc,EAGnB,KAAK,IAAI,EACT,KAAK,IAAI,EAET,KAAK,MAAM,EAGX,KAAK,OAAO,EACb,MAAM,qCAAqC,CAAA;AA2C5C,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,EACb,SAAS,aAAa,CAAC,+BAA+B,CAAC,iCAqCxD,CAAA;AA6ND,eAAO,MAAM,qBAAqB,uCAyD9B,CAAA;AAoDJ,eAAO,MAAM,wBAAwB,0CAwBU,CAAA;AAE/C,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,EACb,SAAS,aAAa,CAAC,MAAM,CAAC,iCAW/B,CAAA;AAED,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-definition/index.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,EAAE,EAAE,KAAK,aAAa,EAAyB,MAAM,KAAK,CAAA;AAMxE,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC9B,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAEL,KAAK,eAAe,EAIpB,KAAK,+BAA+B,EAOrC,MAAM,2BAA2B,CAAA;AASlC,OAAO,EAGL,KAAK,kBAAkB,EAIvB,KAAK,cAAc,EAGnB,KAAK,IAAI,EACT,KAAK,IAAI,EAET,KAAK,MAAM,EAGX,KAAK,OAAO,EACb,MAAM,qCAAqC,CAAA;AA2C5C,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,EACb,SAAS,aAAa,CAAC,+BAA+B,CAAC,iCAqCxD,CAAA;AA6ND,eAAO,MAAM,qBAAqB,uCAyD9B,CAAA;AAoDJ,eAAO,MAAM,wBAAwB,0CAwBU,CAAA;AAE/C,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,EACb,SAAS,aAAa,CAAC,MAAM,CAAC,iCAW/B,CAAA;AAED,eAAO,MAAM,eAAe,oCA0JZ,CAAA;AAEhB,eAAO,MAAM,iBAAiB,oCAciB,CAAA;AAE/C,eAAO,MAAM,wBAAwB,oCASsB,CAAA;AAE3D,eAAO,MAAM,yBAAyB,oCAMpC,CAAA;AAEF,eAAO,MAAM,sBAAsB,oCAUjC,CAAA;AAuDF,eAAO,MAAM,gBAAgB,8BASzB,CAAA;AAyCJ,eAAO,MAAM,0BAA0B,sEAWmB,CAAA;AAE1D;;;GAGG;AACH,eAAO,MAAM,UAAU,4BAmDnB,CAAA;AAEJ;;GAEG;AACH,eAAO,MAAM,YAAY,4BAuCiB,CAAA;AAE1C,eAAO,MAAM,mBAAmB,4BAgBkB,CAAA;AAwDlD,eAAO,MAAM,UAAU,4BA8CnB,CAAA;AAEJ;;GAEG;AACH,eAAO,MAAM,YAAY,4BAIiB,CAAA;AAE1C;;GAEG;AACH,eAAO,MAAM,gBAAgB,+BAIgB,CAAA;AA+C7C;;;GAGG;AACH,eAAO,MAAM,oBAAoB,sCA+F7B,CAAA;AAEJ,eAAO,MAAM,sBAAsB,sCAyDY,CAAA;AAE/C,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,yCAAyC,CAAA;AAIhD,eAAO,MAAM,MAAM,sCAAuB,CAAA"}
|
package/package.json
CHANGED
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
},
|
|
115
115
|
"amount": {
|
|
116
116
|
"type": "number",
|
|
117
|
-
"description": "Payment amount in GBP (£0
|
|
118
|
-
"minimum": 0
|
|
117
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
118
|
+
"minimum": 0,
|
|
119
119
|
"maximum": 100000,
|
|
120
120
|
"title": "Amount"
|
|
121
121
|
},
|
|
@@ -124,6 +124,39 @@
|
|
|
124
124
|
"description": "Payment description (max 230 chars)",
|
|
125
125
|
"maxLength": 230,
|
|
126
126
|
"title": "Description"
|
|
127
|
+
},
|
|
128
|
+
"conditionalAmounts": {
|
|
129
|
+
"type": "array",
|
|
130
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
131
|
+
"items": {
|
|
132
|
+
"type": "object",
|
|
133
|
+
"properties": {
|
|
134
|
+
"condition": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "Condition ID for this amount",
|
|
137
|
+
"title": "Condition"
|
|
138
|
+
},
|
|
139
|
+
"amount": {
|
|
140
|
+
"type": "number",
|
|
141
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
142
|
+
"minimum": 0.3,
|
|
143
|
+
"maximum": 100000,
|
|
144
|
+
"title": "Amount"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"required": [
|
|
148
|
+
"condition",
|
|
149
|
+
"amount"
|
|
150
|
+
],
|
|
151
|
+
"additionalProperties": false,
|
|
152
|
+
"title": "Conditional Amounts Item"
|
|
153
|
+
},
|
|
154
|
+
"title": "Conditional Amounts"
|
|
155
|
+
},
|
|
156
|
+
"emailField": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
159
|
+
"title": "Email Field"
|
|
127
160
|
}
|
|
128
161
|
},
|
|
129
162
|
"additionalProperties": true,
|
|
@@ -120,8 +120,8 @@
|
|
|
120
120
|
},
|
|
121
121
|
"amount": {
|
|
122
122
|
"type": "number",
|
|
123
|
-
"description": "Payment amount in GBP (£0
|
|
124
|
-
"minimum": 0
|
|
123
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
124
|
+
"minimum": 0,
|
|
125
125
|
"maximum": 100000,
|
|
126
126
|
"title": "Amount"
|
|
127
127
|
},
|
|
@@ -130,6 +130,39 @@
|
|
|
130
130
|
"description": "Payment description (max 230 chars)",
|
|
131
131
|
"maxLength": 230,
|
|
132
132
|
"title": "Description"
|
|
133
|
+
},
|
|
134
|
+
"conditionalAmounts": {
|
|
135
|
+
"type": "array",
|
|
136
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "object",
|
|
139
|
+
"properties": {
|
|
140
|
+
"condition": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "Condition ID for this amount",
|
|
143
|
+
"title": "Condition"
|
|
144
|
+
},
|
|
145
|
+
"amount": {
|
|
146
|
+
"type": "number",
|
|
147
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
148
|
+
"minimum": 0.3,
|
|
149
|
+
"maximum": 100000,
|
|
150
|
+
"title": "Amount"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"required": [
|
|
154
|
+
"condition",
|
|
155
|
+
"amount"
|
|
156
|
+
],
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"title": "Conditional Amounts Item"
|
|
159
|
+
},
|
|
160
|
+
"title": "Conditional Amounts"
|
|
161
|
+
},
|
|
162
|
+
"emailField": {
|
|
163
|
+
"type": "string",
|
|
164
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
165
|
+
"title": "Email Field"
|
|
133
166
|
}
|
|
134
167
|
},
|
|
135
168
|
"additionalProperties": true,
|
|
@@ -209,8 +209,8 @@
|
|
|
209
209
|
},
|
|
210
210
|
"amount": {
|
|
211
211
|
"type": "number",
|
|
212
|
-
"description": "Payment amount in GBP (£0
|
|
213
|
-
"minimum": 0
|
|
212
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
213
|
+
"minimum": 0,
|
|
214
214
|
"maximum": 100000,
|
|
215
215
|
"title": "Amount"
|
|
216
216
|
},
|
|
@@ -219,6 +219,39 @@
|
|
|
219
219
|
"description": "Payment description (max 230 chars)",
|
|
220
220
|
"maxLength": 230,
|
|
221
221
|
"title": "Description"
|
|
222
|
+
},
|
|
223
|
+
"conditionalAmounts": {
|
|
224
|
+
"type": "array",
|
|
225
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
226
|
+
"items": {
|
|
227
|
+
"type": "object",
|
|
228
|
+
"properties": {
|
|
229
|
+
"condition": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"description": "Condition ID for this amount",
|
|
232
|
+
"title": "Condition"
|
|
233
|
+
},
|
|
234
|
+
"amount": {
|
|
235
|
+
"type": "number",
|
|
236
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
237
|
+
"minimum": 0.3,
|
|
238
|
+
"maximum": 100000,
|
|
239
|
+
"title": "Amount"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
"required": [
|
|
243
|
+
"condition",
|
|
244
|
+
"amount"
|
|
245
|
+
],
|
|
246
|
+
"additionalProperties": false,
|
|
247
|
+
"title": "Conditional Amounts Item"
|
|
248
|
+
},
|
|
249
|
+
"title": "Conditional Amounts"
|
|
250
|
+
},
|
|
251
|
+
"emailField": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
254
|
+
"title": "Email Field"
|
|
222
255
|
}
|
|
223
256
|
},
|
|
224
257
|
"additionalProperties": true,
|
|
@@ -945,8 +978,8 @@
|
|
|
945
978
|
},
|
|
946
979
|
"amount": {
|
|
947
980
|
"type": "number",
|
|
948
|
-
"description": "Payment amount in GBP (£0
|
|
949
|
-
"minimum": 0
|
|
981
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
982
|
+
"minimum": 0,
|
|
950
983
|
"maximum": 100000,
|
|
951
984
|
"title": "Amount"
|
|
952
985
|
},
|
|
@@ -955,6 +988,39 @@
|
|
|
955
988
|
"description": "Payment description (max 230 chars)",
|
|
956
989
|
"maxLength": 230,
|
|
957
990
|
"title": "Description"
|
|
991
|
+
},
|
|
992
|
+
"conditionalAmounts": {
|
|
993
|
+
"type": "array",
|
|
994
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
995
|
+
"items": {
|
|
996
|
+
"type": "object",
|
|
997
|
+
"properties": {
|
|
998
|
+
"condition": {
|
|
999
|
+
"type": "string",
|
|
1000
|
+
"description": "Condition ID for this amount",
|
|
1001
|
+
"title": "Condition"
|
|
1002
|
+
},
|
|
1003
|
+
"amount": {
|
|
1004
|
+
"type": "number",
|
|
1005
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
1006
|
+
"minimum": 0.3,
|
|
1007
|
+
"maximum": 100000,
|
|
1008
|
+
"title": "Amount"
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"required": [
|
|
1012
|
+
"condition",
|
|
1013
|
+
"amount"
|
|
1014
|
+
],
|
|
1015
|
+
"additionalProperties": false,
|
|
1016
|
+
"title": "Conditional Amounts Item"
|
|
1017
|
+
},
|
|
1018
|
+
"title": "Conditional Amounts"
|
|
1019
|
+
},
|
|
1020
|
+
"emailField": {
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1023
|
+
"title": "Email Field"
|
|
958
1024
|
}
|
|
959
1025
|
},
|
|
960
1026
|
"additionalProperties": true,
|
|
@@ -1224,8 +1290,8 @@
|
|
|
1224
1290
|
},
|
|
1225
1291
|
"amount": {
|
|
1226
1292
|
"type": "number",
|
|
1227
|
-
"description": "Payment amount in GBP (£0
|
|
1228
|
-
"minimum": 0
|
|
1293
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
1294
|
+
"minimum": 0,
|
|
1229
1295
|
"maximum": 100000,
|
|
1230
1296
|
"title": "Amount"
|
|
1231
1297
|
},
|
|
@@ -1234,6 +1300,39 @@
|
|
|
1234
1300
|
"description": "Payment description (max 230 chars)",
|
|
1235
1301
|
"maxLength": 230,
|
|
1236
1302
|
"title": "Description"
|
|
1303
|
+
},
|
|
1304
|
+
"conditionalAmounts": {
|
|
1305
|
+
"type": "array",
|
|
1306
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
1307
|
+
"items": {
|
|
1308
|
+
"type": "object",
|
|
1309
|
+
"properties": {
|
|
1310
|
+
"condition": {
|
|
1311
|
+
"type": "string",
|
|
1312
|
+
"description": "Condition ID for this amount",
|
|
1313
|
+
"title": "Condition"
|
|
1314
|
+
},
|
|
1315
|
+
"amount": {
|
|
1316
|
+
"type": "number",
|
|
1317
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
1318
|
+
"minimum": 0.3,
|
|
1319
|
+
"maximum": 100000,
|
|
1320
|
+
"title": "Amount"
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
"required": [
|
|
1324
|
+
"condition",
|
|
1325
|
+
"amount"
|
|
1326
|
+
],
|
|
1327
|
+
"additionalProperties": false,
|
|
1328
|
+
"title": "Conditional Amounts Item"
|
|
1329
|
+
},
|
|
1330
|
+
"title": "Conditional Amounts"
|
|
1331
|
+
},
|
|
1332
|
+
"emailField": {
|
|
1333
|
+
"type": "string",
|
|
1334
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1335
|
+
"title": "Email Field"
|
|
1237
1336
|
}
|
|
1238
1337
|
},
|
|
1239
1338
|
"additionalProperties": true,
|
|
@@ -487,8 +487,8 @@
|
|
|
487
487
|
},
|
|
488
488
|
"amount": {
|
|
489
489
|
"type": "number",
|
|
490
|
-
"description": "Payment amount in GBP (£0
|
|
491
|
-
"minimum": 0
|
|
490
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
491
|
+
"minimum": 0,
|
|
492
492
|
"maximum": 100000,
|
|
493
493
|
"title": "Amount"
|
|
494
494
|
},
|
|
@@ -497,6 +497,39 @@
|
|
|
497
497
|
"description": "Payment description (max 230 chars)",
|
|
498
498
|
"maxLength": 230,
|
|
499
499
|
"title": "Description"
|
|
500
|
+
},
|
|
501
|
+
"conditionalAmounts": {
|
|
502
|
+
"type": "array",
|
|
503
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
504
|
+
"items": {
|
|
505
|
+
"type": "object",
|
|
506
|
+
"properties": {
|
|
507
|
+
"condition": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"description": "Condition ID for this amount",
|
|
510
|
+
"title": "Condition"
|
|
511
|
+
},
|
|
512
|
+
"amount": {
|
|
513
|
+
"type": "number",
|
|
514
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
515
|
+
"minimum": 0.3,
|
|
516
|
+
"maximum": 100000,
|
|
517
|
+
"title": "Amount"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"required": [
|
|
521
|
+
"condition",
|
|
522
|
+
"amount"
|
|
523
|
+
],
|
|
524
|
+
"additionalProperties": false,
|
|
525
|
+
"title": "Conditional Amounts Item"
|
|
526
|
+
},
|
|
527
|
+
"title": "Conditional Amounts"
|
|
528
|
+
},
|
|
529
|
+
"emailField": {
|
|
530
|
+
"type": "string",
|
|
531
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
532
|
+
"title": "Email Field"
|
|
500
533
|
}
|
|
501
534
|
},
|
|
502
535
|
"additionalProperties": true,
|
|
@@ -696,8 +729,8 @@
|
|
|
696
729
|
},
|
|
697
730
|
"amount": {
|
|
698
731
|
"type": "number",
|
|
699
|
-
"description": "Payment amount in GBP (£0
|
|
700
|
-
"minimum": 0
|
|
732
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
733
|
+
"minimum": 0,
|
|
701
734
|
"maximum": 100000,
|
|
702
735
|
"title": "Amount"
|
|
703
736
|
},
|
|
@@ -706,6 +739,39 @@
|
|
|
706
739
|
"description": "Payment description (max 230 chars)",
|
|
707
740
|
"maxLength": 230,
|
|
708
741
|
"title": "Description"
|
|
742
|
+
},
|
|
743
|
+
"conditionalAmounts": {
|
|
744
|
+
"type": "array",
|
|
745
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
746
|
+
"items": {
|
|
747
|
+
"type": "object",
|
|
748
|
+
"properties": {
|
|
749
|
+
"condition": {
|
|
750
|
+
"type": "string",
|
|
751
|
+
"description": "Condition ID for this amount",
|
|
752
|
+
"title": "Condition"
|
|
753
|
+
},
|
|
754
|
+
"amount": {
|
|
755
|
+
"type": "number",
|
|
756
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
757
|
+
"minimum": 0.3,
|
|
758
|
+
"maximum": 100000,
|
|
759
|
+
"title": "Amount"
|
|
760
|
+
}
|
|
761
|
+
},
|
|
762
|
+
"required": [
|
|
763
|
+
"condition",
|
|
764
|
+
"amount"
|
|
765
|
+
],
|
|
766
|
+
"additionalProperties": false,
|
|
767
|
+
"title": "Conditional Amounts Item"
|
|
768
|
+
},
|
|
769
|
+
"title": "Conditional Amounts"
|
|
770
|
+
},
|
|
771
|
+
"emailField": {
|
|
772
|
+
"type": "string",
|
|
773
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
774
|
+
"title": "Email Field"
|
|
709
775
|
}
|
|
710
776
|
},
|
|
711
777
|
"additionalProperties": true,
|
|
@@ -988,8 +1054,8 @@
|
|
|
988
1054
|
},
|
|
989
1055
|
"amount": {
|
|
990
1056
|
"type": "number",
|
|
991
|
-
"description": "Payment amount in GBP (£0
|
|
992
|
-
"minimum": 0
|
|
1057
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
1058
|
+
"minimum": 0,
|
|
993
1059
|
"maximum": 100000,
|
|
994
1060
|
"title": "Amount"
|
|
995
1061
|
},
|
|
@@ -998,6 +1064,39 @@
|
|
|
998
1064
|
"description": "Payment description (max 230 chars)",
|
|
999
1065
|
"maxLength": 230,
|
|
1000
1066
|
"title": "Description"
|
|
1067
|
+
},
|
|
1068
|
+
"conditionalAmounts": {
|
|
1069
|
+
"type": "array",
|
|
1070
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
1071
|
+
"items": {
|
|
1072
|
+
"type": "object",
|
|
1073
|
+
"properties": {
|
|
1074
|
+
"condition": {
|
|
1075
|
+
"type": "string",
|
|
1076
|
+
"description": "Condition ID for this amount",
|
|
1077
|
+
"title": "Condition"
|
|
1078
|
+
},
|
|
1079
|
+
"amount": {
|
|
1080
|
+
"type": "number",
|
|
1081
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
1082
|
+
"minimum": 0.3,
|
|
1083
|
+
"maximum": 100000,
|
|
1084
|
+
"title": "Amount"
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
"required": [
|
|
1088
|
+
"condition",
|
|
1089
|
+
"amount"
|
|
1090
|
+
],
|
|
1091
|
+
"additionalProperties": false,
|
|
1092
|
+
"title": "Conditional Amounts Item"
|
|
1093
|
+
},
|
|
1094
|
+
"title": "Conditional Amounts"
|
|
1095
|
+
},
|
|
1096
|
+
"emailField": {
|
|
1097
|
+
"type": "string",
|
|
1098
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1099
|
+
"title": "Email Field"
|
|
1001
1100
|
}
|
|
1002
1101
|
},
|
|
1003
1102
|
"additionalProperties": true,
|
|
@@ -1306,8 +1405,8 @@
|
|
|
1306
1405
|
},
|
|
1307
1406
|
"amount": {
|
|
1308
1407
|
"type": "number",
|
|
1309
|
-
"description": "Payment amount in GBP (£0
|
|
1310
|
-
"minimum": 0
|
|
1408
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
1409
|
+
"minimum": 0,
|
|
1311
1410
|
"maximum": 100000,
|
|
1312
1411
|
"title": "Amount"
|
|
1313
1412
|
},
|
|
@@ -1316,6 +1415,39 @@
|
|
|
1316
1415
|
"description": "Payment description (max 230 chars)",
|
|
1317
1416
|
"maxLength": 230,
|
|
1318
1417
|
"title": "Description"
|
|
1418
|
+
},
|
|
1419
|
+
"conditionalAmounts": {
|
|
1420
|
+
"type": "array",
|
|
1421
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
1422
|
+
"items": {
|
|
1423
|
+
"type": "object",
|
|
1424
|
+
"properties": {
|
|
1425
|
+
"condition": {
|
|
1426
|
+
"type": "string",
|
|
1427
|
+
"description": "Condition ID for this amount",
|
|
1428
|
+
"title": "Condition"
|
|
1429
|
+
},
|
|
1430
|
+
"amount": {
|
|
1431
|
+
"type": "number",
|
|
1432
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
1433
|
+
"minimum": 0.3,
|
|
1434
|
+
"maximum": 100000,
|
|
1435
|
+
"title": "Amount"
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
"required": [
|
|
1439
|
+
"condition",
|
|
1440
|
+
"amount"
|
|
1441
|
+
],
|
|
1442
|
+
"additionalProperties": false,
|
|
1443
|
+
"title": "Conditional Amounts Item"
|
|
1444
|
+
},
|
|
1445
|
+
"title": "Conditional Amounts"
|
|
1446
|
+
},
|
|
1447
|
+
"emailField": {
|
|
1448
|
+
"type": "string",
|
|
1449
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1450
|
+
"title": "Email Field"
|
|
1319
1451
|
}
|
|
1320
1452
|
},
|
|
1321
1453
|
"additionalProperties": true,
|
|
@@ -1585,8 +1717,8 @@
|
|
|
1585
1717
|
},
|
|
1586
1718
|
"amount": {
|
|
1587
1719
|
"type": "number",
|
|
1588
|
-
"description": "Payment amount in GBP (£0
|
|
1589
|
-
"minimum": 0
|
|
1720
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
1721
|
+
"minimum": 0,
|
|
1590
1722
|
"maximum": 100000,
|
|
1591
1723
|
"title": "Amount"
|
|
1592
1724
|
},
|
|
@@ -1595,6 +1727,39 @@
|
|
|
1595
1727
|
"description": "Payment description (max 230 chars)",
|
|
1596
1728
|
"maxLength": 230,
|
|
1597
1729
|
"title": "Description"
|
|
1730
|
+
},
|
|
1731
|
+
"conditionalAmounts": {
|
|
1732
|
+
"type": "array",
|
|
1733
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
1734
|
+
"items": {
|
|
1735
|
+
"type": "object",
|
|
1736
|
+
"properties": {
|
|
1737
|
+
"condition": {
|
|
1738
|
+
"type": "string",
|
|
1739
|
+
"description": "Condition ID for this amount",
|
|
1740
|
+
"title": "Condition"
|
|
1741
|
+
},
|
|
1742
|
+
"amount": {
|
|
1743
|
+
"type": "number",
|
|
1744
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
1745
|
+
"minimum": 0.3,
|
|
1746
|
+
"maximum": 100000,
|
|
1747
|
+
"title": "Amount"
|
|
1748
|
+
}
|
|
1749
|
+
},
|
|
1750
|
+
"required": [
|
|
1751
|
+
"condition",
|
|
1752
|
+
"amount"
|
|
1753
|
+
],
|
|
1754
|
+
"additionalProperties": false,
|
|
1755
|
+
"title": "Conditional Amounts Item"
|
|
1756
|
+
},
|
|
1757
|
+
"title": "Conditional Amounts"
|
|
1758
|
+
},
|
|
1759
|
+
"emailField": {
|
|
1760
|
+
"type": "string",
|
|
1761
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
1762
|
+
"title": "Email Field"
|
|
1598
1763
|
}
|
|
1599
1764
|
},
|
|
1600
1765
|
"additionalProperties": true,
|
|
@@ -185,8 +185,8 @@
|
|
|
185
185
|
},
|
|
186
186
|
"amount": {
|
|
187
187
|
"type": "number",
|
|
188
|
-
"description": "Payment amount in GBP (£0
|
|
189
|
-
"minimum": 0
|
|
188
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
189
|
+
"minimum": 0,
|
|
190
190
|
"maximum": 100000,
|
|
191
191
|
"title": "Amount"
|
|
192
192
|
},
|
|
@@ -195,6 +195,39 @@
|
|
|
195
195
|
"description": "Payment description (max 230 chars)",
|
|
196
196
|
"maxLength": 230,
|
|
197
197
|
"title": "Description"
|
|
198
|
+
},
|
|
199
|
+
"conditionalAmounts": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
202
|
+
"items": {
|
|
203
|
+
"type": "object",
|
|
204
|
+
"properties": {
|
|
205
|
+
"condition": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"description": "Condition ID for this amount",
|
|
208
|
+
"title": "Condition"
|
|
209
|
+
},
|
|
210
|
+
"amount": {
|
|
211
|
+
"type": "number",
|
|
212
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
213
|
+
"minimum": 0.3,
|
|
214
|
+
"maximum": 100000,
|
|
215
|
+
"title": "Amount"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"required": [
|
|
219
|
+
"condition",
|
|
220
|
+
"amount"
|
|
221
|
+
],
|
|
222
|
+
"additionalProperties": false,
|
|
223
|
+
"title": "Conditional Amounts Item"
|
|
224
|
+
},
|
|
225
|
+
"title": "Conditional Amounts"
|
|
226
|
+
},
|
|
227
|
+
"emailField": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
230
|
+
"title": "Email Field"
|
|
198
231
|
}
|
|
199
232
|
},
|
|
200
233
|
"additionalProperties": true,
|
|
@@ -464,8 +497,8 @@
|
|
|
464
497
|
},
|
|
465
498
|
"amount": {
|
|
466
499
|
"type": "number",
|
|
467
|
-
"description": "Payment amount in GBP (£0
|
|
468
|
-
"minimum": 0
|
|
500
|
+
"description": "Payment amount in GBP (£0 - £100,000)",
|
|
501
|
+
"minimum": 0,
|
|
469
502
|
"maximum": 100000,
|
|
470
503
|
"title": "Amount"
|
|
471
504
|
},
|
|
@@ -474,6 +507,39 @@
|
|
|
474
507
|
"description": "Payment description (max 230 chars)",
|
|
475
508
|
"maxLength": 230,
|
|
476
509
|
"title": "Description"
|
|
510
|
+
},
|
|
511
|
+
"conditionalAmounts": {
|
|
512
|
+
"type": "array",
|
|
513
|
+
"description": "Conditional payment amounts evaluated in order",
|
|
514
|
+
"items": {
|
|
515
|
+
"type": "object",
|
|
516
|
+
"properties": {
|
|
517
|
+
"condition": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"description": "Condition ID for this amount",
|
|
520
|
+
"title": "Condition"
|
|
521
|
+
},
|
|
522
|
+
"amount": {
|
|
523
|
+
"type": "number",
|
|
524
|
+
"description": "Amount in GBP when condition is true (min £0.30)",
|
|
525
|
+
"minimum": 0.3,
|
|
526
|
+
"maximum": 100000,
|
|
527
|
+
"title": "Amount"
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
"required": [
|
|
531
|
+
"condition",
|
|
532
|
+
"amount"
|
|
533
|
+
],
|
|
534
|
+
"additionalProperties": false,
|
|
535
|
+
"title": "Conditional Amounts Item"
|
|
536
|
+
},
|
|
537
|
+
"title": "Conditional Amounts"
|
|
538
|
+
},
|
|
539
|
+
"emailField": {
|
|
540
|
+
"type": "string",
|
|
541
|
+
"description": "Name of EmailAddressField to prepopulate GOV.UK Pay email",
|
|
542
|
+
"title": "Email Field"
|
|
477
543
|
}
|
|
478
544
|
},
|
|
479
545
|
"additionalProperties": true,
|