{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PurchaseInfo", "title": "PurchaseInfo", "properties": { "date": { "description": "Date of the purchase.", "type": "string" }, "merchantName": { "description": "Name of the merchant.", "type": "string" }, "originalAmount": { "description": "Amount of the purchase.", "$ref": "#/components/schemas/Amount" } }, "required": [ "merchantName", "date", "originalAmount" ], "type": "object" }