Example of requesting Earnings, Splits, Dividends using pine-script.
That way is inner representation of data in TradingView, so it can be changed any time. It's just an example of requesting of the data.
Description of the series.
time: report date (unix time stamp)
open: estimate value
low: reported value
close: actual value