@pdtf/schemas 3.5.1-9 → 3.6.0-10
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/.claude/settings.local.json +6 -1
- package/index.js +12 -0
- package/package.json +3 -2
- package/src/schemas/v3/combined.json +569 -15
- package/src/schemas/v3/compactSkeleton.txt +75 -8
- package/src/schemas/v3/overlays/baspi4.json +3 -0
- package/src/schemas/v3/overlays/baspi5.json +3 -0
- package/src/schemas/v3/overlays/piq.json +3 -0
- package/src/schemas/v3/overlays/rds.json +3 -0
- package/src/schemas/v3/pdtf-transaction.json +658 -16
- package/src/schemas/v3/skeleton.json +117 -10
- package/src/tests/v3/buyerCircumstances.test.js +543 -0
- package/src/tests/v3/enquiries.test.js +1096 -0
- package/src/tests/v3/offers.test.js +37 -40
- package/src/tests/v3/patternProperties.test.js +149 -30
- package/src/utils/extractOverlay.js +37 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
transactionId
|
|
2
|
-
externalIds
|
|
2
|
+
externalIds{*}
|
|
3
3
|
status
|
|
4
4
|
participants[
|
|
5
5
|
name
|
|
@@ -26,10 +26,11 @@
|
|
|
26
26
|
organisation
|
|
27
27
|
organisationReference
|
|
28
28
|
role
|
|
29
|
-
externalIds
|
|
29
|
+
externalIds{*}
|
|
30
30
|
participantStatus
|
|
31
31
|
verification
|
|
32
32
|
identity
|
|
33
|
+
status
|
|
33
34
|
result
|
|
34
35
|
reports[
|
|
35
36
|
reportName
|
|
@@ -37,6 +38,15 @@
|
|
|
37
38
|
details
|
|
38
39
|
]
|
|
39
40
|
antiMoneyLaundering
|
|
41
|
+
status
|
|
42
|
+
result
|
|
43
|
+
reports[
|
|
44
|
+
reportName
|
|
45
|
+
result
|
|
46
|
+
details
|
|
47
|
+
]
|
|
48
|
+
sourceOfFunds
|
|
49
|
+
status
|
|
40
50
|
result
|
|
41
51
|
reports[
|
|
42
52
|
reportName
|
|
@@ -198,6 +208,8 @@
|
|
|
198
208
|
ownership
|
|
199
209
|
numberOfSellers
|
|
200
210
|
numberOfNonUkResidentSellers
|
|
211
|
+
outstandingMortgage
|
|
212
|
+
existingLender
|
|
201
213
|
hasHelpToBuyEquityLoan
|
|
202
214
|
isFirstRegistration
|
|
203
215
|
isLimitedCompanySale
|
|
@@ -2240,6 +2252,14 @@
|
|
|
2240
2252
|
doubleGlazing
|
|
2241
2253
|
yesNo
|
|
2242
2254
|
attachments
|
|
2255
|
+
fensaCertificates
|
|
2256
|
+
certificates[
|
|
2257
|
+
certificateId
|
|
2258
|
+
numberOfWindows
|
|
2259
|
+
numberOfDoors
|
|
2260
|
+
certificateIssued
|
|
2261
|
+
workCompleted
|
|
2262
|
+
]
|
|
2243
2263
|
electricalRepairOrInstallation
|
|
2244
2264
|
yesNo
|
|
2245
2265
|
attachments
|
|
@@ -2312,7 +2332,7 @@
|
|
|
2312
2332
|
sellerSignatures[
|
|
2313
2333
|
name
|
|
2314
2334
|
signedOn
|
|
2315
|
-
externalIds
|
|
2335
|
+
externalIds{*}
|
|
2316
2336
|
]
|
|
2317
2337
|
localSearches
|
|
2318
2338
|
localLandCharges[
|
|
@@ -3276,8 +3296,9 @@
|
|
|
3276
3296
|
fileName
|
|
3277
3297
|
mimeType
|
|
3278
3298
|
documentType
|
|
3279
|
-
externalIds
|
|
3299
|
+
externalIds{*}
|
|
3280
3300
|
isDeleted
|
|
3301
|
+
summary
|
|
3281
3302
|
]
|
|
3282
3303
|
surveys[
|
|
3283
3304
|
outside
|
|
@@ -4024,7 +4045,7 @@
|
|
|
4024
4045
|
template
|
|
4025
4046
|
name
|
|
4026
4047
|
url
|
|
4027
|
-
externalIds
|
|
4048
|
+
externalIds{*}
|
|
4028
4049
|
requiredSignatories[
|
|
4029
4050
|
role
|
|
4030
4051
|
requiresAll
|
|
@@ -4033,13 +4054,13 @@
|
|
|
4033
4054
|
signatures[
|
|
4034
4055
|
name
|
|
4035
4056
|
signedOn
|
|
4036
|
-
externalIds
|
|
4057
|
+
externalIds{*}
|
|
4037
4058
|
]
|
|
4038
4059
|
]
|
|
4039
4060
|
chain
|
|
4040
4061
|
onwardPurchase[
|
|
4041
4062
|
transactionId
|
|
4042
|
-
externalIds
|
|
4063
|
+
externalIds{*}
|
|
4043
4064
|
address
|
|
4044
4065
|
buildingNumber
|
|
4045
4066
|
buildingName
|
|
@@ -4077,4 +4098,50 @@
|
|
|
4077
4098
|
started
|
|
4078
4099
|
expected
|
|
4079
4100
|
completed
|
|
4080
|
-
offers
|
|
4101
|
+
offers{*}
|
|
4102
|
+
amount
|
|
4103
|
+
currency
|
|
4104
|
+
status
|
|
4105
|
+
inclusions[]
|
|
4106
|
+
exclusions[]
|
|
4107
|
+
conditions[]
|
|
4108
|
+
externalIds{*}
|
|
4109
|
+
buyerCircumstances
|
|
4110
|
+
intendedUse
|
|
4111
|
+
firstTimeBuyer
|
|
4112
|
+
rightToBuy
|
|
4113
|
+
ltdCompanyPurchase
|
|
4114
|
+
numberOfOwners
|
|
4115
|
+
numberOfExpats
|
|
4116
|
+
giftedEquity
|
|
4117
|
+
numberOfGiftedDeposits
|
|
4118
|
+
requiresMortgage
|
|
4119
|
+
helpToBuyEquityLoan
|
|
4120
|
+
armedForcesHelpToBuy
|
|
4121
|
+
numberOfHelpToBuyIsas
|
|
4122
|
+
bridgingFinanceRepresentation
|
|
4123
|
+
depositAmount
|
|
4124
|
+
loanToValue
|
|
4125
|
+
numberOfBorrowers
|
|
4126
|
+
jointProprietorSoleMortgagor
|
|
4127
|
+
soleProprietorJointMortgagor
|
|
4128
|
+
deedOfPostponement
|
|
4129
|
+
separateRepresentation
|
|
4130
|
+
oldestBorrowerAge
|
|
4131
|
+
mortgageTerm
|
|
4132
|
+
adverseCredit
|
|
4133
|
+
employmentType
|
|
4134
|
+
existingMortgagedProperties
|
|
4135
|
+
annualIncome
|
|
4136
|
+
residencyStatus
|
|
4137
|
+
nominatedLender
|
|
4138
|
+
enquiries{*}
|
|
4139
|
+
subject
|
|
4140
|
+
status
|
|
4141
|
+
messages{*}
|
|
4142
|
+
datetime
|
|
4143
|
+
originatorRole
|
|
4144
|
+
destinationRole
|
|
4145
|
+
messageText
|
|
4146
|
+
externalIds{*}
|
|
4147
|
+
resolutionCondition
|