Add additionalProperties=false
Change-Id: Iaec16b61ae8ec24c2013a310bf6a8d3a10e1f571
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/specification/json/cper-json-section-descriptor.json b/specification/json/cper-json-section-descriptor.json
index d9c101c..878efe1 100644
--- a/specification/json/cper-json-section-descriptor.json
+++ b/specification/json/cper-json-section-descriptor.json
@@ -25,6 +25,7 @@
"type": "object",
"description": "This is a 2-byte field representing a major and minor version number for the error record definition in BCD format.",
"required": ["major", "minor"],
+ "additionalProperties": false,
"properties": {
"major": {
"type": "integer",
@@ -38,6 +39,7 @@
},
"flags": {
"type": "object",
+ "additionalProperties": false,
"required": [
"primary",
"containmentWarning",
@@ -87,6 +89,7 @@
"type": "object",
"description": "This field holds a pre-assigned GUID value indicating that it is a section of a particular error.",
"required": ["data", "type"],
+ "additionalProperties": false,
"properties": {
"data": {
"type": "string",
@@ -105,6 +108,7 @@
"type": "object",
"description": "This field indicates the severity associated with the error section.",
"required": ["code", "name"],
+ "additionalProperties": false,
"properties": {
"code": {
"type": "integer",