{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/main/json-schema/adyen-delete-legal-arrangement-request-schema.json", "title": "DeleteLegalArrangementRequest", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/adyen-deletelegalarrangements-api-openapi.yml#/components/schemas/DeleteLegalArrangementRequest", "properties": { "accountHolderCode": { "description": "The code of the account holder.", "type": "string" }, "legalArrangements": { "description": "List of legal arrangements.", "items": { "$ref": "#/$defs/LegalArrangementRequest" }, "type": "array" } }, "required": [ "accountHolderCode", "legalArrangements" ], "type": "object", "$defs": { "LegalArrangementRequest": { "properties": { "legalArrangementCode": { "description": "The code of the legal arrangement to be deleted. If you also send `legalArrangementEntityCodes`, only the entities listed will be deleted.", "type": "string" }, "legalArrangementEntityCodes": { "description": "List of legal arrangement entities to be deleted.", "items": { "type": "string" }, "type": "array" } }, "required": [ "legalArrangementCode" ], "type": "object" } } }