{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sgpdirectory-com/json-schema/sgpdirectory-com-entity-shareholder-schema.json",
  "title": "EntityShareholder",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/sgpdirectory-com-api-openapi.json#/components/schemas/EntityShareholder",
  "type": "object",
  "properties": {
    "shareholder_name": {
      "type": "string",
      "description": "Full legal name of the shareholder"
    },
    "shareholder_nationality": {
      "type": "string",
      "description": "Nationality of the shareholder (e.g., SINGAPOREAN)"
    },
    "share_type": {
      "type": "string",
      "description": "Class of shares held (e.g., ORDINARY, PREFERENCE)"
    },
    "share_percentage": {
      "type": "number",
      "description": "Percentage of total shares held (0–100)"
    },
    "appointment_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date the shares were acquired (YYYY-MM-DD)"
    },
    "cessation_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Date the shareholding ended, null if current (YYYY-MM-DD)"
    },
    "appointment_status": {
      "type": "string",
      "description": "Current holding status (e.g., Active, Ceased)"
    },
    "is_corporate": {
      "type": "boolean",
      "description": "True if the shareholder is a corporate entity rather than an individual"
    },
    "corporate_uen": {
      "type": "string",
      "description": "UEN of the corporate shareholder, present only when is_corporate is true"
    },
    "corporate_country": {
      "type": "string",
      "description": "Country of incorporation of the corporate shareholder"
    }
  },
  "required": [
    "shareholder_name"
  ],
  "additionalProperties": false
}