{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-buyside-enterprise-solutions/json-schema/bloomberg-buyside-enterprise-solutions-corporate-actions-response-schema.json",
  "title": "CorporateActionsResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-buyside-enterprise-solutions-corporate-actions-api-openapi.yml#/components/schemas/CorporateActionsResponse",
  "type": "object",
  "properties": {
    "securities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "security": {
            "type": "string",
            "description": "Security identifier"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/$defs/CorporateAction"
            }
          }
        }
      }
    }
  },
  "$defs": {
    "CorporateAction": {
      "type": "object",
      "properties": {
        "actionType": {
          "type": "string",
          "description": "Type of corporate action"
        },
        "announcementDate": {
          "type": "string",
          "format": "date",
          "description": "Date the action was announced"
        },
        "effectiveDate": {
          "type": "string",
          "format": "date",
          "description": "Effective date of the action"
        },
        "recordDate": {
          "type": "string",
          "format": "date",
          "description": "Record date for the action"
        },
        "paymentDate": {
          "type": "string",
          "format": "date",
          "description": "Payment date (for dividends)"
        },
        "amount": {
          "type": "number",
          "description": "Amount associated with the action (e.g., dividend per share)"
        },
        "currency": {
          "type": "string",
          "description": "Currency of the amount (ISO 4217)"
        },
        "ratio": {
          "type": "string",
          "description": "Ratio for splits (e.g., \"2:1\")"
        },
        "description": {
          "type": "string",
          "description": "Human-readable description of the action"
        }
      }
    }
  }
}