#
382ad4c7 |
| 19-Sep-2024 |
Aushim Nagarkatti <anagarkatti@nvidia.com> |
Fix schemas and add $id properties for oneof[] fields
oneof[] properties are an array of referenced json schemas. In cases where we need to look through generated logs based on these schemas, it is
Fix schemas and add $id properties for oneof[] fields
oneof[] properties are an array of referenced json schemas. In cases where we need to look through generated logs based on these schemas, it is much easier to use a hook based on the $id property that uniquely identifies a nested child property. The $id property allows us to uniquely identify each data type based on the cper specification.
Fix schemas: Sections and ErrorInformation need a "properties" field under each oneOf[]. Also add a "type" for cacheError and tlbError to conform with json schema.
Tested with libcper json validator.
Change-Id: I2b242e93e1667a7d7b7a3a77eba1d37347920d1a Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
show more ...
|