{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/upvest/refs/heads/main/json-schema/investment-api-tax-residency-schema.json", "title": "TaxResidency", "description": "A tax residency record for a user.", "type": "object", "properties": { "id": { "type": "string", "format": "uuid", "description": "The unique identifier.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "country": { "type": "string", "description": "The country of tax residency as an ISO 3166-1 alpha-2 code.", "pattern": "^[A-Z]{2}$", "example": "DE" }, "tax_identification_number": { "type": "string", "description": "The tax identification number in the given country.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "created_at": { "type": "string", "format": "date-time", "description": "When the record was created.", "example": "2025-03-15T14:30:00Z" } } }