Formatting coding style
* .json files
* .md files
Signed-off-by: John Chung <john.chung@arm.com>
Change-Id: I5fec2bbc1e76ae68a29eb5610f567979cc794bc8
diff --git a/specification/json/common/cper-json-error-status.json b/specification/json/common/cper-json-error-status.json
index 4db531c..6ff2f07 100644
--- a/specification/json/common/cper-json-error-status.json
+++ b/specification/json/common/cper-json-error-status.json
@@ -2,7 +2,16 @@
"$id": "cper-json-error-status",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["errorType", "addressSignal", "controlSignal", "dataSignal", "detectedByResponder", "detectedByRequester", "firstError", "overflowDroppedLogs"],
+ "required": [
+ "errorType",
+ "addressSignal",
+ "controlSignal",
+ "dataSignal",
+ "detectedByResponder",
+ "detectedByRequester",
+ "firstError",
+ "overflowDroppedLogs"
+ ],
"additionalProperties": false,
"properties": {
"errorType": {
@@ -42,4 +51,4 @@
"type": "boolean"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/common/cper-json-nvp.json b/specification/json/common/cper-json-nvp.json
index 6e57c90..0b19c15 100644
--- a/specification/json/common/cper-json-nvp.json
+++ b/specification/json/common/cper-json-nvp.json
@@ -12,4 +12,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/cper-json-full-log.json b/specification/json/cper-json-full-log.json
index a34ceb3..bb7b83e 100644
--- a/specification/json/cper-json-full-log.json
+++ b/specification/json/cper-json-full-log.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/cper-json-header.json b/specification/json/cper-json-header.json
index 68a9387..641a74d 100644
--- a/specification/json/cper-json-header.json
+++ b/specification/json/cper-json-header.json
@@ -2,7 +2,18 @@
"$id": "cper-json-header",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["revision", "sectionCount", "severity", "validationBits", "recordLength", "creatorID", "notificationType", "recordID", "flags", "persistenceInfo"],
+ "required": [
+ "revision",
+ "sectionCount",
+ "severity",
+ "validationBits",
+ "recordLength",
+ "creatorID",
+ "notificationType",
+ "recordID",
+ "flags",
+ "persistenceInfo"
+ ],
"additionalProperties": false,
"properties": {
"revision": {
@@ -38,7 +49,11 @@
},
"validationBits": {
"type": "object",
- "required": ["platformIDValid", "timestampValid", "partitionIDValid"],
+ "required": [
+ "platformIDValid",
+ "timestampValid",
+ "partitionIDValid"
+ ],
"properties": {
"platformIDValid": {
"type": "boolean"
@@ -94,4 +109,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/cper-json-section-descriptor.json b/specification/json/cper-json-section-descriptor.json
index 438e28a..2b4b080 100644
--- a/specification/json/cper-json-section-descriptor.json
+++ b/specification/json/cper-json-section-descriptor.json
@@ -2,7 +2,15 @@
"$id": "cper-json-section-descriptor",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["sectionOffset", "sectionLength", "revision", "validationBits", "flags", "sectionType", "severity"],
+ "required": [
+ "sectionOffset",
+ "sectionLength",
+ "revision",
+ "validationBits",
+ "flags",
+ "sectionType",
+ "severity"
+ ],
"additionalProperties": false,
"properties": {
"sectionOffset": {
@@ -39,7 +47,16 @@
},
"flags": {
"type": "object",
- "required": ["primary", "containmentWarning", "reset", "errorThresholdExceeded", "resourceNotAccessible", "latentError", "propagated", "overflow"],
+ "required": [
+ "primary",
+ "containmentWarning",
+ "reset",
+ "errorThresholdExceeded",
+ "resourceNotAccessible",
+ "latentError",
+ "propagated",
+ "overflow"
+ ],
"properties": {
"primary": {
"type": "boolean"
@@ -100,4 +117,4 @@
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/cper-json-section-log.json b/specification/json/cper-json-section-log.json
index 151f6a6..6d41cd0 100644
--- a/specification/json/cper-json-section-log.json
+++ b/specification/json/cper-json-section-log.json
@@ -31,4 +31,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/cper-json.json b/specification/json/cper-json.json
index 6d0e755..b1d2467 100644
--- a/specification/json/cper-json.json
+++ b/specification/json/cper-json.json
@@ -7,4 +7,4 @@
{ "$ref": "./cper-json-full-log.json" },
{ "$ref": "./cper-json-section-log.json" }
]
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-arm-processor.json b/specification/json/sections/cper-arm-processor.json
index 9ad404e..546b3f4 100644
--- a/specification/json/sections/cper-arm-processor.json
+++ b/specification/json/sections/cper-arm-processor.json
@@ -2,12 +2,28 @@
"$id": "cper-json-arm-processor-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "errorInfoNum", "contextInfoNum", "sectionLength", "errorAffinity", "mpidrEl1", "midrEl1", "running", "errorInfo", "contextInfo"],
+ "required": [
+ "validationBits",
+ "errorInfoNum",
+ "contextInfoNum",
+ "sectionLength",
+ "errorAffinity",
+ "mpidrEl1",
+ "midrEl1",
+ "running",
+ "errorInfo",
+ "contextInfo"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["mpidrValid", "errorAffinityLevelValid", "runningStateValid", "vendorSpecificInfoValid"],
+ "required": [
+ "mpidrValid",
+ "errorAffinityLevelValid",
+ "runningStateValid",
+ "vendorSpecificInfoValid"
+ ],
"properties": {
"mpidrValid": {
"type": "boolean"
@@ -60,7 +76,17 @@
"type": "array",
"items": {
"type": "object",
- "required": ["version", "length", "validationBits", "errorType", "multipleError", "flags", "errorInformation", "virtualFaultAddress", "physicalFaultAddress"],
+ "required": [
+ "version",
+ "length",
+ "validationBits",
+ "errorType",
+ "multipleError",
+ "flags",
+ "errorInformation",
+ "virtualFaultAddress",
+ "physicalFaultAddress"
+ ],
"additionalProperties": false,
"properties": {
"version": {
@@ -71,7 +97,13 @@
},
"validationBits": {
"type": "object",
- "required": ["multipleErrorValid", "flagsValid", "errorInformationValid", "virtualFaultAddressValid", "physicalFaultAddressValid"],
+ "required": [
+ "multipleErrorValid",
+ "flagsValid",
+ "errorInformationValid",
+ "virtualFaultAddressValid",
+ "physicalFaultAddressValid"
+ ],
"properties": {
"multipleErrorValid": {
"type": "boolean"
@@ -109,7 +141,12 @@
},
"flags": {
"type": "object",
- "required": ["firstErrorCaptured", "lastErrorCaptured", "propagated", "overflow"],
+ "required": [
+ "firstErrorCaptured",
+ "lastErrorCaptured",
+ "propagated",
+ "overflow"
+ ],
"properties": {
"firstErrorCaptured": {
"type": "boolean"
@@ -130,12 +167,29 @@
"oneOf": [
{
"type": "object",
- "required": ["validationBits", "transactionType", "operation", "level", "processorContextCorrupt", "corrected", "precisePC", "restartablePC"],
+ "required": [
+ "validationBits",
+ "transactionType",
+ "operation",
+ "level",
+ "processorContextCorrupt",
+ "corrected",
+ "precisePC",
+ "restartablePC"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["transactionTypeValid", "operationValid", "levelValid", "processorContextCorruptValid", "correctedValid", "precisePCValid", "restartablePCValid"],
+ "required": [
+ "transactionTypeValid",
+ "operationValid",
+ "levelValid",
+ "processorContextCorruptValid",
+ "correctedValid",
+ "precisePCValid",
+ "restartablePCValid"
+ ],
"properties": {
"transactionTypeValid": {
"type": "boolean"
@@ -187,12 +241,39 @@
},
{
"type": "object",
- "required": ["validationBits", "transactionType", "operation", "level", "processorContextCorrupt", "corrected", "precisePC", "restartablePC", "timedOut", "participationType", "addressSpace", "memoryAttributes", "accessMode"],
+ "required": [
+ "validationBits",
+ "transactionType",
+ "operation",
+ "level",
+ "processorContextCorrupt",
+ "corrected",
+ "precisePC",
+ "restartablePC",
+ "timedOut",
+ "participationType",
+ "addressSpace",
+ "memoryAttributes",
+ "accessMode"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["transactionTypeValid", "operationValid", "levelValid", "processorContextCorruptValid", "correctedValid", "precisePCValid", "restartablePCValid", "participationTypeValid", "timedOutValid", "addressSpaceValid", "memoryAttributesValid", "accessModeValid"],
+ "required": [
+ "transactionTypeValid",
+ "operationValid",
+ "levelValid",
+ "processorContextCorruptValid",
+ "correctedValid",
+ "precisePCValid",
+ "restartablePCValid",
+ "participationTypeValid",
+ "timedOutValid",
+ "addressSpaceValid",
+ "memoryAttributesValid",
+ "accessModeValid"
+ ],
"properties": {
"transactionTypeValid": {
"type": "boolean"
@@ -300,7 +381,12 @@
"type": "array",
"items": {
"type": "object",
- "required": ["version", "registerContextType", "registerArraySize", "registerArray"],
+ "required": [
+ "version",
+ "registerContextType",
+ "registerArraySize",
+ "registerArray"
+ ],
"additionalProperties": false,
"properties": {
"version": {
@@ -319,7 +405,23 @@
"oneOf": [
{
"type": "object",
- "required": ["r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "r13_sp", "r14_lr", "r15_pc"],
+ "required": [
+ "r1",
+ "r2",
+ "r3",
+ "r4",
+ "r5",
+ "r6",
+ "r7",
+ "r8",
+ "r9",
+ "r10",
+ "r11",
+ "r12",
+ "r13_sp",
+ "r14_lr",
+ "r15_pc"
+ ],
"properties": {
"r0": { "type": "integer" },
"r1": { "type": "integer" },
@@ -341,7 +443,32 @@
},
{
"type": "object",
- "required": ["dfar", "dfsr", "ifar", "isr", "mair0", "mair1", "midr", "mpidr", "nmrr", "prrr", "sctlr_ns", "spsr", "spsr_abt", "spsr_fiq", "spsr_irq", "spsr_svc", "spsr_und", "tpidrprw", "tpidruro", "tpidrurw", "ttbcr", "ttbr0", "ttbr1", "dacr"],
+ "required": [
+ "dfar",
+ "dfsr",
+ "ifar",
+ "isr",
+ "mair0",
+ "mair1",
+ "midr",
+ "mpidr",
+ "nmrr",
+ "prrr",
+ "sctlr_ns",
+ "spsr",
+ "spsr_abt",
+ "spsr_fiq",
+ "spsr_irq",
+ "spsr_svc",
+ "spsr_und",
+ "tpidrprw",
+ "tpidruro",
+ "tpidrurw",
+ "ttbcr",
+ "ttbr0",
+ "ttbr1",
+ "dacr"
+ ],
"properties": {
"dfar": { "type": "integer" },
"dfsr": { "type": "integer" },
@@ -371,7 +498,24 @@
},
{
"type": "object",
- "required": ["elr_hyp", "hamair0", "hamair1", "hcr", "hcr2", "hdfar", "hifar", "hpfar", "hsr", "htcr", "htpidr", "httbr", "spsr_hyp", "vtcr", "vttbr", "dacr32_el2"],
+ "required": [
+ "elr_hyp",
+ "hamair0",
+ "hamair1",
+ "hcr",
+ "hcr2",
+ "hdfar",
+ "hifar",
+ "hpfar",
+ "hsr",
+ "htcr",
+ "htpidr",
+ "httbr",
+ "spsr_hyp",
+ "vtcr",
+ "vttbr",
+ "dacr32_el2"
+ ],
"properties": {
"elr_hyp": { "type": "integer" },
"hamair0": { "type": "integer" },
@@ -401,7 +545,40 @@
},
{
"type": "object",
- "required": ["x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", "x8", "x9", "x10", "x11", "x12", "x13", "x14", "x15", "x16", "x17", "x18", "x19", "x20", "x21", "x22", "x23", "x24", "x25", "x26", "x27", "x28", "x29", "x30", "sp"],
+ "required": [
+ "x0",
+ "x1",
+ "x2",
+ "x3",
+ "x4",
+ "x5",
+ "x6",
+ "x7",
+ "x8",
+ "x9",
+ "x10",
+ "x11",
+ "x12",
+ "x13",
+ "x14",
+ "x15",
+ "x16",
+ "x17",
+ "x18",
+ "x19",
+ "x20",
+ "x21",
+ "x22",
+ "x23",
+ "x24",
+ "x25",
+ "x26",
+ "x27",
+ "x28",
+ "x29",
+ "x30",
+ "sp"
+ ],
"properties": {
"x0": { "type": "integer" },
"x1": { "type": "integer" },
@@ -439,7 +616,25 @@
},
{
"type": "object",
- "required": ["elr_el1", "esr_el1", "far_el1", "isr_el1", "mair_el1", "midr_el1", "mpidr_el1", "sctlr_el1", "sp_el0", "sp_el1", "spsr_el1", "tcr_el1", "tpidr_el0", "tpidr_el1", "tpidrro_el0", "ttbr0_el1", "ttbr1_el1"],
+ "required": [
+ "elr_el1",
+ "esr_el1",
+ "far_el1",
+ "isr_el1",
+ "mair_el1",
+ "midr_el1",
+ "mpidr_el1",
+ "sctlr_el1",
+ "sp_el0",
+ "sp_el1",
+ "spsr_el1",
+ "tcr_el1",
+ "tpidr_el0",
+ "tpidr_el1",
+ "tpidrro_el0",
+ "ttbr0_el1",
+ "ttbr1_el1"
+ ],
"properties": {
"elr_el1": { "type": "integer" },
"esr_el1": { "type": "integer" },
@@ -462,7 +657,23 @@
},
{
"type": "object",
- "required": ["elr_el2", "esr_el2", "far_el2", "hacr_el2", "hcr_el2", "hpfar_el2", "mair_el2", "sctlr_el2", "sp_el2", "spsr_el2", "tcr_el2", "tpidr_el2", "ttbr0_el2", "vtcr_el2", "vttbr_el2"],
+ "required": [
+ "elr_el2",
+ "esr_el2",
+ "far_el2",
+ "hacr_el2",
+ "hcr_el2",
+ "hpfar_el2",
+ "mair_el2",
+ "sctlr_el2",
+ "sp_el2",
+ "spsr_el2",
+ "tcr_el2",
+ "tpidr_el2",
+ "ttbr0_el2",
+ "vtcr_el2",
+ "vttbr_el2"
+ ],
"properties": {
"elr_el2": { "type": "integer" },
"esr_el2": { "type": "integer" },
@@ -483,7 +694,18 @@
},
{
"type": "object",
- "required": ["elr_el3", "esr_el3", "far_el3", "mair_el3", "sctlr_el3", "sp_el3", "spsr_el3", "tcr_el3", "tpidr_el3", "ttbr0_el3"],
+ "required": [
+ "elr_el3",
+ "esr_el3",
+ "far_el3",
+ "mair_el3",
+ "sctlr_el3",
+ "sp_el3",
+ "spsr_el3",
+ "tcr_el3",
+ "tpidr_el3",
+ "ttbr0_el3"
+ ],
"properties": {
"elr_el3": { "type": "integer" },
"esr_el3": { "type": "integer" },
@@ -504,7 +726,13 @@
"properties": {
"mrsEncoding": {
"type": "object",
- "required": ["op2", "crm", "crn", "op1", "o0"],
+ "required": [
+ "op2",
+ "crm",
+ "crn",
+ "op1",
+ "o0"
+ ],
"properties": {
"op2": { "type": "integer" },
"crm": { "type": "integer" },
@@ -543,4 +771,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-ccix-per.json b/specification/json/sections/cper-ccix-per.json
index f6e95a9..9f2767d 100644
--- a/specification/json/sections/cper-ccix-per.json
+++ b/specification/json/sections/cper-ccix-per.json
@@ -2,7 +2,13 @@
"$id": "cper-json-ccix-per-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["length", "validationBits", "ccixSourceID", "ccixPortID", "ccixPERLog"],
+ "required": [
+ "length",
+ "validationBits",
+ "ccixSourceID",
+ "ccixPortID",
+ "ccixPERLog"
+ ],
"additionalProperties": false,
"properties": {
"length": {
@@ -10,7 +16,11 @@
},
"validationBits": {
"type": "object",
- "required": ["ccixSourceIDValid", "ccixPortIDValid", "ccixPERLogValid"],
+ "required": [
+ "ccixSourceIDValid",
+ "ccixPortIDValid",
+ "ccixPERLogValid"
+ ],
"properties": {
"ccixSourceIDValid": {
"type": "boolean"
@@ -33,4 +43,4 @@
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-cxl-component.json b/specification/json/sections/cper-cxl-component.json
index ef1b9c6..97c4107 100644
--- a/specification/json/sections/cper-cxl-component.json
+++ b/specification/json/sections/cper-cxl-component.json
@@ -10,7 +10,11 @@
},
"validationBits": {
"type": "object",
- "required": ["deviceIDValid", "deviceSerialValid", "cxlComponentEventLogValid"],
+ "required": [
+ "deviceIDValid",
+ "deviceSerialValid",
+ "cxlComponentEventLogValid"
+ ],
"properties": {
"deviceIDValid": {
"type": "boolean"
@@ -25,7 +29,15 @@
},
"deviceID": {
"type": "object",
- "required": ["vendorID", "deviceID", "functionNumber", "deviceNumber", "busNumber", "segmentNumber", "slotNumber"],
+ "required": [
+ "vendorID",
+ "deviceID",
+ "functionNumber",
+ "deviceNumber",
+ "busNumber",
+ "segmentNumber",
+ "slotNumber"
+ ],
"properties": {
"vendorID": {
"type": "integer"
@@ -63,4 +75,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-cxl-protocol.json b/specification/json/sections/cper-cxl-protocol.json
index bc22453..83cef63 100644
--- a/specification/json/sections/cper-cxl-protocol.json
+++ b/specification/json/sections/cper-cxl-protocol.json
@@ -2,12 +2,29 @@
"$id": "cper-json-cxl-protocol-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "agentType", "cxlAgentAddress", "deviceID", "dvsecLength", "errorLogLength", "cxlDVSEC", "cxlErrorLog"],
+ "required": [
+ "validationBits",
+ "agentType",
+ "cxlAgentAddress",
+ "deviceID",
+ "dvsecLength",
+ "errorLogLength",
+ "cxlDVSEC",
+ "cxlErrorLog"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["cxlAgentTypeValid", "cxlAgentAddressValid", "deviceIDValid", "deviceSerialValid", "capabilityStructureValid", "cxlDVSECValid", "cxlErrorLogValid"],
+ "required": [
+ "cxlAgentTypeValid",
+ "cxlAgentAddressValid",
+ "deviceIDValid",
+ "deviceSerialValid",
+ "capabilityStructureValid",
+ "cxlDVSECValid",
+ "cxlErrorLogValid"
+ ],
"properties": {
"cxlAgentTypeValid": {
"type": "boolean"
@@ -41,18 +58,23 @@
"oneOf": [
{
"type": "object",
- "required": ["functionNumber", "deviceNumber", "busNumber", "segmentNumber"],
+ "required": [
+ "functionNumber",
+ "deviceNumber",
+ "busNumber",
+ "segmentNumber"
+ ],
"properties": {
- "functionNumber": {
+ "functionNumber": {
"type": "integer"
},
- "deviceNumber": {
+ "deviceNumber": {
"type": "integer"
},
- "busNumber": {
+ "busNumber": {
"type": "integer"
},
- "segmentNumber": {
+ "segmentNumber": {
"type": "integer"
}
}
@@ -70,45 +92,52 @@
},
"deviceID": {
"type": "object",
- "required": ["vendorID", "deviceID", "subsystemVendorID", "subsystemDeviceID", "classCode", "slotNumber"],
+ "required": [
+ "vendorID",
+ "deviceID",
+ "subsystemVendorID",
+ "subsystemDeviceID",
+ "classCode",
+ "slotNumber"
+ ],
"properties": {
- "vendorID": {
+ "vendorID": {
"type": "integer"
},
- "deviceID": {
+ "deviceID": {
"type": "integer"
},
- "subsystemVendorID": {
+ "subsystemVendorID": {
"type": "integer"
},
- "subsystemDeviceID": {
+ "subsystemDeviceID": {
"type": "integer"
},
- "classCode": {
+ "classCode": {
"type": "integer"
},
- "slotNumber": {
+ "slotNumber": {
"type": "integer"
}
}
},
- "deviceSerial": {
+ "deviceSerial": {
"type": "integer"
},
"capabilityStructure": {
"type": "string"
},
- "dvsecLength": {
+ "dvsecLength": {
"type": "integer"
},
- "errorLogLength": {
+ "errorLogLength": {
"type": "integer"
},
- "cxlDVSEC": {
+ "cxlDVSEC": {
"type": "string"
},
- "cxlErrorLog": {
+ "cxlErrorLog": {
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-firmware.json b/specification/json/sections/cper-firmware.json
index 1e9ea67..88a18b0 100644
--- a/specification/json/sections/cper-firmware.json
+++ b/specification/json/sections/cper-firmware.json
@@ -19,4 +19,4 @@
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-generic-dmar.json b/specification/json/sections/cper-generic-dmar.json
index e5fee69..814e44a 100644
--- a/specification/json/sections/cper-generic-dmar.json
+++ b/specification/json/sections/cper-generic-dmar.json
@@ -2,7 +2,15 @@
"$id": "cper-json-generic-dmar-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["requesterID", "segmentNumber", "faultReason", "accessType", "addressType", "architectureType", "deviceAddress"],
+ "required": [
+ "requesterID",
+ "segmentNumber",
+ "faultReason",
+ "accessType",
+ "addressType",
+ "architectureType",
+ "deviceAddress"
+ ],
"additionalProperties": false,
"properties": {
"requesterID": {
@@ -39,7 +47,7 @@
"$ref": "./common/cper-json-nvp.json"
},
"deviceAddress": {
- "type" : "integer"
+ "type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-generic-processor.json b/specification/json/sections/cper-generic-processor.json
index 0a5d52b..34109d4 100644
--- a/specification/json/sections/cper-generic-processor.json
+++ b/specification/json/sections/cper-generic-processor.json
@@ -2,12 +2,41 @@
"$id": "cper-json-generic-processor-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "processorType", "processorISA", "errorType", "operation", "flags", "level", "cpuVersionInfo", "cpuBrandString", "processorID", "targetAddress", "requestorID", "responderID", "instructionIP"],
+ "required": [
+ "validationBits",
+ "processorType",
+ "processorISA",
+ "errorType",
+ "operation",
+ "flags",
+ "level",
+ "cpuVersionInfo",
+ "cpuBrandString",
+ "processorID",
+ "targetAddress",
+ "requestorID",
+ "responderID",
+ "instructionIP"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["processorTypeValid", "processorISAValid", "processorErrorTypeValid", "operationValid", "flagsValid", "levelValid", "cpuVersionValid", "cpuBrandInfoValid", "cpuIDValid", "targetAddressValid", "requestorIDValid", "responderIDValid", "instructionIPValid"],
+ "required": [
+ "processorTypeValid",
+ "processorISAValid",
+ "processorErrorTypeValid",
+ "operationValid",
+ "flagsValid",
+ "levelValid",
+ "cpuVersionValid",
+ "cpuBrandInfoValid",
+ "cpuIDValid",
+ "targetAddressValid",
+ "requestorIDValid",
+ "responderIDValid",
+ "instructionIPValid"
+ ],
"properties": {
"processorTypeValid": {
"type": "boolean"
@@ -109,4 +138,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-ia32x64-processor.json b/specification/json/sections/cper-ia32x64-processor.json
index 08a9d96..2a017a0 100644
--- a/specification/json/sections/cper-ia32x64-processor.json
+++ b/specification/json/sections/cper-ia32x64-processor.json
@@ -2,12 +2,23 @@
"$id": "cper-json-ia32x54-processor-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "localAPICID", "cpuidInfo", "processorErrorInfo", "processorContextInfo"],
+ "required": [
+ "validationBits",
+ "localAPICID",
+ "cpuidInfo",
+ "processorErrorInfo",
+ "processorContextInfo"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["localAPICIDValid", "cpuIDInfoValid", "processorErrorInfoNum", "processorContextInfoNum"],
+ "required": [
+ "localAPICIDValid",
+ "cpuIDInfoValid",
+ "processorErrorInfoNum",
+ "processorContextInfoNum"
+ ],
"properties": {
"localAPICIDValid": {
"type": "boolean"
@@ -50,7 +61,15 @@
"type": "array",
"items": {
"type": "object",
- "required": ["type", "validationBits", "checkInfo", "targetAddressID", "requestorID", "responderID", "instructionPointer"],
+ "required": [
+ "type",
+ "validationBits",
+ "checkInfo",
+ "targetAddressID",
+ "requestorID",
+ "responderID",
+ "instructionPointer"
+ ],
"additionalProperties": false,
"properties": {
"type": {
@@ -67,7 +86,13 @@
},
"validationBits": {
"type": "object",
- "required": ["checkInfoValid", "targetAddressIDValid", "requestorIDValid", "responderIDValid", "instructionPointerValid"],
+ "required": [
+ "checkInfoValid",
+ "targetAddressIDValid",
+ "requestorIDValid",
+ "responderIDValid",
+ "instructionPointerValid"
+ ],
"additionalProperties": false,
"properties": {
"checkInfoValid": {
@@ -88,16 +113,35 @@
}
},
"checkInfo": {
- "type" : "object",
+ "type": "object",
"oneOf": [
{
"type": "object",
- "required": ["validationBits", "transactionType", "operation", "level", "processorContextCorrupt", "uncorrected", "preciseIP", "restartableIP", "overflow"],
+ "required": [
+ "validationBits",
+ "transactionType",
+ "operation",
+ "level",
+ "processorContextCorrupt",
+ "uncorrected",
+ "preciseIP",
+ "restartableIP",
+ "overflow"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["transactionTypeValid", "operationValid", "levelValid", "processorContextCorruptValid", "uncorrectedValid", "preciseIPValid", "restartableIPValid", "overflowValid"],
+ "required": [
+ "transactionTypeValid",
+ "operationValid",
+ "levelValid",
+ "processorContextCorruptValid",
+ "uncorrectedValid",
+ "preciseIPValid",
+ "restartableIPValid",
+ "overflowValid"
+ ],
"properties": {
"transactionTypeValid": {
"type": "boolean"
@@ -156,12 +200,37 @@
},
{
"type": "object",
- "required": ["validationBits", "transactionType", "operation", "level", "processorContextCorrupt", "uncorrected", "preciseIP", "restartableIP", "overflow", "participationType", "timedOut", "addressSpace"],
+ "required": [
+ "validationBits",
+ "transactionType",
+ "operation",
+ "level",
+ "processorContextCorrupt",
+ "uncorrected",
+ "preciseIP",
+ "restartableIP",
+ "overflow",
+ "participationType",
+ "timedOut",
+ "addressSpace"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["transactionTypeValid", "operationValid", "levelValid", "processorContextCorruptValid", "uncorrectedValid", "preciseIPValid", "restartableIPValid", "overflowValid", "participationTypeValid", "timedOutValid", "addressSpaceValid"],
+ "required": [
+ "transactionTypeValid",
+ "operationValid",
+ "levelValid",
+ "processorContextCorruptValid",
+ "uncorrectedValid",
+ "preciseIPValid",
+ "restartableIPValid",
+ "overflowValid",
+ "participationTypeValid",
+ "timedOutValid",
+ "addressSpaceValid"
+ ],
"properties": {
"transactionTypeValid": {
"type": "boolean"
@@ -245,7 +314,14 @@
"properties": {
"validationBits": {
"type": "object",
- "required": ["errorTypeValid", "processorContextCorruptValid", "uncorrectedValid", "preciseIPValid", "restartableIPValid", "overflowValid"],
+ "required": [
+ "errorTypeValid",
+ "processorContextCorruptValid",
+ "uncorrectedValid",
+ "preciseIPValid",
+ "restartableIPValid",
+ "overflowValid"
+ ],
"properties": {
"errorTypeValid": {
"type": "boolean"
@@ -309,7 +385,12 @@
"type": "array",
"items": {
"type": "object",
- "required": ["registerContextType", "registerArraySize", "msrAddress", "mmRegisterAddress"],
+ "required": [
+ "registerContextType",
+ "registerArraySize",
+ "msrAddress",
+ "mmRegisterAddress"
+ ],
"additionalProperties": false,
"properties": {
"registerContextType": {
@@ -330,7 +411,33 @@
"oneOf": [
{
"type": "object",
- "required": ["eax", "ebx", "ecx", "edx", "esi", "edi", "ebp", "esp", "cs", "ds", "ss", "es", "fs", "gs", "eflags", "eip", "cr0", "cr1", "cr2", "cr3", "cr4", "gdtr", "idtr", "ldtr", "tr"],
+ "required": [
+ "eax",
+ "ebx",
+ "ecx",
+ "edx",
+ "esi",
+ "edi",
+ "ebp",
+ "esp",
+ "cs",
+ "ds",
+ "ss",
+ "es",
+ "fs",
+ "gs",
+ "eflags",
+ "eip",
+ "cr0",
+ "cr1",
+ "cr2",
+ "cr3",
+ "cr4",
+ "gdtr",
+ "idtr",
+ "ldtr",
+ "tr"
+ ],
"additionalProperties": false,
"properties": {
"eax": { "type": "integer" },
@@ -362,7 +469,43 @@
},
{
"type": "object",
- "required": ["rax", "rbx", "rcx", "rdx", "rsi", "rdi", "rbp", "rsp", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", "cs", "ds", "es", "fs", "gs", "rflags", "eip", "cr0", "cr1", "cr2", "cr3", "cr4", "cr8", "gdtr_0", "gdtr_1", "idtr_0", "idtr_1", "ldtr", "tr"],
+ "required": [
+ "rax",
+ "rbx",
+ "rcx",
+ "rdx",
+ "rsi",
+ "rdi",
+ "rbp",
+ "rsp",
+ "r8",
+ "r9",
+ "r10",
+ "r11",
+ "r12",
+ "r13",
+ "r14",
+ "r15",
+ "cs",
+ "ds",
+ "es",
+ "fs",
+ "gs",
+ "rflags",
+ "eip",
+ "cr0",
+ "cr1",
+ "cr2",
+ "cr3",
+ "cr4",
+ "cr8",
+ "gdtr_0",
+ "gdtr_1",
+ "idtr_0",
+ "idtr_1",
+ "ldtr",
+ "tr"
+ ],
"additionalProperties": false,
"properties": {
"rax": { "type": "integer" },
@@ -419,4 +562,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-iommu-dmar.json b/specification/json/sections/cper-iommu-dmar.json
index 2db53cc..bc819f0 100644
--- a/specification/json/sections/cper-iommu-dmar.json
+++ b/specification/json/sections/cper-iommu-dmar.json
@@ -2,7 +2,19 @@
"$id": "cper-json-iommu-dmar-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["revision", "controlRegister", "statusRegister", "eventLogEntry", "deviceTableEntry", "pageTableEntry_Level6", "pageTableEntry_Level5", "pageTableEntry_Level4", "pageTableEntry_Level3", "pageTableEntry_Level2", "pageTableEntry_Level1"],
+ "required": [
+ "revision",
+ "controlRegister",
+ "statusRegister",
+ "eventLogEntry",
+ "deviceTableEntry",
+ "pageTableEntry_Level6",
+ "pageTableEntry_Level5",
+ "pageTableEntry_Level4",
+ "pageTableEntry_Level3",
+ "pageTableEntry_Level2",
+ "pageTableEntry_Level1"
+ ],
"additionalProperties": false,
"properties": {
"revision": {
@@ -39,4 +51,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-memory.json b/specification/json/sections/cper-memory.json
index 4c5a356..64f4c21 100644
--- a/specification/json/sections/cper-memory.json
+++ b/specification/json/sections/cper-memory.json
@@ -2,12 +2,56 @@
"$id": "cper-json-memory-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "errorStatus", "bank", "memoryErrorType", "extended", "physicalAddress", "physicalAddressMask", "node", "card", "moduleRank", "device", "row", "column", "bitPosition", "requestorID", "responderID", "targetID", "rankNumber", "cardSmbiosHandle", "moduleSmbiosHandle"],
+ "required": [
+ "validationBits",
+ "errorStatus",
+ "bank",
+ "memoryErrorType",
+ "extended",
+ "physicalAddress",
+ "physicalAddressMask",
+ "node",
+ "card",
+ "moduleRank",
+ "device",
+ "row",
+ "column",
+ "bitPosition",
+ "requestorID",
+ "responderID",
+ "targetID",
+ "rankNumber",
+ "cardSmbiosHandle",
+ "moduleSmbiosHandle"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["errorStatusValid", "physicalAddressValid", "physicalAddressMaskValid", "nodeValid", "cardValid", "moduleValid", "bankValid", "deviceValid", "rowValid", "columnValid", "bitPositionValid", "platformRequestorIDValid", "platformResponderIDValid", "memoryPlatformTargetValid", "memoryErrorTypeValid", "rankNumberValid", "cardHandleValid", "moduleHandleValid", "extendedRowBitsValid", "bankGroupValid", "bankAddressValid", "chipIdentificationValid"],
+ "required": [
+ "errorStatusValid",
+ "physicalAddressValid",
+ "physicalAddressMaskValid",
+ "nodeValid",
+ "cardValid",
+ "moduleValid",
+ "bankValid",
+ "deviceValid",
+ "rowValid",
+ "columnValid",
+ "bitPositionValid",
+ "platformRequestorIDValid",
+ "platformResponderIDValid",
+ "memoryPlatformTargetValid",
+ "memoryErrorTypeValid",
+ "rankNumberValid",
+ "cardHandleValid",
+ "moduleHandleValid",
+ "extendedRowBitsValid",
+ "bankGroupValid",
+ "bankAddressValid",
+ "chipIdentificationValid"
+ ],
"properties": {
"errorStatusValid": {
"type": "boolean"
@@ -172,4 +216,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-memory2.json b/specification/json/sections/cper-memory2.json
index cd3da93..94b8509 100644
--- a/specification/json/sections/cper-memory2.json
+++ b/specification/json/sections/cper-memory2.json
@@ -2,12 +2,57 @@
"$id": "cper-json-memory2-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "errorStatus", "bank", "memoryErrorType", "status", "physicalAddress", "physicalAddressMask", "node", "card", "module", "device", "row", "column", "bitPosition", "rank", "chipID", "requestorID", "responderID", "targetID", "cardSmbiosHandle", "moduleSmbiosHandle"],
+ "required": [
+ "validationBits",
+ "errorStatus",
+ "bank",
+ "memoryErrorType",
+ "status",
+ "physicalAddress",
+ "physicalAddressMask",
+ "node",
+ "card",
+ "module",
+ "device",
+ "row",
+ "column",
+ "bitPosition",
+ "rank",
+ "chipID",
+ "requestorID",
+ "responderID",
+ "targetID",
+ "cardSmbiosHandle",
+ "moduleSmbiosHandle"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["errorStatusValid", "physicalAddressValid", "physicalAddressMaskValid", "nodeValid", "cardValid", "moduleValid", "bankValid", "deviceValid", "rowValid", "columnValid", "rankValid", "bitPositionValid", "chipIDValid", "memoryErrorTypeValid", "statusValid", "requestorIDValid", "responderIDValid", "targetIDValid", "cardHandleValid", "moduleHandleValid", "bankGroupValid", "bankAddressValid"],
+ "required": [
+ "errorStatusValid",
+ "physicalAddressValid",
+ "physicalAddressMaskValid",
+ "nodeValid",
+ "cardValid",
+ "moduleValid",
+ "bankValid",
+ "deviceValid",
+ "rowValid",
+ "columnValid",
+ "rankValid",
+ "bitPositionValid",
+ "chipIDValid",
+ "memoryErrorTypeValid",
+ "statusValid",
+ "requestorIDValid",
+ "responderIDValid",
+ "targetIDValid",
+ "cardHandleValid",
+ "moduleHandleValid",
+ "bankGroupValid",
+ "bankAddressValid"
+ ],
"properties": {
"errorStatusValid": {
"type": "boolean"
@@ -172,4 +217,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-pci-bus.json b/specification/json/sections/cper-pci-bus.json
index a2bc18e..635d28f 100644
--- a/specification/json/sections/cper-pci-bus.json
+++ b/specification/json/sections/cper-pci-bus.json
@@ -2,12 +2,33 @@
"$id": "cper-json-pci-bus-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "errorStatus", "errorType", "busID", "busAddress", "busData", "busCommandType", "busRequestorID", "busCompleterID", "targetID"],
+ "required": [
+ "validationBits",
+ "errorStatus",
+ "errorType",
+ "busID",
+ "busAddress",
+ "busData",
+ "busCommandType",
+ "busRequestorID",
+ "busCompleterID",
+ "targetID"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["errorStatusValid", "errorTypeValid", "busIDValid", "busAddressValid", "busDataValid", "commandValid", "requestorIDValid", "completerIDValid", "targetIDValid"],
+ "required": [
+ "errorStatusValid",
+ "errorTypeValid",
+ "busIDValid",
+ "busAddressValid",
+ "busDataValid",
+ "commandValid",
+ "requestorIDValid",
+ "completerIDValid",
+ "targetIDValid"
+ ],
"properties": {
"errorStatusValid": {
"type": "boolean"
@@ -77,4 +98,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-pci-component.json b/specification/json/sections/cper-pci-component.json
index 878713e..af22a52 100644
--- a/specification/json/sections/cper-pci-component.json
+++ b/specification/json/sections/cper-pci-component.json
@@ -2,12 +2,25 @@
"$id": "cper-json-pci-component-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "errorStatus", "idInfo", "memoryNumber", "ioNumber", "registerDataPairs"],
+ "required": [
+ "validationBits",
+ "errorStatus",
+ "idInfo",
+ "memoryNumber",
+ "ioNumber",
+ "registerDataPairs"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["errorStatusValid", "idInfoValid", "memoryNumberValid", "ioNumberValid", "registerDataPairsValid"],
+ "required": [
+ "errorStatusValid",
+ "idInfoValid",
+ "memoryNumberValid",
+ "ioNumberValid",
+ "registerDataPairsValid"
+ ],
"properties": {
"errorStatusValid": {
"type": "boolean"
@@ -32,7 +45,15 @@
},
"idInfo": {
"type": "object",
- "required": ["vendorID", "deviceID", "classCode", "functionNumber", "deviceNumber", "busNumber", "segmentNumber"],
+ "required": [
+ "vendorID",
+ "deviceID",
+ "classCode",
+ "functionNumber",
+ "deviceNumber",
+ "busNumber",
+ "segmentNumber"
+ ],
"properties": {
"vendorID": {
"type": "integer"
@@ -79,4 +100,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-pcie.json b/specification/json/sections/cper-pcie.json
index 021d590..c220d75 100644
--- a/specification/json/sections/cper-pcie.json
+++ b/specification/json/sections/cper-pcie.json
@@ -2,12 +2,31 @@
"$id": "cper-json-pcie-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["validationBits", "portType", "version", "commandStatus", "deviceID", "deviceSerialNumber", "bridgeControlStatus", "capabilityStructure", "aerInfo"],
+ "required": [
+ "validationBits",
+ "portType",
+ "version",
+ "commandStatus",
+ "deviceID",
+ "deviceSerialNumber",
+ "bridgeControlStatus",
+ "capabilityStructure",
+ "aerInfo"
+ ],
"additionalProperties": false,
"properties": {
"validationBits": {
"type": "object",
- "required": ["portTypeValid", "versionValid", "commandStatusValid", "deviceIDValid", "deviceSerialNumberValid", "bridgeControlStatusValid", "capabilityStructureStatusValid", "aerInfoValid"],
+ "required": [
+ "portTypeValid",
+ "versionValid",
+ "commandStatusValid",
+ "deviceIDValid",
+ "deviceSerialNumberValid",
+ "bridgeControlStatusValid",
+ "capabilityStructureStatusValid",
+ "aerInfoValid"
+ ],
"properties": {
"portTypeValid": {
"type": "boolean"
@@ -56,7 +75,7 @@
"required": ["commandRegister", "statusRegister"],
"properties": {
"commandRegister": {
- "type" : "integer"
+ "type": "integer"
},
"statusRegister": {
"type": "integer"
@@ -65,7 +84,17 @@
},
"deviceID": {
"type": "object",
- "required": ["vendorID", "deviceID", "classCode", "functionNumber", "deviceNumber", "segmentNumber", "primaryOrDeviceBusNumber", "secondaryBusNumber", "slotNumber"],
+ "required": [
+ "vendorID",
+ "deviceID",
+ "classCode",
+ "functionNumber",
+ "deviceNumber",
+ "segmentNumber",
+ "primaryOrDeviceBusNumber",
+ "secondaryBusNumber",
+ "slotNumber"
+ ],
"properties": {
"vendorID": {
"type": "integer"
@@ -130,4 +159,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-unknown.json b/specification/json/sections/cper-unknown.json
index ea8c8f0..a2a92dc 100644
--- a/specification/json/sections/cper-unknown.json
+++ b/specification/json/sections/cper-unknown.json
@@ -9,4 +9,4 @@
"type": "string"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/json/sections/cper-vtd-dmar.json b/specification/json/sections/cper-vtd-dmar.json
index e76abb7..ad7f956 100644
--- a/specification/json/sections/cper-vtd-dmar.json
+++ b/specification/json/sections/cper-vtd-dmar.json
@@ -2,7 +2,25 @@
"$id": "cper-json-vtd-dmar-section",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
- "required": ["version", "revision", "oemID", "capabilityRegister", "extendedCapabilityRegister", "globalCommandRegister", "globalStatusRegister", "faultStatusRegister", "faultRecord", "rootEntry", "contextEntry", "pageTableEntry_Level6", "pageTableEntry_Level5", "pageTableEntry_Level4", "pageTableEntry_Level3", "pageTableEntry_Level2", "pageTableEntry_Level1"],
+ "required": [
+ "version",
+ "revision",
+ "oemID",
+ "capabilityRegister",
+ "extendedCapabilityRegister",
+ "globalCommandRegister",
+ "globalStatusRegister",
+ "faultStatusRegister",
+ "faultRecord",
+ "rootEntry",
+ "contextEntry",
+ "pageTableEntry_Level6",
+ "pageTableEntry_Level5",
+ "pageTableEntry_Level4",
+ "pageTableEntry_Level3",
+ "pageTableEntry_Level2",
+ "pageTableEntry_Level1"
+ ],
"additionalProperties": false,
"properties": {
"version": {
@@ -31,7 +49,17 @@
},
"faultRecord": {
"type": "object",
- "required": ["faultInformation", "sourceIdentifier", "privelegeModeRequested", "executePermissionRequested", "pasidPresent", "faultReason", "pasidValue", "addressType", "type"],
+ "required": [
+ "faultInformation",
+ "sourceIdentifier",
+ "privelegeModeRequested",
+ "executePermissionRequested",
+ "pasidPresent",
+ "faultReason",
+ "pasidValue",
+ "addressType",
+ "type"
+ ],
"properties": {
"faultInformation": {
"type": "integer"
@@ -88,4 +116,4 @@
"type": "integer"
}
}
-}
\ No newline at end of file
+}