@pdtf/schemas 3.0.3-1 → 3.0.3-2

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.
@@ -215,7 +215,6 @@
215
215
  "ownershipsToBeTransferred": {
216
216
  "baspiRef": "A1.3",
217
217
  "items": {
218
- "baspiRef": "A1.3.0",
219
218
  "discriminator": {
220
219
  "propertyName": "ownershipType"
221
220
  },
@@ -1036,6 +1035,7 @@
1036
1035
  ]
1037
1036
  }
1038
1037
  ],
1038
+ "baspiRef": "A1.3.0",
1039
1039
  "required": [
1040
1040
  "ownershipType"
1041
1041
  ],
@@ -5909,7 +5909,6 @@
5909
5909
  "namesOfLegalOwners": {
5910
5910
  "baspiRef": "B1.1",
5911
5911
  "items": {
5912
- "baspiRef": "B1.1",
5913
5912
  "discriminator": {
5914
5913
  "propertyName": "ownerType"
5915
5914
  },
@@ -5952,6 +5951,7 @@
5952
5951
  ]
5953
5952
  }
5954
5953
  ],
5954
+ "baspiRef": "B1.1",
5955
5955
  "required": [
5956
5956
  "ownerType"
5957
5957
  ],
@@ -2876,7 +2876,7 @@
2876
2876
  "yesNo"
2877
2877
  ]
2878
2878
  },
2879
- "lheLocalAuthorityReceivedANoticeOfDisposal": {
2879
+ "theLocalAuthorityReceivedANoticeOfDisposal": {
2880
2880
  "con29RRef": "3.15(b)(ii)",
2881
2881
  "discriminator": {
2882
2882
  "propertyName": "yesNo"
@@ -236,7 +236,6 @@
236
236
  "ownershipsToBeTransferred": {
237
237
  "ntsRef": "A3",
238
238
  "items": {
239
- "ntsRef": "A3.1",
240
239
  "discriminator": {
241
240
  "propertyName": "ownershipType"
242
241
  },
@@ -547,6 +546,7 @@
547
546
  ]
548
547
  }
549
548
  ],
549
+ "ntsRef": "A3.1",
550
550
  "required": [
551
551
  "ownershipType"
552
552
  ],
@@ -2427,7 +2427,32 @@
2427
2427
  "legalOwners": {
2428
2428
  "properties": {
2429
2429
  "namesOfLegalOwners": {
2430
- "piqRef": "B1.1"
2430
+ "piqRef": "B1.1",
2431
+ "items": {
2432
+ "discriminator": {
2433
+ "propertyName": "ownerType"
2434
+ },
2435
+ "oneOf": [
2436
+ {
2437
+ "properties": {
2438
+ "ownerType": {
2439
+ "enum": [
2440
+ "Private individual"
2441
+ ]
2442
+ }
2443
+ }
2444
+ },
2445
+ {
2446
+ "properties": {
2447
+ "ownerType": {
2448
+ "enum": [
2449
+ "Organisation"
2450
+ ]
2451
+ }
2452
+ }
2453
+ }
2454
+ ]
2455
+ }
2431
2456
  }
2432
2457
  }
2433
2458
  },
@@ -2665,7 +2665,32 @@
2665
2665
  "legalOwners": {
2666
2666
  "properties": {
2667
2667
  "namesOfLegalOwners": {
2668
- "rdsRef": "RightsHolders"
2668
+ "rdsRef": "RightsHolders",
2669
+ "items": {
2670
+ "discriminator": {
2671
+ "propertyName": "ownerType"
2672
+ },
2673
+ "oneOf": [
2674
+ {
2675
+ "properties": {
2676
+ "ownerType": {
2677
+ "enum": [
2678
+ "Private individual"
2679
+ ]
2680
+ }
2681
+ }
2682
+ },
2683
+ {
2684
+ "properties": {
2685
+ "ownerType": {
2686
+ "enum": [
2687
+ "Organisation"
2688
+ ]
2689
+ }
2690
+ }
2691
+ }
2692
+ ]
2693
+ }
2669
2694
  }
2670
2695
  }
2671
2696
  },