changedInput schema / properties / prepayment / oneOf
Previous value: -[
- {
- "description": "Yield maintenance.",
- "properties": {
- "basis": {
- "default": "pv_of_payments",
- "description": "pv_of_payments (default): premium = PV of the remaining scheduled payments at the discount rate − balance. rate_differential: premium = PV of (note rate − discount rate) ÷ 12 × scheduled balance for each remaining month.",
- "enum": [
- "pv_of_payments",
- "rate_differential"
- ],
- "type": "string"
- },
- "discount_convention": {
- "default": "monthly",
- "description": "Compounding convention for the discount rate. monthly (default): monthly rate = annual ÷ 12. semiannual: annual is a bond-equivalent yield, monthly rate = (1 + annual ÷ 2)^(1/6) − 1. Lenders differ; read the note.",
- "enum": [
- "monthly",
- "semiannual"
- ],
- "type": "string"
- },
- "minimum_pct": {
- "default": 0.01,
- "description": "Minimum premium as a fraction of the balance, e.g. 0.01 for a 1% floor (default). 0 for no floor.",
- "exclusiveMaximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "spread_annual": {
- "default": 0,
- "description": "Spread added to the Treasury yield for discounting, e.g. 0.005 when the note says 'Treasury plus 50 basis points'. Default 0 (Treasury flat).",
- "exclusiveMaximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "treasury_rate_annual": {
- "description": "Yield on the reference Treasury (usually the one maturing closest to the loan's maturity), e.g. 0.041.",
- "exclusiveMaximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "type": {
- "const": "yield_maintenance",
- "type": "string"
- }
- },
- "required": [
- "type",
- "treasury_rate_annual"
- ],
- "type": "object"
- },
- {
- "description": "Step-down (declining percentage) premium.",
- "properties": {
- "loan_month": {
- "description": "Loan month (1 = first month after origination) in which the payoff occurs.",
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "schedule": {
- "description": "Step-down schedule in ascending through_month order, e.g. 5-4-3-2-1. After the last through_month the loan is open (0%).",
- "items": {
- "properties": {
- "pct": {
- "description": "Premium as a fraction of the balance, e.g. 0.05 for 5%.",
- "exclusiveMaximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "through_month": {
- "description": "Last loan month in which this percentage applies.",
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "through_month",
- "pct"
- ],
- "type": "object"
- },
- "maxItems": 1200,
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "step_down",
- "type": "string"
- }
- },
- "required": [
- "type",
- "loan_month",
- "schedule"
- ],
- "type": "object"
- },
- {
- "description": "Flat percentage premium.",
- "properties": {
- "pct": {
- "description": "Premium as a fraction of the balance, e.g. 0.02.",
- "exclusiveMaximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "type": {
- "const": "fixed_pct",
- "type": "string"
- }
- },
- "required": [
- "type",
- "pct"
- ],
- "type": "object"
- },
- {
- "description": "Defeasance: buy securities that replicate the remaining payments.",
- "properties": {
- "costs": {
- "default": 0,
- "description": "Stated transaction costs, USD: defeasance consultant, legal, accountant, rating agency, servicer and custodian fees.",
- "minimum": 0,
- "type": "number"
- },
- "discount_convention": {
- "default": "monthly",
- "description": "Compounding convention for the discount rate. monthly (default): monthly rate = annual ÷ 12. semiannual: annual is a bond-equivalent yield, monthly rate = (1 + annual ÷ 2)^(1/6) − 1. Lenders differ; read the note.",
- "enum": [
- "monthly",
- "semiannual"
- ],
- "type": "string"
- },
- "replacement_yield": {
- "anyOf": [
- {
- "description": "One flat annual yield for all replacement securities.",
- "exclusiveMaximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "Yield curve as a step function: each payment uses the first point whose months ≥ its month; beyond the last point, the last rate.",
- "items": {
- "properties": {
- "months": {
- "description": "Months from the payoff date up to and including which this yield applies; points in ascending order.",
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "rate": {
- "description": "Annual yield on replacement securities maturing at or before that month, e.g. 0.042.",
- "exclusiveMaximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "months",
- "rate"
- ],
- "type": "object"
- },
- "maxItems": 1200,
- "minItems": 1,
- "type": "array"
- }
- ],
- "description": "Yield on the government securities bought to fund the remaining payments: a flat annual rate, or a list of {months, rate} points."
- },
- "type": {
- "const": "defeasance",
- "type": "string"
- }
- },
- "required": [
- "type",
- "replacement_yield"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "Yield maintenance.",
+ "properties": {
+ "basis": {
+ "default": "pv_of_payments",
+ "description": "pv_of_payments (default): premium = PV of the remaining scheduled payments at the discount rate − balance. rate_differential: premium = PV of (note rate − discount rate) ÷ 12 × scheduled balance for each remaining month.",
+ "enum": [
+ "pv_of_payments",
+ "rate_differential"
+ ],
+ "type": "string"
+ },
+ "discount_convention": {
+ "default": "monthly",
+ "description": "Compounding convention for the discount rate. monthly (default): monthly rate = annual ÷ 12. semiannual: annual is a bond-equivalent yield, monthly rate = (1 + annual ÷ 2)^(1/6) − 1. Lenders differ; read the note.",
+ "enum": [
+ "monthly",
+ "semiannual"
+ ],
+ "type": "string"
+ },
+ "minimum_pct": {
+ "default": 0.01,
+ "description": "Minimum premium as a fraction of the balance, e.g. 0.01 for a 1% floor (default). 0 for no floor. Must be less than 1.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "spread_annual": {
+ "default": 0,
+ "description": "Spread added to the Treasury yield for discounting, e.g. 0.005 when the note says 'Treasury plus 50 basis points'. Default 0 (Treasury flat). Must be less than 1.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "treasury_rate_annual": {
+ "description": "Yield on the reference Treasury (usually the one maturing closest to the loan's maturity), e.g. 0.041. Must be less than 1.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "const": "yield_maintenance",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "treasury_rate_annual"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Step-down (declining percentage) premium.",
+ "properties": {
+ "loan_month": {
+ "description": "Loan month (1 = first month after origination) in which the payoff occurs.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "schedule": {
+ "description": "Step-down schedule in ascending through_month order, e.g. 5-4-3-2-1. After the last through_month the loan is open (0%).",
+ "items": {
+ "properties": {
+ "pct": {
+ "description": "Premium as a fraction of the balance, e.g. 0.05 for 5%. Must be less than 1.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "through_month": {
+ "description": "Last loan month in which this percentage applies.",
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "through_month",
+ "pct"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1200,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "step_down",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "loan_month",
+ "schedule"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Flat percentage premium.",
+ "properties": {
+ "pct": {
+ "description": "Premium as a fraction of the balance, e.g. 0.02. Must be less than 1.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "const": "fixed_pct",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "pct"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Defeasance: buy securities that replicate the remaining payments.",
+ "properties": {
+ "costs": {
+ "default": 0,
+ "description": "Stated transaction costs, USD: defeasance consultant, legal, accountant, rating agency, servicer and custodian fees.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "discount_convention": {
+ "default": "monthly",
+ "description": "Compounding convention for the discount rate. monthly (default): monthly rate = annual ÷ 12. semiannual: annual is a bond-equivalent yield, monthly rate = (1 + annual ÷ 2)^(1/6) − 1. Lenders differ; read the note.",
+ "enum": [
+ "monthly",
+ "semiannual"
+ ],
+ "type": "string"
+ },
+ "replacement_yield": {
+ "anyOf": [
+ {
+ "description": "One flat annual yield for all replacement securities. Must be less than 1.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "Yield curve as a step function: each payment uses the first point whose months ≥ its month; beyond the last point, the last rate.",
+ "items": {
+ "properties": {
+ "months": {
+ "description": "Months from the payoff date up to and including which this yield applies; points in ascending order.",
+ "minimum": 1,
+ "type": "integer"
+ },
+ "rate": {
+ "description": "Annual yield on replacement securities maturing at or before that month, e.g. 0.042. Must be less than 1.",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "months",
+ "rate"
+ ],
+ "type": "object"
+ },
+ "maxItems": 1200,
+ "minItems": 1,
+ "type": "array"
+ }
+ ],
+ "description": "Yield on the government securities bought to fund the remaining payments: a flat annual rate, or a list of {months, rate} points."
+ },
+ "type": {
+ "const": "defeasance",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "replacement_yield"
+ ],
+ "type": "object"
+ }
+]