#
7a531ff4 |
| 14-Mar-2025 |
Ed Tanous <etanous@nvidia.com> |
Add additionalProperties=false
Change-Id: Iaec16b61ae8ec24c2013a310bf6a8d3a10e1f571 Signed-off-by: Ed Tanous <etanous@nvidia.com>
|
#
517282ff |
| 03-Mar-2025 |
Aushim Nagarkatti <anagarkatti@nvidia.com> |
Fix required properties in schemas
With invalid properties not showing up in the output, they are not required in the schema anymore.
Note: UTs test with all properties enabled in the cper-generato
Fix required properties in schemas
With invalid properties not showing up in the output, they are not required in the schema anymore.
Note: UTs test with all properties enabled in the cper-generator.
Tested by running example cpers against schemas
Change-Id: I54dcda2ae00587e4a7d59e0365eb41ac1669ba46 Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
show more ...
|
#
ae8f6d9a |
| 29-Jan-2025 |
Aushim Nagarkatti <anagarkatti@nvidia.com> |
Remove validation bits
Discard invalid properties from json decode. JSON output should only contain valid properties. This saves time in preventing post processing of output for valid fields.
Ensur
Remove validation bits
Discard invalid properties from json decode. JSON output should only contain valid properties. This saves time in preventing post processing of output for valid fields.
Ensure round trip validity with validation bits removed and required properties populated.
Fix bugs in json decode.
Overhaul unit tests to use valijson. Add tests with static examples to validate against schema. Use and nlohmann for better schema validation over intrinsic libcper validation.
Example json output before: { "ValidationBits": { "LevelValid": false, "CorrectedValid": true }, "Level": 1, "Corrected": true }
After: { "Corrected": true }
Change-Id: I188bdc2827a57d938c22a431238fadfcdc939ab8 Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
show more ...
|
#
d9835a17 |
| 05-Dec-2024 |
Andrew Adriance <aadriance@nvidia.com> |
CPER JSON Schema Descriptions
Descriptions populated based on UEFI Appendix N in JSON Schemas
Change-Id: I765ec81913567ba7f32c39fdbd901483d9d78e21 Signed-off-by: Andrew Adriance <aadriance@nvidia.c
CPER JSON Schema Descriptions
Descriptions populated based on UEFI Appendix N in JSON Schemas
Change-Id: I765ec81913567ba7f32c39fdbd901483d9d78e21 Signed-off-by: Andrew Adriance <aadriance@nvidia.com>
show more ...
|
#
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 ...
|
#
044afd01 |
| 03-May-2024 |
John Chung <john.chung@arm.com> |
Formatting coding style
* .json files * .md files
Signed-off-by: John Chung <john.chung@arm.com> Change-Id: I5fec2bbc1e76ae68a29eb5610f567979cc794bc8
|
#
4237584e |
| 19-Jul-2022 |
Lawrence Tang <lawrence.tang@arm.com> |
Fix various errata found from testing.
|
#
079d581e |
| 12-Jul-2022 |
Lawrence Tang <lawrence.tang@arm.com> |
Fix minor errors in spec, add JSON specification.
|