{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-schema/legal-entity-owner-entity-schema.json", "title": "OwnerEntity", "description": "OwnerEntity schema from Adyen API", "type": "object", "properties": { "id": { "description": "Unique identifier of the resource that owns the document. For `type` **legalEntity**, this value is the unique identifier of the [legal entity](https://docs.adyen.com/api-explorer/legalentity/latest/post/legalEntities#responses-200-id). For `type` **bankAccount**, this value is the unique identifier of the [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id).", "type": "string" }, "type": { "description": "Type of resource that owns the document.\n\nPossible values: **legalEntity**, **bankAccount**.", "type": "string" } }, "required": [ "id", "type" ] }