ocsf-schema
ocsf-schema copied to clipboard
Add attribute profile validation
We want to ensure that when a attribute includes a non-null profile
property in a class or object, it is only done when the specified profile in included in the class or object's profiles
list.
TBD: Should this validation include defining the profile in parent class or object definitions?
Note: if this cannot be done in the metaschema JSON Schema files, it will need to be an explicit check in the ocsf-validator
, and perhaps in the OCSF Server as well.