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>
diff --git a/specification/json/sections/cper-cxl-component.json b/specification/json/sections/cper-cxl-component.json
index 9d3e8d4..fbefeef 100644
--- a/specification/json/sections/cper-cxl-component.json
+++ b/specification/json/sections/cper-cxl-component.json
@@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"description": "CXL Component Events Section",
- "required": ["length", "deviceID", "deviceSerial"],
+ "required": ["length"],
"additionalProperties": false,
"properties": {
"length": {