changedOutput schema / properties / listingTools / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "agencyFigure": {
- "const": false,
- "type": "boolean"
- },
- "basis": {
- "const": "estimate",
- "type": "string"
- },
- "buyVsRent": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "assumptions": {
- "additionalProperties": false,
- "properties": {
- "appreciationPct": {
- "type": "number"
- },
- "bellegen": {
- "const": "assumed_unused",
- "type": "string"
- },
- "bellegenCreditEur": {
- "type": "number"
- },
- "downPaymentPct": {
- "type": "number"
- },
- "maintenancePct": {
- "type": "number"
- },
- "netInvestmentReturnPct": {
- "type": "number"
- },
- "rentIncreasePct": {
- "type": "number"
- },
- "sellingCostPct": {
- "type": "number"
- }
- },
- "required": [
- "appreciationPct",
- "rentIncreasePct",
- "netInvestmentReturnPct",
- "maintenancePct",
- "sellingCostPct",
- "downPaymentPct",
- "bellegen",
- "bellegenCreditEur"
- ],
- "type": "object"
- },
- "comparisonComplete": {
- "type": "boolean"
- },
- "firstMonthOwnerOutflowEur": {
- "type": "number"
- },
- "firstMonthRenterOutflowEur": {
- "type": "number"
- },
- "horizonYears": {
- "type": "number"
- },
- "knownCostExample": {
- "additionalProperties": false,
- "properties": {
- "advantageEur": {
- "type": "number"
- },
- "ahead": {
- "enum": [
- "buy",
- "rent",
- "tie"
- ],
- "type": "string"
- },
- "aheadForGoodFromYear": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "isVerdict": {
- "const": false,
- "type": "boolean"
- },
- "kind": {
- "const": "known_costs_only_example",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "isVerdict",
- "ahead",
- "advantageEur",
- "aheadForGoodFromYear"
- ],
- "type": "object"
- },
- "mortgagePaymentMonthlyEur": {
- "type": "number"
- },
- "rate": {
- "additionalProperties": false,
- "properties": {
- "asOf": {
- "type": "string"
- },
- "fixedYears": {
- "type": "number"
- },
- "loanTermYears": {
- "type": "number"
- },
- "ratePct": {
- "type": "number"
- }
- },
- "required": [
- "ratePct",
- "fixedYears",
- "loanTermYears",
- "asOf"
- ],
- "type": "object"
- },
- "rentingAheadAboveSavingsReturnPct": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "const": "available",
- "type": "string"
- },
- "unknownComponents": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "status",
- "rate",
- "horizonYears",
- "knownCostExample",
- "comparisonComplete",
- "unknownComponents",
- "firstMonthOwnerOutflowEur",
- "firstMonthRenterOutflowEur",
- "mortgagePaymentMonthlyEur",
- "assumptions",
- "rentingAheadAboveSavingsReturnPct"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "status": {
- "const": "not_applicable",
- "type": "string"
- }
- },
- "required": [
- "status",
- "reason"
- ],
- "type": "object"
- }
- ]
- },
- "investor": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "closingCostsComplete": {
- "type": "boolean"
- },
- "comparisonComplete": {
- "type": "boolean"
- },
- "costsCovered": {
- "enum": [
- "known_costs_only",
- "all_costs"
- ],
- "type": "string"
- },
- "grossYieldAfterVacancyPct": {
- "type": "number"
- },
- "grossYieldBeforeVacancyPct": {
- "type": "number"
- },
- "monthlyCashFlowEur": {
- "type": "number"
- },
- "monthlyMortgageEur": {
- "type": "number"
- },
- "netYieldPct": {
- "type": "number"
- },
- "propertyTaxKnown": {
- "type": "boolean"
- },
- "rate": {
- "additionalProperties": false,
- "properties": {
- "asOf": {
- "type": "string"
- },
- "fixedYears": {
- "type": "number"
- },
- "loanTermYears": {
- "type": "number"
- },
- "ratePct": {
- "type": "number"
- }
- },
- "required": [
- "ratePct",
- "fixedYears",
- "loanTermYears",
- "asOf"
- ],
- "type": "object"
- },
- "status": {
- "const": "available",
- "type": "string"
- },
- "unknownComponents": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "upfrontCashNeededEur": {
- "type": "number"
- },
- "vacancyRatePct": {
- "type": "number"
- }
- },
- "required": [
- "status",
- "rate",
- "grossYieldBeforeVacancyPct",
- "grossYieldAfterVacancyPct",
- "vacancyRatePct",
- "netYieldPct",
- "monthlyCashFlowEur",
- "upfrontCashNeededEur",
- "monthlyMortgageEur",
- "costsCovered",
- "propertyTaxKnown",
- "closingCostsComplete",
- "comparisonComplete",
- "unknownComponents"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "status": {
- "const": "not_applicable",
- "type": "string"
- }
- },
- "required": [
- "status",
- "reason"
- ],
- "type": "object"
- }
- ]
- },
- "methodVersion": {
- "type": "string"
- },
- "rent": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "basis": {
- "enum": [
- "commune",
- "price_level",
- "canton",
- "national"
- ],
- "type": "string"
- },
- "canton": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "dataStatus": {
- "enum": [
- "current",
- "previous_quarter"
- ],
- "type": "string"
- },
- "monthlyRentEur": {
- "type": "number"
- },
- "quarter": {
- "type": "string"
- },
- "rentPerSqmEur": {
- "type": "number"
- },
- "snapshotDate": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "monthlyRentEur",
- "rentPerSqmEur",
- "basis",
- "canton",
- "quarter",
- "snapshotDate",
- "dataStatus"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "scenarioId": {
- "type": "string"
- },
- "schemaVersion": {
- "const": "listing-tools.v1",
- "type": "string"
- }
- },
- "required": [
- "schemaVersion",
- "basis",
- "agencyFigure",
- "methodVersion",
- "scenarioId",
- "rent",
- "buyVsRent",
- "investor"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agencyFigure": {
+ "const": false,
+ "type": "boolean"
+ },
+ "basis": {
+ "const": "estimate",
+ "type": "string"
+ },
+ "buyVsRent": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "assumptions": {
+ "additionalProperties": false,
+ "properties": {
+ "appreciationPct": {
+ "type": "number"
+ },
+ "bellegen": {
+ "const": "assumed_unused",
+ "type": "string"
+ },
+ "bellegenCreditEur": {
+ "type": "number"
+ },
+ "downPaymentPct": {
+ "type": "number"
+ },
+ "maintenancePct": {
+ "type": "number"
+ },
+ "netInvestmentReturnPct": {
+ "type": "number"
+ },
+ "rentIncreasePct": {
+ "type": "number"
+ },
+ "sellingCostPct": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "appreciationPct",
+ "rentIncreasePct",
+ "netInvestmentReturnPct",
+ "maintenancePct",
+ "sellingCostPct",
+ "downPaymentPct",
+ "bellegen",
+ "bellegenCreditEur"
+ ],
+ "type": "object"
+ },
+ "comparisonComplete": {
+ "type": "boolean"
+ },
+ "firstMonthOwnerOutflowEur": {
+ "type": "number"
+ },
+ "firstMonthRenterOutflowEur": {
+ "type": "number"
+ },
+ "horizonYears": {
+ "type": "number"
+ },
+ "knownCostExample": {
+ "additionalProperties": false,
+ "properties": {
+ "advantageEur": {
+ "type": "number"
+ },
+ "ahead": {
+ "enum": [
+ "buy",
+ "rent",
+ "tie"
+ ],
+ "type": "string"
+ },
+ "aheadForGoodFromYear": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "isVerdict": {
+ "const": false,
+ "type": "boolean"
+ },
+ "kind": {
+ "const": "known_costs_only_example",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "isVerdict",
+ "ahead",
+ "advantageEur",
+ "aheadForGoodFromYear"
+ ],
+ "type": "object"
+ },
+ "mortgagePaymentMonthlyEur": {
+ "type": "number"
+ },
+ "rate": {
+ "additionalProperties": false,
+ "properties": {
+ "asOf": {
+ "type": "string"
+ },
+ "fixedYears": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "loanTermYears": {
+ "type": "number"
+ },
+ "ratePct": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "ratePct",
+ "fixedYears",
+ "loanTermYears",
+ "asOf"
+ ],
+ "type": "object"
+ },
+ "rentingAheadAboveSavingsReturnPct": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "const": "available",
+ "type": "string"
+ },
+ "unknownComponents": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "status",
+ "rate",
+ "horizonYears",
+ "knownCostExample",
+ "comparisonComplete",
+ "unknownComponents",
+ "firstMonthOwnerOutflowEur",
+ "firstMonthRenterOutflowEur",
+ "mortgagePaymentMonthlyEur",
+ "assumptions",
+ "rentingAheadAboveSavingsReturnPct"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "status": {
+ "const": "not_applicable",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "investor": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "closingCostsComplete": {
+ "type": "boolean"
+ },
+ "comparisonComplete": {
+ "type": "boolean"
+ },
+ "costsCovered": {
+ "enum": [
+ "known_costs_only",
+ "all_costs"
+ ],
+ "type": "string"
+ },
+ "grossYieldAfterVacancyPct": {
+ "type": "number"
+ },
+ "grossYieldBeforeVacancyPct": {
+ "type": "number"
+ },
+ "monthlyCashFlowEur": {
+ "type": "number"
+ },
+ "monthlyMortgageEur": {
+ "type": "number"
+ },
+ "netYieldPct": {
+ "type": "number"
+ },
+ "propertyTaxKnown": {
+ "type": "boolean"
+ },
+ "rate": {
+ "additionalProperties": false,
+ "properties": {
+ "asOf": {
+ "type": "string"
+ },
+ "fixedYears": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "loanTermYears": {
+ "type": "number"
+ },
+ "ratePct": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "ratePct",
+ "fixedYears",
+ "loanTermYears",
+ "asOf"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "available",
+ "type": "string"
+ },
+ "unknownComponents": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "upfrontCashNeededEur": {
+ "type": "number"
+ },
+ "vacancyRatePct": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "status",
+ "rate",
+ "grossYieldBeforeVacancyPct",
+ "grossYieldAfterVacancyPct",
+ "vacancyRatePct",
+ "netYieldPct",
+ "monthlyCashFlowEur",
+ "upfrontCashNeededEur",
+ "monthlyMortgageEur",
+ "costsCovered",
+ "propertyTaxKnown",
+ "closingCostsComplete",
+ "comparisonComplete",
+ "unknownComponents"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "status": {
+ "const": "not_applicable",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "methodVersion": {
+ "type": "string"
+ },
+ "rent": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "basis": {
+ "enum": [
+ "commune",
+ "price_level",
+ "canton",
+ "national"
+ ],
+ "type": "string"
+ },
+ "canton": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "dataStatus": {
+ "enum": [
+ "current",
+ "previous_quarter"
+ ],
+ "type": "string"
+ },
+ "monthlyRentEur": {
+ "type": "number"
+ },
+ "quarter": {
+ "type": "string"
+ },
+ "rentPerSqmEur": {
+ "type": "number"
+ },
+ "snapshotDate": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "monthlyRentEur",
+ "rentPerSqmEur",
+ "basis",
+ "canton",
+ "quarter",
+ "snapshotDate",
+ "dataStatus"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "scenarioId": {
+ "type": "string"
+ },
+ "schemaVersion": {
+ "const": "listing-tools.v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "schemaVersion",
+ "basis",
+ "agencyFigure",
+ "methodVersion",
+ "scenarioId",
+ "rent",
+ "buyVsRent",
+ "investor"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]