@pdtf/schemas 3.6.0-10 → 3.6.0-11

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.
@@ -87,12 +87,44 @@
87
87
  "properties": {
88
88
  "typeOfLeasehold": {
89
89
  "ta7Ref": "1.1",
90
+ "discriminator": {
91
+ "propertyName": "leaseholdType"
92
+ },
93
+ "oneOf": [
94
+ {
95
+ "properties": {
96
+ "leaseholdType": {
97
+ "enum": [
98
+ "Flat",
99
+ "Shared ownership",
100
+ "Long leasehold house",
101
+ "Maisonette",
102
+ "Leasehold garage"
103
+ ]
104
+ }
105
+ }
106
+ },
107
+ {
108
+ "properties": {
109
+ "leaseholdType": {
110
+ "enum": [
111
+ "Other"
112
+ ]
113
+ }
114
+ }
115
+ }
116
+ ],
90
117
  "required": [
91
118
  "leaseholdType"
92
119
  ],
93
120
  "properties": {
94
121
  "leaseholdType": {
95
- "ta7Ref": "1.1.1"
122
+ "ta7Ref": "1.1.1",
123
+ "enum": [
124
+ "Flat",
125
+ "Shared ownership",
126
+ "Long leasehold house"
127
+ ]
96
128
  }
97
129
  }
98
130
  },
@@ -843,7 +875,11 @@
843
875
  ],
844
876
  "properties": {
845
877
  "yesNo": {
846
- "ta7Ref": "8.1.1"
878
+ "ta7Ref": "8.1.1",
879
+ "enum": [
880
+ "Yes",
881
+ "No"
882
+ ]
847
883
  }
848
884
  }
849
885
  },
@@ -883,7 +919,11 @@
883
919
  ],
884
920
  "properties": {
885
921
  "yesNo": {
886
- "ta7Ref": "8.2.1"
922
+ "ta7Ref": "8.2.1",
923
+ "enum": [
924
+ "Yes",
925
+ "No"
926
+ ]
887
927
  }
888
928
  }
889
929
  }