{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/methodfi/main/json-schema/methodfi-update-entity-consent-request-schema.json", "title": "UpdateEntityConsentRequest", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/methodfi-entity-consent-api-openapi.yml#/components/schemas/UpdateEntityConsentRequest", "type": "object", "required": [ "type" ], "properties": { "type": { "type": "string", "description": "The consent action type.", "enum": [ "grant", "withdraw" ] }, "reason": { "type": "string", "description": "Optional reason for the consent action." } } }