changedOutput schema / (root)
Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "allOffers": {
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "disclaimer": {
- "description": "A disclaimer message, e.g., if the offer is an estimate.",
- "type": "string"
- },
- "fees": {
- "additionalProperties": false,
- "description": "Any fees associated with the loan.",
- "properties": {
- "origination": {
- "additionalProperties": false,
- "description": "Fee charged by the lender for processing the loan.",
- "properties": {
- "amount": {
- "additionalProperties": false,
- "description": "The origination fee amount.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "percentage": {
- "description": "The origination fee as a percentage of the loan amount.",
- "type": "number"
- }
- },
- "required": [
- "amount"
- ],
- "type": "object"
- }
- },
- "type": "object"
- },
- "isEstimate": {
- "description": "Indicates if the offer terms are an estimate and not a firm quote.",
- "type": "boolean"
- },
- "isSecureLendTenant": {
- "description": "Indicates if the offer is from a SecureLend-managed tenant.",
- "type": "boolean"
- },
- "lender": {
- "additionalProperties": false,
- "description": "Details about the lender providing the offer.",
- "properties": {
- "id": {
- "description": "The unique identifier for the lender.",
- "type": "string"
- },
- "name": {
- "description": "The display name of the lender.",
- "type": "string"
- },
- "type": {
- "description": "The type of lending institution (e.g., 'Bank', 'Credit Union').",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "type"
- ],
- "type": "object"
- },
- "matching": {
- "additionalProperties": false,
- "description": "Information about how the offer was matched.",
- "properties": {
- "matchReasons": {
- "description": "Reasons for the match score.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "matchScore": {
- "description": "A score indicating how well the offer matches the search criteria.",
- "type": "number"
- }
- },
- "type": "object"
- },
- "offerId": {
- "description": "A unique identifier for this specific loan offer.",
- "type": "string"
- },
- "process": {
- "additionalProperties": false,
- "description": "Details about the application and funding process.",
- "properties": {
- "applicationMethod": {
- "description": "How to apply for the loan.",
- "enum": [
- "online",
- "phone",
- "in_person"
- ],
- "type": "string"
- },
- "applicationUrl": {
- "description": "The URL to the online application form.",
- "format": "uri",
- "type": "string"
- },
- "fundingSpeed": {
- "additionalProperties": false,
- "description": "Information on how quickly the loan is funded.",
- "properties": {
- "description": {
- "description": "Estimated time to receive funds.",
- "type": "string"
- }
- },
- "required": [
- "description"
- ],
- "type": "object"
- }
- },
- "required": [
- "applicationMethod"
- ],
- "type": "object"
- },
- "product": {
- "additionalProperties": false,
- "description": "Details about the financial product.",
- "properties": {
- "description": {
- "description": "A brief description of the product.",
- "type": "string"
- },
- "name": {
- "description": "The name of the financial product being offered.",
- "type": "string"
- },
- "type": {
- "description": "The category of the financial product.",
- "enum": [
- "INSTALLMENT_LOAN",
- "LINE_OF_CREDIT",
- "SHORT_TERM_CREDIT",
- "BNPL",
- "MORTGAGE",
- "AUTO_LOAN",
- "AUTO_REFINANCE",
- "STUDENT_LOAN",
- "STUDENT_LOAN_REFINANCE",
- "BUSINESS_LOAN",
- "BUSINESS_BANKING",
- "BUSINESS_CREDIT_CARD",
- "PERSONAL_BANKING",
- "SAVINGS_ACCOUNT",
- "PERSONAL_CREDIT_CARD"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "type"
- ],
- "type": "object"
- },
- "terms": {
- "additionalProperties": false,
- "description": "The terms and conditions of the loan offer.",
- "properties": {
- "amount": {
- "additionalProperties": false,
- "description": "The principal loan amount.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "interestRate": {
- "additionalProperties": false,
- "description": "Details about the interest rate.",
- "properties": {
- "apr": {
- "description": "The Annual Percentage Rate, including fees.",
- "type": "number"
- },
- "rate": {
- "description": "The nominal interest rate.",
- "type": "number"
- },
- "type": {
- "description": "The type of interest rate.",
- "enum": [
- "fixed",
- "variable"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "rate",
- "apr"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "description": "Details about the repayment schedule.",
- "properties": {
- "amount": {
- "additionalProperties": false,
- "description": "The amount of each payment.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "frequency": {
- "const": "monthly",
- "description": "The frequency of payments.",
- "type": "string"
- }
- },
- "required": [
- "frequency",
- "amount"
- ],
- "type": "object"
- },
- "prepaymentPenalty": {
- "description": "Indicates if there is a penalty for early repayment.",
- "type": "boolean"
- },
- "repayment": {
- "additionalProperties": false,
- "description": "Summary of repayment details.",
- "properties": {
- "costOfFinancing": {
- "description": "The total cost of borrowing (interest and fees).",
- "type": "number"
- },
- "totalRepaymentAmount": {
- "description": "The total amount to be repaid over the life of the loan.",
- "type": "number"
- }
- },
- "required": [
- "totalRepaymentAmount",
- "costOfFinancing"
- ],
- "type": "object"
- },
- "termMonths": {
- "description": "The duration of the loan in months.",
- "type": "number"
- },
- "totalCost": {
- "additionalProperties": false,
- "description": "The total cost of the loan, including interest and fees.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- }
- },
- "required": [
- "amount",
- "interestRate",
- "termMonths"
- ],
- "type": "object"
- }
- },
- "required": [
- "offerId",
- "lender",
- "product",
- "terms",
- "process",
- "isSecureLendTenant"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bestFor": {
- "type": "string"
- },
- "cardId": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "introOffer": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "recommendedCreditScore": {
- "type": "string"
- },
- "rewardsRate": {
- "type": "string"
- },
- "terms": {
- "additionalProperties": false,
- "properties": {
- "apr": {
- "additionalProperties": false,
- "properties": {
- "balanceTransfer": {
- "type": "number"
- },
- "penalty": {
- "type": "number"
- },
- "purchase": {
- "type": "number"
- }
- },
- "required": [
- "purchase",
- "balanceTransfer"
- ],
- "type": "object"
- },
- "fees": {
- "additionalProperties": false,
- "properties": {
- "annual": {
- "type": "number"
- }
- },
- "required": [
- "annual"
- ],
- "type": "object"
- }
- },
- "required": [
- "apr",
- "fees"
- ],
- "type": "object"
- }
- },
- "required": [
- "cardId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "bestFor",
- "rewardsRate",
- "introOffer",
- "recommendedCreditScore",
- "terms"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "type": "string"
- },
- "creditScoreRange": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "terms": {
- "additionalProperties": false,
- "properties": {
- "annualFee": {
- "type": "number"
- },
- "apr": {
- "type": "number"
- },
- "creditLimit": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- }
- },
- "required": [
- "apr",
- "annualFee",
- "creditLimit"
- ],
- "type": "object"
- },
- "welcomeBonus": {
- "type": "string"
- }
- },
- "required": [
- "cardId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "creditScoreRange",
- "welcomeBonus",
- "terms"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "type": "string"
- },
- "apy": {
- "type": "string"
- },
- "bestFor": {
- "type": "string"
- },
- "bonus": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "interestRate": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "monthlyFee": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "accountId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "bestFor",
- "apy",
- "monthlyFee",
- "bonus"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "type": "string"
- },
- "apy": {
- "type": "string"
- },
- "bestFor": {
- "type": "string"
- },
- "bonus": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "interestRate": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "monthlyFee": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "overdraftRating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "accountId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "bestFor",
- "apy",
- "bonus",
- "monthlyFee",
- "overdraftRating"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "type": "string"
- },
- "apy": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "interestRate": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "minBalanceForApy": {
- "type": "string"
- },
- "monthlyFee": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "accountId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "apy",
- "minBalanceForApy",
- "monthlyFee"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "offer": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "disclaimer": {
- "description": "A disclaimer message, e.g., if the offer is an estimate.",
- "type": "string"
- },
- "fees": {
- "additionalProperties": false,
- "description": "Any fees associated with the loan.",
- "properties": {
- "origination": {
- "additionalProperties": false,
- "description": "Fee charged by the lender for processing the loan.",
- "properties": {
- "amount": {
- "additionalProperties": false,
- "description": "The origination fee amount.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "percentage": {
- "description": "The origination fee as a percentage of the loan amount.",
- "type": "number"
- }
- },
- "required": [
- "amount"
- ],
- "type": "object"
- }
- },
- "type": "object"
- },
- "isEstimate": {
- "description": "Indicates if the offer terms are an estimate and not a firm quote.",
- "type": "boolean"
- },
- "isSecureLendTenant": {
- "description": "Indicates if the offer is from a SecureLend-managed tenant.",
- "type": "boolean"
- },
- "lender": {
- "additionalProperties": false,
- "description": "Details about the lender providing the offer.",
- "properties": {
- "id": {
- "description": "The unique identifier for the lender.",
- "type": "string"
- },
- "name": {
- "description": "The display name of the lender.",
- "type": "string"
- },
- "type": {
- "description": "The type of lending institution (e.g., 'Bank', 'Credit Union').",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "type"
- ],
- "type": "object"
- },
- "matching": {
- "additionalProperties": false,
- "description": "Information about how the offer was matched.",
- "properties": {
- "matchReasons": {
- "description": "Reasons for the match score.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "matchScore": {
- "description": "A score indicating how well the offer matches the search criteria.",
- "type": "number"
- }
- },
- "type": "object"
- },
- "offerId": {
- "description": "A unique identifier for this specific loan offer.",
- "type": "string"
- },
- "process": {
- "additionalProperties": false,
- "description": "Details about the application and funding process.",
- "properties": {
- "applicationMethod": {
- "description": "How to apply for the loan.",
- "enum": [
- "online",
- "phone",
- "in_person"
- ],
- "type": "string"
- },
- "applicationUrl": {
- "description": "The URL to the online application form.",
- "format": "uri",
- "type": "string"
- },
- "fundingSpeed": {
- "additionalProperties": false,
- "description": "Information on how quickly the loan is funded.",
- "properties": {
- "description": {
- "description": "Estimated time to receive funds.",
- "type": "string"
- }
- },
- "required": [
- "description"
- ],
- "type": "object"
- }
- },
- "required": [
- "applicationMethod"
- ],
- "type": "object"
- },
- "product": {
- "additionalProperties": false,
- "description": "Details about the financial product.",
- "properties": {
- "description": {
- "description": "A brief description of the product.",
- "type": "string"
- },
- "name": {
- "description": "The name of the financial product being offered.",
- "type": "string"
- },
- "type": {
- "description": "The category of the financial product.",
- "enum": [
- "INSTALLMENT_LOAN",
- "LINE_OF_CREDIT",
- "SHORT_TERM_CREDIT",
- "BNPL",
- "MORTGAGE",
- "AUTO_LOAN",
- "AUTO_REFINANCE",
- "STUDENT_LOAN",
- "STUDENT_LOAN_REFINANCE",
- "BUSINESS_LOAN",
- "BUSINESS_BANKING",
- "BUSINESS_CREDIT_CARD",
- "PERSONAL_BANKING",
- "SAVINGS_ACCOUNT",
- "PERSONAL_CREDIT_CARD"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "type"
- ],
- "type": "object"
- },
- "terms": {
- "additionalProperties": false,
- "description": "The terms and conditions of the loan offer.",
- "properties": {
- "amount": {
- "additionalProperties": false,
- "description": "The principal loan amount.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "interestRate": {
- "additionalProperties": false,
- "description": "Details about the interest rate.",
- "properties": {
- "apr": {
- "description": "The Annual Percentage Rate, including fees.",
- "type": "number"
- },
- "rate": {
- "description": "The nominal interest rate.",
- "type": "number"
- },
- "type": {
- "description": "The type of interest rate.",
- "enum": [
- "fixed",
- "variable"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "rate",
- "apr"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "description": "Details about the repayment schedule.",
- "properties": {
- "amount": {
- "additionalProperties": false,
- "description": "The amount of each payment.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "frequency": {
- "const": "monthly",
- "description": "The frequency of payments.",
- "type": "string"
- }
- },
- "required": [
- "frequency",
- "amount"
- ],
- "type": "object"
- },
- "prepaymentPenalty": {
- "description": "Indicates if there is a penalty for early repayment.",
- "type": "boolean"
- },
- "repayment": {
- "additionalProperties": false,
- "description": "Summary of repayment details.",
- "properties": {
- "costOfFinancing": {
- "description": "The total cost of borrowing (interest and fees).",
- "type": "number"
- },
- "totalRepaymentAmount": {
- "description": "The total amount to be repaid over the life of the loan.",
- "type": "number"
- }
- },
- "required": [
- "totalRepaymentAmount",
- "costOfFinancing"
- ],
- "type": "object"
- },
- "termMonths": {
- "description": "The duration of the loan in months.",
- "type": "number"
- },
- "totalCost": {
- "additionalProperties": false,
- "description": "The total cost of the loan, including interest and fees.",
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- }
- },
- "required": [
- "amount",
- "interestRate",
- "termMonths"
- ],
- "type": "object"
- }
- },
- "required": [
- "offerId",
- "lender",
- "product",
- "terms",
- "process",
- "isSecureLendTenant"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bestFor": {
- "type": "string"
- },
- "cardId": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "introOffer": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "recommendedCreditScore": {
- "type": "string"
- },
- "rewardsRate": {
- "type": "string"
- },
- "terms": {
- "additionalProperties": false,
- "properties": {
- "apr": {
- "additionalProperties": false,
- "properties": {
- "balanceTransfer": {
- "type": "number"
- },
- "penalty": {
- "type": "number"
- },
- "purchase": {
- "type": "number"
- }
- },
- "required": [
- "purchase",
- "balanceTransfer"
- ],
- "type": "object"
- },
- "fees": {
- "additionalProperties": false,
- "properties": {
- "annual": {
- "type": "number"
- }
- },
- "required": [
- "annual"
- ],
- "type": "object"
- }
- },
- "required": [
- "apr",
- "fees"
- ],
- "type": "object"
- }
- },
- "required": [
- "cardId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "bestFor",
- "rewardsRate",
- "introOffer",
- "recommendedCreditScore",
- "terms"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "type": "string"
- },
- "creditScoreRange": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "terms": {
- "additionalProperties": false,
- "properties": {
- "annualFee": {
- "type": "number"
- },
- "apr": {
- "type": "number"
- },
- "creditLimit": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- }
- },
- "required": [
- "apr",
- "annualFee",
- "creditLimit"
- ],
- "type": "object"
- },
- "welcomeBonus": {
- "type": "string"
- }
- },
- "required": [
- "cardId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "creditScoreRange",
- "welcomeBonus",
- "terms"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "type": "string"
- },
- "apy": {
- "type": "string"
- },
- "bestFor": {
- "type": "string"
- },
- "bonus": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "interestRate": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "monthlyFee": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "accountId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "bestFor",
- "apy",
- "monthlyFee",
- "bonus"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "type": "string"
- },
- "apy": {
- "type": "string"
- },
- "bestFor": {
- "type": "string"
- },
- "bonus": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "interestRate": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "monthlyFee": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "overdraftRating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "accountId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "bestFor",
- "apy",
- "bonus",
- "monthlyFee",
- "overdraftRating"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountId": {
- "type": "string"
- },
- "apy": {
- "type": "string"
- },
- "imageUrl": {
- "type": "string"
- },
- "interestRate": {
- "type": "string"
- },
- "issuer": {
- "type": "string"
- },
- "minBalanceForApy": {
- "type": "string"
- },
- "monthlyFee": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "rating": {
- "maximum": 5,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "accountId",
- "name",
- "issuer",
- "imageUrl",
- "rating",
- "apy",
- "minBalanceForApy",
- "monthlyFee"
- ],
- "type": "object"
- }
- ]
- },
- "productType": {
- "type": "string"
- }
- },
- "required": [
- "offer",
- "allOffers",
- "productType"
- ],
- "type": "object"
-}New value: +null