ocsf-docs icon indicating copy to clipboard operation
ocsf-docs copied to clipboard

timestamp_t value discrepency

Open sgolemon-corp opened this issue 8 months ago • 2 comments

https://github.com/ocsf/ocsf-docs/blob/main/Understanding%20OCSF.md documents the timestamp_t format as "milliseconds since the unix epoch", however the example payload provided by https://schema.ocsf.io/sample/1.2.0/classes/base_event produces a value for the time field in the quadrillions (e.g. "time": 1718905365392963,) which only makes sense if interpreted as microseconds, not milliseconds.

Is the error in the documentation, or the sample event implementation?

sgolemon-corp avatar Jun 20 '24 17:06 sgolemon-corp