{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CardReplacement", "title": "CardReplacement", "type": "object", "properties": { "status": { "type": "string", "description": "The status of the CardReplacement.", "readOnly": false, "writeOnly": false }, "address_main": { "type": "object", "description": "The user's main address.", "readOnly": false, "writeOnly": true, "$ref": "#/components/schemas/Address" }, "address_postal": { "type": "object", "description": "The user's postal address.", "readOnly": false, "writeOnly": true, "$ref": "#/components/schemas/Address" }, "card_id": { "type": "integer", "description": "The original card that belongs to the CardReplacement.", "readOnly": true, "writeOnly": false }, "card_new_id": { "type": "integer", "description": "The new card that replaces the original card in the CardReplacement.", "readOnly": true, "writeOnly": false } } }