@pdtf/schemas 3.2.1-13 → 3.2.1-14

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.2.1-13",
3
+ "version": "3.2.1-14",
4
4
  "description": "Property Data Trust Framework Schemas and Utilities",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -985,7 +985,13 @@
985
985
  "url": "https://example.com/example-agency-agreement",
986
986
  "externalIds": {
987
987
  "Moverly": "file123"
988
- }
988
+ },
989
+ "requiredSignatories": [
990
+ {
991
+ "role": "Seller",
992
+ "requiresAll": true
993
+ }
994
+ ]
989
995
  },
990
996
  "terms": {
991
997
  "propertyAddress": "123 Maple Street, London, SW1A 1AA",
@@ -39328,12 +39328,38 @@
39328
39328
  "properties": {
39329
39329
  "template": {
39330
39330
  "type": "object",
39331
- "required": ["name", "url"],
39331
+ "required": ["name", "url", "requiredSignatories"],
39332
39332
  "properties": {
39333
39333
  "name": { "type": "string" },
39334
39334
  "url": { "type": "string", "format": "uri" },
39335
39335
  "externalIds": {
39336
39336
  "type": "object"
39337
+ },
39338
+ "requiredSignatories": {
39339
+ "type": "array",
39340
+ "items": {
39341
+ "type": "object",
39342
+ "properties": {
39343
+ "role": {
39344
+ "type": "string",
39345
+ "enum": [
39346
+ "Seller",
39347
+ "Seller's Conveyancer",
39348
+ "Prospective Buyer",
39349
+ "Buyer",
39350
+ "Buyer's Conveyancer",
39351
+ "Estate Agent",
39352
+ "Buyer's Agent",
39353
+ "Surveyor",
39354
+ "Mortgage Broker",
39355
+ "Lender",
39356
+ "Landlord",
39357
+ "Tenant"
39358
+ ]
39359
+ },
39360
+ "requiresAll": { "type": "boolean" }
39361
+ }
39362
+ }
39337
39363
  }
39338
39364
  }
39339
39365
  },
@@ -34137,7 +34137,8 @@
34137
34137
  "type": "object",
34138
34138
  "required": [
34139
34139
  "name",
34140
- "url"
34140
+ "url",
34141
+ "requiredSignatories"
34141
34142
  ],
34142
34143
  "properties": {
34143
34144
  "name": {
@@ -34149,6 +34150,34 @@
34149
34150
  },
34150
34151
  "externalIds": {
34151
34152
  "type": "object"
34153
+ },
34154
+ "requiredSignatories": {
34155
+ "type": "array",
34156
+ "items": {
34157
+ "type": "object",
34158
+ "properties": {
34159
+ "role": {
34160
+ "type": "string",
34161
+ "enum": [
34162
+ "Seller",
34163
+ "Seller's Conveyancer",
34164
+ "Prospective Buyer",
34165
+ "Buyer",
34166
+ "Buyer's Conveyancer",
34167
+ "Estate Agent",
34168
+ "Buyer's Agent",
34169
+ "Surveyor",
34170
+ "Mortgage Broker",
34171
+ "Lender",
34172
+ "Landlord",
34173
+ "Tenant"
34174
+ ]
34175
+ },
34176
+ "requiresAll": {
34177
+ "type": "boolean"
34178
+ }
34179
+ }
34180
+ }
34152
34181
  }
34153
34182
  }
34154
34183
  },
@@ -4101,7 +4101,11 @@
4101
4101
  "template": {
4102
4102
  "name": {},
4103
4103
  "url": {},
4104
- "externalIds": {}
4104
+ "externalIds": {},
4105
+ "requiredSignatories": {
4106
+ "role": {},
4107
+ "requiresAll": {}
4108
+ }
4105
4109
  },
4106
4110
  "terms": {}
4107
4111
  },