@pdtf/schemas 3.6.0-34 → 3.6.0-35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pdtf/schemas",
3
- "version": "3.6.0-34",
3
+ "version": "3.6.0-35",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -21601,44 +21601,38 @@
21601
21601
  "sef25Ref": "S1.1",
21602
21602
  "title": "Associated costs of leased solar panels",
21603
21603
  "type": "object",
21604
- "sef25Required": ["hasCost"],
21604
+ "sef25Required": ["frequency"],
21605
21605
  "properties": {
21606
- "hasCost": {
21606
+ "frequency": {
21607
21607
  "sef25Ref": "S1.1.1",
21608
- "title": "Are there any associated costs?",
21608
+ "title": "If costs are associated, what is the payment frequency?",
21609
21609
  "type": "string",
21610
- "enum": ["Yes", "No"]
21610
+ "enum": ["Per month", "Per year", "Not applicable"]
21611
21611
  }
21612
21612
  },
21613
21613
  "discriminator": {
21614
- "propertyName": "hasCost"
21614
+ "propertyName": "frequency"
21615
21615
  },
21616
21616
  "oneOf": [
21617
21617
  {
21618
21618
  "properties": {
21619
- "hasCost": {
21620
- "enum": ["No"]
21619
+ "frequency": {
21620
+ "enum": ["Not applicable"]
21621
21621
  }
21622
21622
  }
21623
21623
  },
21624
21624
  {
21625
21625
  "properties": {
21626
- "hasCost": {
21627
- "enum": ["Yes"]
21626
+ "frequency": {
21627
+ "enum": ["Per month", "Per year"]
21628
21628
  },
21629
21629
  "amount": {
21630
21630
  "sef25Ref": "S1.1.2",
21631
21631
  "title": "Amount (£)",
21632
21632
  "type": "number"
21633
- },
21634
- "frequency": {
21635
- "sef25Ref": "S1.1.3",
21636
- "title": "Payment frequency",
21637
- "type": "string",
21638
- "enum": ["Per month", "Per year"]
21639
21633
  }
21640
21634
  },
21641
- "sef25Required": ["amount", "frequency"]
21635
+ "sef25Required": ["amount"]
21642
21636
  }
21643
21637
  ]
21644
21638
  }
@@ -22439,44 +22433,38 @@
22439
22433
  "sef25Ref": "U1.1",
22440
22434
  "title": "Associated costs for water supply",
22441
22435
  "type": "object",
22442
- "sef25Required": ["hasCost"],
22436
+ "sef25Required": ["frequency"],
22443
22437
  "properties": {
22444
- "hasCost": {
22438
+ "frequency": {
22445
22439
  "sef25Ref": "U1.1.1",
22446
- "title": "Are there any associated costs?",
22440
+ "title": "If costs are associated, what is the payment frequency?",
22447
22441
  "type": "string",
22448
- "enum": ["Yes", "No"]
22442
+ "enum": ["Per month", "Per year", "Not applicable"]
22449
22443
  }
22450
22444
  },
22451
22445
  "discriminator": {
22452
- "propertyName": "hasCost"
22446
+ "propertyName": "frequency"
22453
22447
  },
22454
22448
  "oneOf": [
22455
22449
  {
22456
22450
  "properties": {
22457
- "hasCost": {
22458
- "enum": ["No"]
22451
+ "frequency": {
22452
+ "enum": ["Not applicable"]
22459
22453
  }
22460
22454
  }
22461
22455
  },
22462
22456
  {
22463
22457
  "properties": {
22464
- "hasCost": {
22465
- "enum": ["Yes"]
22458
+ "frequency": {
22459
+ "enum": ["Per month", "Per year"]
22466
22460
  },
22467
22461
  "amount": {
22468
22462
  "sef25Ref": "U1.1.2",
22469
22463
  "title": "Amount (£)",
22470
22464
  "type": "number"
22471
- },
22472
- "frequency": {
22473
- "sef25Ref": "U1.1.3",
22474
- "title": "Payment frequency",
22475
- "type": "string",
22476
- "enum": ["Per month", "Per year"]
22477
22465
  }
22478
22466
  },
22479
- "sef25Required": ["amount", "frequency"]
22467
+ "sef25Required": ["amount"]
22480
22468
  }
22481
22469
  ]
22482
22470
  }
@@ -23574,44 +23562,38 @@
23574
23562
  "sef25Ref": "U1.2",
23575
23563
  "title": "Associated costs for sewerage",
23576
23564
  "type": "object",
23577
- "sef25Required": ["hasCost"],
23565
+ "sef25Required": ["frequency"],
23578
23566
  "properties": {
23579
- "hasCost": {
23567
+ "frequency": {
23580
23568
  "sef25Ref": "U1.2.1",
23581
- "title": "Are there any associated costs?",
23569
+ "title": "If costs are associated, what is the payment frequency?",
23582
23570
  "type": "string",
23583
- "enum": ["Yes", "No"]
23571
+ "enum": ["Per month", "Per year", "Not applicable"]
23584
23572
  }
23585
23573
  },
23586
23574
  "discriminator": {
23587
- "propertyName": "hasCost"
23575
+ "propertyName": "frequency"
23588
23576
  },
23589
23577
  "oneOf": [
23590
23578
  {
23591
23579
  "properties": {
23592
- "hasCost": {
23593
- "enum": ["No"]
23580
+ "frequency": {
23581
+ "enum": ["Not applicable"]
23594
23582
  }
23595
23583
  }
23596
23584
  },
23597
23585
  {
23598
23586
  "properties": {
23599
- "hasCost": {
23600
- "enum": ["Yes"]
23587
+ "frequency": {
23588
+ "enum": ["Per month", "Per year"]
23601
23589
  },
23602
23590
  "amount": {
23603
23591
  "sef25Ref": "U1.2.2",
23604
23592
  "title": "Amount (£)",
23605
23593
  "type": "number"
23606
- },
23607
- "frequency": {
23608
- "sef25Ref": "U1.2.3",
23609
- "title": "Payment frequency",
23610
- "type": "string",
23611
- "enum": ["Per month", "Per year"]
23612
23594
  }
23613
23595
  },
23614
- "sef25Required": ["amount", "frequency"]
23596
+ "sef25Required": ["amount"]
23615
23597
  }
23616
23598
  ]
23617
23599
  }
@@ -1881,9 +1881,8 @@
1881
1881
  details
1882
1882
  attachments
1883
1883
  associatedCost
1884
- hasCost
1885
- amount
1886
1884
  frequency
1885
+ amount
1887
1886
  panelProviderLease
1888
1887
  yesNo
1889
1888
  details
@@ -1933,9 +1932,8 @@
1933
1932
  yesNo
1934
1933
  details
1935
1934
  associatedCost
1936
- hasCost
1937
- amount
1938
1935
  frequency
1936
+ amount
1939
1937
  supplier
1940
1938
  stopcock
1941
1939
  location
@@ -1993,9 +1991,8 @@
1993
1991
  attachments
1994
1992
  details
1995
1993
  associatedCost
1996
- hasCost
1997
- amount
1998
1994
  frequency
1995
+ amount
1999
1996
  surfaceDrainageCharge
2000
1997
  yesNo
2001
1998
  details
@@ -351,43 +351,40 @@
351
351
  "associatedCost": {
352
352
  "sef25Ref": "S1.1",
353
353
  "discriminator": {
354
- "propertyName": "hasCost"
354
+ "propertyName": "frequency"
355
355
  },
356
356
  "oneOf": [
357
357
  {
358
358
  "properties": {
359
- "hasCost": {
359
+ "frequency": {
360
360
  "enum": [
361
- "No"
361
+ "Not applicable"
362
362
  ]
363
363
  }
364
364
  }
365
365
  },
366
366
  {
367
367
  "properties": {
368
- "hasCost": {
368
+ "frequency": {
369
369
  "enum": [
370
- "Yes"
370
+ "Per month",
371
+ "Per year"
371
372
  ]
372
373
  },
373
374
  "amount": {
374
375
  "sef25Ref": "S1.1.2"
375
- },
376
- "frequency": {
377
- "sef25Ref": "S1.1.3"
378
376
  }
379
377
  },
380
378
  "required": [
381
- "amount",
382
- "frequency"
379
+ "amount"
383
380
  ]
384
381
  }
385
382
  ],
386
383
  "required": [
387
- "hasCost"
384
+ "frequency"
388
385
  ],
389
386
  "properties": {
390
- "hasCost": {
387
+ "frequency": {
391
388
  "sef25Ref": "S1.1.1"
392
389
  }
393
390
  }
@@ -425,43 +422,40 @@
425
422
  "associatedCost": {
426
423
  "sef25Ref": "U1.1",
427
424
  "discriminator": {
428
- "propertyName": "hasCost"
425
+ "propertyName": "frequency"
429
426
  },
430
427
  "oneOf": [
431
428
  {
432
429
  "properties": {
433
- "hasCost": {
430
+ "frequency": {
434
431
  "enum": [
435
- "No"
432
+ "Not applicable"
436
433
  ]
437
434
  }
438
435
  }
439
436
  },
440
437
  {
441
438
  "properties": {
442
- "hasCost": {
439
+ "frequency": {
443
440
  "enum": [
444
- "Yes"
441
+ "Per month",
442
+ "Per year"
445
443
  ]
446
444
  },
447
445
  "amount": {
448
446
  "sef25Ref": "U1.1.2"
449
- },
450
- "frequency": {
451
- "sef25Ref": "U1.1.3"
452
447
  }
453
448
  },
454
449
  "required": [
455
- "amount",
456
- "frequency"
450
+ "amount"
457
451
  ]
458
452
  }
459
453
  ],
460
454
  "required": [
461
- "hasCost"
455
+ "frequency"
462
456
  ],
463
457
  "properties": {
464
- "hasCost": {
458
+ "frequency": {
465
459
  "sef25Ref": "U1.1.1"
466
460
  }
467
461
  }
@@ -486,43 +480,40 @@
486
480
  "associatedCost": {
487
481
  "sef25Ref": "U1.2",
488
482
  "discriminator": {
489
- "propertyName": "hasCost"
483
+ "propertyName": "frequency"
490
484
  },
491
485
  "oneOf": [
492
486
  {
493
487
  "properties": {
494
- "hasCost": {
488
+ "frequency": {
495
489
  "enum": [
496
- "No"
490
+ "Not applicable"
497
491
  ]
498
492
  }
499
493
  }
500
494
  },
501
495
  {
502
496
  "properties": {
503
- "hasCost": {
497
+ "frequency": {
504
498
  "enum": [
505
- "Yes"
499
+ "Per month",
500
+ "Per year"
506
501
  ]
507
502
  },
508
503
  "amount": {
509
504
  "sef25Ref": "U1.2.2"
510
- },
511
- "frequency": {
512
- "sef25Ref": "U1.2.3"
513
505
  }
514
506
  },
515
507
  "required": [
516
- "amount",
517
- "frequency"
508
+ "amount"
518
509
  ]
519
510
  }
520
511
  ],
521
512
  "required": [
522
- "hasCost"
513
+ "frequency"
523
514
  ],
524
515
  "properties": {
525
- "hasCost": {
516
+ "frequency": {
526
517
  "sef25Ref": "U1.2.1"
527
518
  }
528
519
  }
@@ -18066,43 +18066,37 @@
18066
18066
  "title": "Associated costs of leased solar panels",
18067
18067
  "type": "object",
18068
18068
  "properties": {
18069
- "hasCost": {
18070
- "title": "Are there any associated costs?",
18069
+ "frequency": {
18070
+ "title": "If costs are associated, what is the payment frequency?",
18071
18071
  "type": "string",
18072
18072
  "enum": [
18073
- "Yes",
18074
- "No"
18073
+ "Per month",
18074
+ "Per year",
18075
+ "Not applicable"
18075
18076
  ]
18076
18077
  }
18077
18078
  },
18078
18079
  "oneOf": [
18079
18080
  {
18080
18081
  "properties": {
18081
- "hasCost": {
18082
+ "frequency": {
18082
18083
  "enum": [
18083
- "No"
18084
+ "Not applicable"
18084
18085
  ]
18085
18086
  }
18086
18087
  }
18087
18088
  },
18088
18089
  {
18089
18090
  "properties": {
18090
- "hasCost": {
18091
+ "frequency": {
18091
18092
  "enum": [
18092
- "Yes"
18093
+ "Per month",
18094
+ "Per year"
18093
18095
  ]
18094
18096
  },
18095
18097
  "amount": {
18096
18098
  "title": "Amount (£)",
18097
18099
  "type": "number"
18098
- },
18099
- "frequency": {
18100
- "title": "Payment frequency",
18101
- "type": "string",
18102
- "enum": [
18103
- "Per month",
18104
- "Per year"
18105
- ]
18106
18100
  }
18107
18101
  }
18108
18102
  }
@@ -18657,43 +18651,37 @@
18657
18651
  "title": "Associated costs for water supply",
18658
18652
  "type": "object",
18659
18653
  "properties": {
18660
- "hasCost": {
18661
- "title": "Are there any associated costs?",
18654
+ "frequency": {
18655
+ "title": "If costs are associated, what is the payment frequency?",
18662
18656
  "type": "string",
18663
18657
  "enum": [
18664
- "Yes",
18665
- "No"
18658
+ "Per month",
18659
+ "Per year",
18660
+ "Not applicable"
18666
18661
  ]
18667
18662
  }
18668
18663
  },
18669
18664
  "oneOf": [
18670
18665
  {
18671
18666
  "properties": {
18672
- "hasCost": {
18667
+ "frequency": {
18673
18668
  "enum": [
18674
- "No"
18669
+ "Not applicable"
18675
18670
  ]
18676
18671
  }
18677
18672
  }
18678
18673
  },
18679
18674
  {
18680
18675
  "properties": {
18681
- "hasCost": {
18676
+ "frequency": {
18682
18677
  "enum": [
18683
- "Yes"
18678
+ "Per month",
18679
+ "Per year"
18684
18680
  ]
18685
18681
  },
18686
18682
  "amount": {
18687
18683
  "title": "Amount (£)",
18688
18684
  "type": "number"
18689
- },
18690
- "frequency": {
18691
- "title": "Payment frequency",
18692
- "type": "string",
18693
- "enum": [
18694
- "Per month",
18695
- "Per year"
18696
- ]
18697
18685
  }
18698
18686
  }
18699
18687
  }
@@ -19416,43 +19404,37 @@
19416
19404
  "title": "Associated costs for sewerage",
19417
19405
  "type": "object",
19418
19406
  "properties": {
19419
- "hasCost": {
19420
- "title": "Are there any associated costs?",
19407
+ "frequency": {
19408
+ "title": "If costs are associated, what is the payment frequency?",
19421
19409
  "type": "string",
19422
19410
  "enum": [
19423
- "Yes",
19424
- "No"
19411
+ "Per month",
19412
+ "Per year",
19413
+ "Not applicable"
19425
19414
  ]
19426
19415
  }
19427
19416
  },
19428
19417
  "oneOf": [
19429
19418
  {
19430
19419
  "properties": {
19431
- "hasCost": {
19420
+ "frequency": {
19432
19421
  "enum": [
19433
- "No"
19422
+ "Not applicable"
19434
19423
  ]
19435
19424
  }
19436
19425
  }
19437
19426
  },
19438
19427
  {
19439
19428
  "properties": {
19440
- "hasCost": {
19429
+ "frequency": {
19441
19430
  "enum": [
19442
- "Yes"
19431
+ "Per month",
19432
+ "Per year"
19443
19433
  ]
19444
19434
  },
19445
19435
  "amount": {
19446
19436
  "title": "Amount (£)",
19447
19437
  "type": "number"
19448
- },
19449
- "frequency": {
19450
- "title": "Payment frequency",
19451
- "type": "string",
19452
- "enum": [
19453
- "Per month",
19454
- "Per year"
19455
- ]
19456
19438
  }
19457
19439
  }
19458
19440
  }
@@ -2395,9 +2395,8 @@
2395
2395
  "details": "string",
2396
2396
  "attachments": "string",
2397
2397
  "associatedCost": {
2398
- "hasCost": "variant",
2399
- "amount": "number",
2400
- "frequency": "string"
2398
+ "frequency": "variant",
2399
+ "amount": "number"
2401
2400
  }
2402
2401
  },
2403
2402
  "panelProviderLease": {
@@ -2461,9 +2460,8 @@
2461
2460
  "yesNo": "variant",
2462
2461
  "details": "string",
2463
2462
  "associatedCost": {
2464
- "hasCost": "variant",
2465
- "amount": "number",
2466
- "frequency": "string"
2463
+ "frequency": "variant",
2464
+ "amount": "number"
2467
2465
  },
2468
2466
  "supplier": "string",
2469
2467
  "stopcock": {
@@ -2536,9 +2534,8 @@
2536
2534
  "details": "string"
2537
2535
  },
2538
2536
  "associatedCost": {
2539
- "hasCost": "variant",
2540
- "amount": "number",
2541
- "frequency": "string"
2537
+ "frequency": "variant",
2538
+ "amount": "number"
2542
2539
  }
2543
2540
  },
2544
2541
  "surfaceDrainageCharge": {