{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/interest", "title": "interest", "properties": { "accrual_payout_schedule": { "$ref": "#/components/schemas/accrual_payout_schedule" }, "calculation_method": { "$ref": "#/components/schemas/calculation_method" }, "description": { "description": "User provided description for the current interest.", "example": "The rate is designed for high interest saving account.", "type": "string" }, "id": { "description": "Interest ID", "format": "uuid", "readOnly": true, "type": "string" }, "product_type": { "enum": [ "INTEREST", "FEE" ], "type": "string" }, "rates": { "$ref": "#/components/schemas/rates" } }, "required": [ "product_type", "calculation_method", "rates", "accrual_payout_schedule" ], "type": "object" }