{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/upvest/refs/heads/main/json-structure/investment-api-corporate-action-structure.json", "name": "CorporateAction", "description": "A corporate action event such as a dividend, split, or merger.", "type": "object", "properties": { "id": { "type": "uuid", "description": "The corporate action identifier.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "instrument_id": { "type": "uuid", "description": "The instrument affected.", "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }, "type": { "type": "string", "enum": [ "DIVIDEND", "SPLIT", "MERGER", "RIGHTS_ISSUE" ], "description": "The type of corporate action.", "example": "DIVIDEND" }, "status": { "type": "string", "enum": [ "ANNOUNCED", "PROCESSED" ], "description": "The corporate action status.", "example": "ANNOUNCED" }, "record_date": { "type": "date", "description": "The record date for the corporate action.", "example": "2025-03-15" }, "ex_date": { "type": "date", "description": "The ex-date for the corporate action.", "example": "2025-03-15" }, "created_at": { "type": "datetime", "description": "When the event was recorded.", "example": "2025-03-15T14:30:00Z" } } }