{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LegalDocument",
"type": "object",
"description": "Legal document that is required for KYC.",
"properties": {
"id": {
"type": "string",
"description": "ID of legal document.
**Conditional Mandatory*** field - Required when legal document type is provided."
},
"placeOfIssuance": {
"type": "string",
"description": "Place of issuance of legal document
**Conditional Mandatory*** field - Required when legal document id is provided and configured in document checklist plan associated with program."
},
"expiryDate": {
"type": "string",
"description": "Date on which the legal document will expire.
**Conditional Mandatory*** field - Required when legal document id is provided and configured in document checklist plan associated with program.
Format - It is expressed in ISO 8601 - `YYYY-MM-DD`"
}
}
}