@pdtf/schemas 3.6.0-dev.19 → 3.6.0-dev.21

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.
@@ -243,6 +243,29 @@
243
243
  "title": "Reference",
244
244
  "type": "string"
245
245
  },
246
+ "did": {
247
+ "title": "Participant DID",
248
+ "description": "Decentralised Identifier for this party - the primary way to identify them. Unlike participantId it is global and stable: the same person carries the same DID across transactions, and across two entries in one transaction where they are both buying and selling. Minted when the party is created, so it should always be present.",
249
+ "type": "string",
250
+ "pattern": "^did:[a-z0-9]+:(?:(?:[a-zA-Z0-9._-]|%[0-9A-Fa-f]{2})*:)*(?:[a-zA-Z0-9._-]|%[0-9A-Fa-f]{2})+$"
251
+ },
252
+ "participantId": {
253
+ "title": "Participant id",
254
+ "description": "Transaction-local identifier for this participant, for implementations that do not mint DIDs. Prefer did. Referencing by array position is unsafe because participants may be added or removed.",
255
+ "type": "string",
256
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
257
+ },
258
+ "actingFor": {
259
+ "title": "Acting for",
260
+ "description": "The parties this participant is instructed by, for example the sellers a conveyancer acts for, identified by their did or - where no DID is minted - their participantId. One entry per represented party: a conveyancer instructed jointly by two sellers lists both, and sellers who instruct separate conveyancers appear as separate representatives each acting for one of them. A conveyancer is instructed by a person, not by an offer - the offer link is participants[].offerId.",
261
+ "type": "array",
262
+ "items": {
263
+ "title": "Represented party",
264
+ "description": "did, or participantId, of a party this participant is instructed by",
265
+ "type": "string",
266
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
267
+ }
268
+ },
246
269
  "role": {
247
270
  "ta6ed6Ref": "1",
248
271
  "ta6ed6v2Ref": "1",
@@ -1287,6 +1310,12 @@
1287
1310
  "baspi4Required": ["mediaUrl"],
1288
1311
  "baspi5Required": ["mediaUrl"],
1289
1312
  "properties": {
1313
+ "mediaId": {
1314
+ "title": "Media id",
1315
+ "description": "Stable identifier for this media item within the transaction. Array position is not a safe reference: media is added, removed and re-ordered independently by different parties.",
1316
+ "type": "string",
1317
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
1318
+ },
1290
1319
  "mediaType": {
1291
1320
  "title": "Type of media",
1292
1321
  "type": "string",
@@ -33424,6 +33453,12 @@
33424
33453
  "type": "object",
33425
33454
  "required": ["name", "signedOn"],
33426
33455
  "properties": {
33456
+ "signatureId": {
33457
+ "title": "Signature id",
33458
+ "description": "Stable identifier for this signature within the transaction. Array position is not a safe reference: signatories sign independently and in any order.",
33459
+ "type": "string",
33460
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
33461
+ },
33427
33462
  "name": {
33428
33463
  "sr24Ref": "1.3.1",
33429
33464
  "title": "Name of signatory",
@@ -46096,6 +46131,12 @@
46096
46131
  "items": {
46097
46132
  "type": "object",
46098
46133
  "properties": {
46134
+ "searchId": {
46135
+ "title": "Search id",
46136
+ "description": "Stable identifier for this search within the transaction. Array position is not a safe reference: searches are ordered and updated independently by different parties.",
46137
+ "type": "string",
46138
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
46139
+ },
46099
46140
  "displayName": {
46100
46141
  "title": "Human-readable name of instructed search product",
46101
46142
  "type": "string",
@@ -46182,6 +46223,12 @@
46182
46223
  "items": {
46183
46224
  "type": "object",
46184
46225
  "properties": {
46226
+ "documentId": {
46227
+ "title": "Document id",
46228
+ "description": "Stable identifier for this document within the transaction. Array position is not a safe reference: documents are added, removed and re-ordered independently by different parties.",
46229
+ "type": "string",
46230
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
46231
+ },
46185
46232
  "displayName": {
46186
46233
  "title": "Human-readable name of document",
46187
46234
  "type": "string",
@@ -46243,6 +46290,12 @@
46243
46290
  "items": {
46244
46291
  "type": "object",
46245
46292
  "properties": {
46293
+ "surveyId": {
46294
+ "title": "Survey id",
46295
+ "description": "Stable identifier for this survey within the transaction. Array position is not a safe reference: a property may be surveyed more than once, by different parties.",
46296
+ "type": "string",
46297
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
46298
+ },
46246
46299
  "outside": {
46247
46300
  "type": "object",
46248
46301
  "properties": {
@@ -48968,6 +49021,12 @@
48968
49021
  "items": {
48969
49022
  "type": "object",
48970
49023
  "properties": {
49024
+ "contractId": {
49025
+ "title": "Contract id",
49026
+ "description": "Stable identifier for this contract within the transaction. Array position is not a safe reference: contracts are added and superseded independently by different parties.",
49027
+ "type": "string",
49028
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
49029
+ },
48971
49030
  "contract": {
48972
49031
  "type": "object",
48973
49032
  "required": ["template", "terms"],
@@ -49048,6 +49107,12 @@
49048
49107
  "type": "object",
49049
49108
  "required": ["name", "signedOn", "role", "contractHash"],
49050
49109
  "properties": {
49110
+ "signatureId": {
49111
+ "title": "Signature id",
49112
+ "description": "Stable identifier for this signature within the contract. Array position is not a safe reference: signatories sign independently and in any order.",
49113
+ "type": "string",
49114
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
49115
+ },
49051
49116
  "name": {
49052
49117
  "type": "string"
49053
49118
  },
@@ -49495,6 +49560,56 @@
49495
49560
  }
49496
49561
  }
49497
49562
  },
49563
+ "metadata": {
49564
+ "title": "Offer metadata",
49565
+ "description": "Flexible container for vendor-specific metadata items relating to this offer, keyed by vendor namespace (e.g. /offers/{id}/metadata/Moverly/lenderCompatibilityAnalysis). Values may be strings, numbers, booleans or nested objects. Paths are addressable up to three levels below metadata (e.g. /offers/{id}/metadata/vendor/item/field).",
49566
+ "type": "object",
49567
+ "patternProperties": {
49568
+ ".*": {
49569
+ "oneOf": [
49570
+ {
49571
+ "type": "string"
49572
+ },
49573
+ {
49574
+ "type": "number"
49575
+ },
49576
+ {
49577
+ "type": "boolean"
49578
+ },
49579
+ {
49580
+ "type": "object",
49581
+ "patternProperties": {
49582
+ ".*": {
49583
+ "oneOf": [
49584
+ {
49585
+ "type": "string"
49586
+ },
49587
+ {
49588
+ "type": "number"
49589
+ },
49590
+ {
49591
+ "type": "boolean"
49592
+ },
49593
+ {
49594
+ "type": "array"
49595
+ },
49596
+ {
49597
+ "type": "null"
49598
+ },
49599
+ {
49600
+ "type": "object",
49601
+ "patternProperties": {
49602
+ ".*": {}
49603
+ }
49604
+ }
49605
+ ]
49606
+ }
49607
+ }
49608
+ }
49609
+ ]
49610
+ }
49611
+ }
49612
+ },
49498
49613
  "buyerCircumstances": {
49499
49614
  "title": "Buyer circumstances",
49500
49615
  "description": "Information about the buyer's circumstances for lender compatibility analysis and conveyancing quotes",
@@ -49545,6 +49660,52 @@
49545
49660
  "type": "string",
49546
49661
  "title": "Requires mortgage",
49547
49662
  "enum": ["Yes", "No"]
49663
+ },
49664
+ "isAdditionalProperty": {
49665
+ "type": "boolean",
49666
+ "title": "Additional property purchase",
49667
+ "description": "Whether the buyer already owns residential property (SDLT higher rates apply)"
49668
+ },
49669
+ "hasPets": {
49670
+ "type": "boolean",
49671
+ "title": "Buyer has pets",
49672
+ "description": "Relevant to lease and covenant pet restriction assessment"
49673
+ },
49674
+ "intendsSublet": {
49675
+ "type": "boolean",
49676
+ "title": "Buyer intends to sublet",
49677
+ "description": "Relevant to lease and covenant subletting restriction assessment"
49678
+ },
49679
+ "subletType": {
49680
+ "type": "string",
49681
+ "title": "Type of subletting intended",
49682
+ "enum": ["AST", "Lodger", "Airbnb", "HMO", "Company let", "Other"]
49683
+ },
49684
+ "intendsBusiness": {
49685
+ "type": "boolean",
49686
+ "title": "Buyer intends business use",
49687
+ "description": "Relevant to covenant and lease business-use restriction assessment"
49688
+ },
49689
+ "businessType": {
49690
+ "type": "string",
49691
+ "title": "Type of business intended"
49692
+ },
49693
+ "intendsAlterations": {
49694
+ "type": "boolean",
49695
+ "title": "Buyer intends significant alterations",
49696
+ "description": "Relevant to covenant, planning and building regulations assessment"
49697
+ },
49698
+ "financingMethod": {
49699
+ "type": "string",
49700
+ "title": "Primary financing method",
49701
+ "description": "How the purchase is funded, distinct from intendedUse (how the property will be used)",
49702
+ "enum": [
49703
+ "Mortgage",
49704
+ "Cash",
49705
+ "Shared ownership",
49706
+ "Help to Buy",
49707
+ "Right to Buy"
49708
+ ]
49548
49709
  }
49549
49710
  },
49550
49711
  "discriminator": {
@@ -49668,7 +49829,13 @@
49668
49829
  },
49669
49830
  "nominatedLender": {
49670
49831
  "type": "string",
49671
- "title": "Nominated lender"
49832
+ "title": "Nominated lender",
49833
+ "description": "The nominated lender's name as entered or selected"
49834
+ },
49835
+ "nominatedLenderHandbookId": {
49836
+ "type": "string",
49837
+ "title": "Nominated lender (UK Finance Handbook id)",
49838
+ "description": "The nominated lender's identifier in the UK Finance Mortgage Lenders' Handbook, e.g. nationwide-building-society, so lender requirements can be looked up without matching on name"
49672
49839
  }
49673
49840
  }
49674
49841
  }
@@ -26,6 +26,9 @@
26
26
  countryCode
27
27
  organisation
28
28
  organisationReference
29
+ did
30
+ participantId
31
+ actingFor[]
29
32
  role
30
33
  externalIds{*}
31
34
  participantStatus
@@ -125,6 +128,7 @@
125
128
  summaryDescription
126
129
  marketingTenure
127
130
  media[
131
+ mediaId
128
132
  mediaType
129
133
  mediaUrl
130
134
  caption
@@ -2712,6 +2716,7 @@
2712
2716
  authorisedToActOnBehalfOfAllSellers
2713
2717
  authorisationToShare
2714
2718
  sellerSignatures[
2719
+ signatureId
2715
2720
  name
2716
2721
  signedOn
2717
2722
  externalIds{*}
@@ -3670,6 +3675,7 @@
3670
3675
  covenantAnalysis
3671
3676
  ]
3672
3677
  searches[
3678
+ searchId
3673
3679
  displayName
3674
3680
  productCode
3675
3681
  providerName
@@ -3681,6 +3687,7 @@
3681
3687
  reportDate
3682
3688
  ]
3683
3689
  documents[
3690
+ documentId
3684
3691
  displayName
3685
3692
  fileName
3686
3693
  mimeType
@@ -3690,6 +3697,7 @@
3690
3697
  summary
3691
3698
  ]
3692
3699
  surveys[
3700
+ surveyId
3693
3701
  outside
3694
3702
  chimneyStacks
3695
3703
  condition
@@ -4430,6 +4438,7 @@
4430
4438
  credibilitySources[]
4431
4439
  pricingMethodology
4432
4440
  contracts[
4441
+ contractId
4433
4442
  contract
4434
4443
  template
4435
4444
  name
@@ -4441,6 +4450,7 @@
4441
4450
  ]
4442
4451
  terms
4443
4452
  signatures[
4453
+ signatureId
4444
4454
  name
4445
4455
  signedOn
4446
4456
  externalIds{*}
@@ -4495,6 +4505,7 @@
4495
4505
  exclusions[]
4496
4506
  conditions[]
4497
4507
  externalIds{*}
4508
+ metadata{*}
4498
4509
  buyerCircumstances
4499
4510
  intendedUse
4500
4511
  firstTimeBuyer
@@ -4505,6 +4516,14 @@
4505
4516
  giftedEquity
4506
4517
  numberOfGiftedDeposits
4507
4518
  requiresMortgage
4519
+ isAdditionalProperty
4520
+ hasPets
4521
+ intendsSublet
4522
+ subletType
4523
+ intendsBusiness
4524
+ businessType
4525
+ intendsAlterations
4526
+ financingMethod
4508
4527
  helpToBuyEquityLoan
4509
4528
  armedForcesHelpToBuy
4510
4529
  numberOfHelpToBuyIsas
@@ -4524,6 +4543,7 @@
4524
4543
  annualIncome
4525
4544
  residencyStatus
4526
4545
  nominatedLender
4546
+ nominatedLenderHandbookId
4527
4547
  enquiries{*}
4528
4548
  subject
4529
4549
  status
@@ -233,6 +233,29 @@
233
233
  "title": "Reference",
234
234
  "type": "string"
235
235
  },
236
+ "did": {
237
+ "title": "Participant DID",
238
+ "description": "Decentralised Identifier for this party - the primary way to identify them. Unlike participantId it is global and stable: the same person carries the same DID across transactions, and across two entries in one transaction where they are both buying and selling. Minted when the party is created, so it should always be present.",
239
+ "type": "string",
240
+ "pattern": "^did:[a-z0-9]+:(?:(?:[a-zA-Z0-9._-]|%[0-9A-Fa-f]{2})*:)*(?:[a-zA-Z0-9._-]|%[0-9A-Fa-f]{2})+$"
241
+ },
242
+ "participantId": {
243
+ "title": "Participant id",
244
+ "description": "Transaction-local identifier for this participant, for implementations that do not mint DIDs. Prefer did. Referencing by array position is unsafe because participants may be added or removed.",
245
+ "type": "string",
246
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
247
+ },
248
+ "actingFor": {
249
+ "title": "Acting for",
250
+ "description": "The parties this participant is instructed by, for example the sellers a conveyancer acts for, identified by their did or - where no DID is minted - their participantId. One entry per represented party: a conveyancer instructed jointly by two sellers lists both, and sellers who instruct separate conveyancers appear as separate representatives each acting for one of them. A conveyancer is instructed by a person, not by an offer - the offer link is participants[].offerId.",
251
+ "type": "array",
252
+ "items": {
253
+ "title": "Represented party",
254
+ "description": "did, or participantId, of a party this participant is instructed by",
255
+ "type": "string",
256
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
257
+ }
258
+ },
236
259
  "role": {
237
260
  "title": "Role",
238
261
  "type": "string",
@@ -950,6 +973,12 @@
950
973
  "items": {
951
974
  "type": "object",
952
975
  "properties": {
976
+ "mediaId": {
977
+ "title": "Media id",
978
+ "description": "Stable identifier for this media item within the transaction. Array position is not a safe reference: media is added, removed and re-ordered independently by different parties.",
979
+ "type": "string",
980
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
981
+ },
953
982
  "mediaType": {
954
983
  "title": "Type of media",
955
984
  "type": "string",
@@ -25972,6 +26001,12 @@
25972
26001
  "signedOn"
25973
26002
  ],
25974
26003
  "properties": {
26004
+ "signatureId": {
26005
+ "title": "Signature id",
26006
+ "description": "Stable identifier for this signature within the transaction. Array position is not a safe reference: signatories sign independently and in any order.",
26007
+ "type": "string",
26008
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
26009
+ },
25975
26010
  "name": {
25976
26011
  "title": "Name of signatory",
25977
26012
  "type": "string",
@@ -38082,6 +38117,12 @@
38082
38117
  "items": {
38083
38118
  "type": "object",
38084
38119
  "properties": {
38120
+ "searchId": {
38121
+ "title": "Search id",
38122
+ "description": "Stable identifier for this search within the transaction. Array position is not a safe reference: searches are ordered and updated independently by different parties.",
38123
+ "type": "string",
38124
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
38125
+ },
38085
38126
  "displayName": {
38086
38127
  "title": "Human-readable name of instructed search product",
38087
38128
  "type": "string",
@@ -38172,6 +38213,12 @@
38172
38213
  "items": {
38173
38214
  "type": "object",
38174
38215
  "properties": {
38216
+ "documentId": {
38217
+ "title": "Document id",
38218
+ "description": "Stable identifier for this document within the transaction. Array position is not a safe reference: documents are added, removed and re-ordered independently by different parties.",
38219
+ "type": "string",
38220
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
38221
+ },
38175
38222
  "displayName": {
38176
38223
  "title": "Human-readable name of document",
38177
38224
  "type": "string",
@@ -38233,6 +38280,12 @@
38233
38280
  "items": {
38234
38281
  "type": "object",
38235
38282
  "properties": {
38283
+ "surveyId": {
38284
+ "title": "Survey id",
38285
+ "description": "Stable identifier for this survey within the transaction. Array position is not a safe reference: a property may be surveyed more than once, by different parties.",
38286
+ "type": "string",
38287
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
38288
+ },
38236
38289
  "outside": {
38237
38290
  "type": "object",
38238
38291
  "properties": {
@@ -40973,6 +41026,12 @@
40973
41026
  "items": {
40974
41027
  "type": "object",
40975
41028
  "properties": {
41029
+ "contractId": {
41030
+ "title": "Contract id",
41031
+ "description": "Stable identifier for this contract within the transaction. Array position is not a safe reference: contracts are added and superseded independently by different parties.",
41032
+ "type": "string",
41033
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
41034
+ },
40976
41035
  "contract": {
40977
41036
  "type": "object",
40978
41037
  "required": [
@@ -41065,6 +41124,12 @@
41065
41124
  "contractHash"
41066
41125
  ],
41067
41126
  "properties": {
41127
+ "signatureId": {
41128
+ "title": "Signature id",
41129
+ "description": "Stable identifier for this signature within the contract. Array position is not a safe reference: signatories sign independently and in any order.",
41130
+ "type": "string",
41131
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
41132
+ },
41068
41133
  "name": {
41069
41134
  "type": "string"
41070
41135
  },
@@ -41522,6 +41587,56 @@
41522
41587
  }
41523
41588
  }
41524
41589
  },
41590
+ "metadata": {
41591
+ "title": "Offer metadata",
41592
+ "description": "Flexible container for vendor-specific metadata items relating to this offer, keyed by vendor namespace (e.g. /offers/{id}/metadata/Moverly/lenderCompatibilityAnalysis). Values may be strings, numbers, booleans or nested objects. Paths are addressable up to three levels below metadata (e.g. /offers/{id}/metadata/vendor/item/field).",
41593
+ "type": "object",
41594
+ "patternProperties": {
41595
+ ".*": {
41596
+ "oneOf": [
41597
+ {
41598
+ "type": "string"
41599
+ },
41600
+ {
41601
+ "type": "number"
41602
+ },
41603
+ {
41604
+ "type": "boolean"
41605
+ },
41606
+ {
41607
+ "type": "object",
41608
+ "patternProperties": {
41609
+ ".*": {
41610
+ "oneOf": [
41611
+ {
41612
+ "type": "string"
41613
+ },
41614
+ {
41615
+ "type": "number"
41616
+ },
41617
+ {
41618
+ "type": "boolean"
41619
+ },
41620
+ {
41621
+ "type": "array"
41622
+ },
41623
+ {
41624
+ "type": "null"
41625
+ },
41626
+ {
41627
+ "type": "object",
41628
+ "patternProperties": {
41629
+ ".*": {}
41630
+ }
41631
+ }
41632
+ ]
41633
+ }
41634
+ }
41635
+ }
41636
+ ]
41637
+ }
41638
+ }
41639
+ },
41525
41640
  "buyerCircumstances": {
41526
41641
  "title": "Buyer circumstances",
41527
41642
  "description": "Information about the buyer's circumstances for lender compatibility analysis and conveyancing quotes",
@@ -41575,6 +41690,59 @@
41575
41690
  "Yes",
41576
41691
  "No"
41577
41692
  ]
41693
+ },
41694
+ "isAdditionalProperty": {
41695
+ "type": "boolean",
41696
+ "title": "Additional property purchase",
41697
+ "description": "Whether the buyer already owns residential property (SDLT higher rates apply)"
41698
+ },
41699
+ "hasPets": {
41700
+ "type": "boolean",
41701
+ "title": "Buyer has pets",
41702
+ "description": "Relevant to lease and covenant pet restriction assessment"
41703
+ },
41704
+ "intendsSublet": {
41705
+ "type": "boolean",
41706
+ "title": "Buyer intends to sublet",
41707
+ "description": "Relevant to lease and covenant subletting restriction assessment"
41708
+ },
41709
+ "subletType": {
41710
+ "type": "string",
41711
+ "title": "Type of subletting intended",
41712
+ "enum": [
41713
+ "AST",
41714
+ "Lodger",
41715
+ "Airbnb",
41716
+ "HMO",
41717
+ "Company let",
41718
+ "Other"
41719
+ ]
41720
+ },
41721
+ "intendsBusiness": {
41722
+ "type": "boolean",
41723
+ "title": "Buyer intends business use",
41724
+ "description": "Relevant to covenant and lease business-use restriction assessment"
41725
+ },
41726
+ "businessType": {
41727
+ "type": "string",
41728
+ "title": "Type of business intended"
41729
+ },
41730
+ "intendsAlterations": {
41731
+ "type": "boolean",
41732
+ "title": "Buyer intends significant alterations",
41733
+ "description": "Relevant to covenant, planning and building regulations assessment"
41734
+ },
41735
+ "financingMethod": {
41736
+ "type": "string",
41737
+ "title": "Primary financing method",
41738
+ "description": "How the purchase is funded, distinct from intendedUse (how the property will be used)",
41739
+ "enum": [
41740
+ "Mortgage",
41741
+ "Cash",
41742
+ "Shared ownership",
41743
+ "Help to Buy",
41744
+ "Right to Buy"
41745
+ ]
41578
41746
  }
41579
41747
  },
41580
41748
  "required": [
@@ -41708,7 +41876,13 @@
41708
41876
  },
41709
41877
  "nominatedLender": {
41710
41878
  "type": "string",
41711
- "title": "Nominated lender"
41879
+ "title": "Nominated lender",
41880
+ "description": "The nominated lender's name as entered or selected"
41881
+ },
41882
+ "nominatedLenderHandbookId": {
41883
+ "type": "string",
41884
+ "title": "Nominated lender (UK Finance Handbook id)",
41885
+ "description": "The nominated lender's identifier in the UK Finance Mortgage Lenders' Handbook, e.g. nationwide-building-society, so lender requirements can be looked up without matching on name"
41712
41886
  }
41713
41887
  }
41714
41888
  }