Skip to content

Commit

Permalink
Merge next to master at v3.1.0 (#174)
Browse files Browse the repository at this point in the history
* 166 missing discriminator properties in items inside arrays (#168)

* Simplify TA10 structure, fix extractOverlay to handle discriminator in array items, correct planOnlyIndicator boolean

* Fix TA10 enums

* Bump version to release 3.0.1

* Remove "None" as accessibilityAndAdaptations option (#169)

* Remove "None" as accessibilityAndAdaptations option

* Bump to 3.0.2-1

* Add support for MI for lettings and NTS-L overlay (#171)

* Add support for MI for lettings and NTS-L overlay

* Add more transaction statuses, bump version

* Fix holding deposit title and building safety description typo, bump version

* AccessibiityAndAdaptations no longer required, as it can be empty, bump version

* Add missing ntslRequireds, bump version

* Missing NTSL Required

* Bump to v3.1.0
  • Loading branch information
edmolyneux authored Mar 15, 2024
1 parent 0c33394 commit ff9eaa8
Show file tree
Hide file tree
Showing 16 changed files with 4,385 additions and 7,878 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const overlaysMap = {
fme1ed2: require("./src/schemas/v3/overlays/fme1.json"),
llc1v2: require("./src/schemas/v3/overlays/llc1.json"),
nts2023: require("./src/schemas/v3/overlays/nts.json"),
ntsl2023: require("./src/schemas/v3/overlays/ntsl.json"),
con29R2019: require("./src/schemas/v3/overlays/con29R.json"),
con29DW: require("./src/schemas/v3/overlays/con29DW.json"),
rdsV333: require("./src/schemas/v3/overlays/rds.json"),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pdtf/schemas",
"version": "3.0.0",
"version": "3.1.0",
"description": "Property Data Trust Framework Schemas and Utilities",
"main": "index.js",
"directories": {
Expand Down
8 changes: 6 additions & 2 deletions src/examples/v3/exampleTransaction.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://trust.propdata.org.uk/schemas/v3/pdtf-transaction.json",
"transactionId": "3e4666bf-d5e5-4aa7-b8ce-cefe41c7568a",
"status": "active",
"status": "For sale",
"participants": [
{
"name": {
Expand Down Expand Up @@ -40,6 +40,10 @@
"postcode": "AL3 5AF"
},
"localAuthority": { "localAuthorityName": "Neverland Hook" },
"priceInformation": {
"price": 1260000,
"priceQualifier": "Offers in excess of"
},
"buildInformation": {
"building": { "propertyType": "House", "builtForm": "Detached" },
"roomDimensions": {
Expand Down Expand Up @@ -728,7 +732,7 @@
"documentDetails": {
"document": {
"entryNumber": ["B3", "C2", "C3", "C4"],
"planOnlyIndicator": "false",
"planOnlyIndicator": false,
"registerDescription": "Charge",
"documentType": "50",
"documentDate": "2020-11-03"
Expand Down
Loading

0 comments on commit ff9eaa8

Please sign in to comment.