@dynamatix/gb-schemas 0.6.3 → 0.7.0

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.
@@ -25,11 +25,11 @@ const companySchema = new mongoose.Schema({
25
25
  yearEnd2: { type: Number }, // e.g., 2022
26
26
  yearEnd3: { type: Number }, // e.g., 2023
27
27
  sicCodes: [{ type: String, default: "" }], // e.g., "12345"
28
- EPC: { type: String, default: "" }, // e.g., "A"
29
- Tenure: { type: String, default: "" }, // e.g., "Leasehold"
30
- RemainingLease: { type: String, default: "" }, // e.g., "85 years"
31
- DateOfIncorporation: { type: Date }, // e.g., "2010-06-15"
32
- ExistingMortgage: {type: Number } // e.g., "2"
28
+ epc: { type: String, default: "" }, // e.g., "A"
29
+ tenure: { type: String, default: "" }, // e.g., "Leasehold"
30
+ remainingLease: { type: String, default: "" }, // e.g., "85 years"
31
+ dateOfIncorporation: { type: Date }, // e.g., "2010-06-15"
32
+ existingMortgage: {type: Number } // e.g., "2"
33
33
  });
34
34
  const ApplicationCompanyModel = mongoose.model("ApplicationCompany", companySchema);
35
35
  export default ApplicationCompanyModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamatix/gb-schemas",
3
- "version": "0.6.3",
3
+ "version": "0.7.0",
4
4
  "description": "All the schemas for gatehouse bank back-end",
5
5
  "main": "index.js",
6
6
  "scripts": {