ocsf-schema
ocsf-schema copied to clipboard
Change data type for `type_uid` to `long_t`
When developing custom extensions for OCSF the generated value for type_uid can be out of range for classic 32-bit integer (max positive value is 2,147,483,647).
As an example, we (S1 - extension ID 996) have added a custom class (ID 1) under the findings category (ID 2) so the generated class_uid = 99602001. Based on the current expression how type_uid is calculated, class_uid * 100 + activity_id, the final UID for the unknown activity is 9960200100 which is out of range for the 32-bit integer.
Would it be possible to change the data type for type_uid to long_t? In case somebody is using the data type for generating some non-json schema the long_t type is better hint to use a 64-bit integer for it instead of 32-bit one as it's the case with integer_t used currently.