Add randomly generated CPER examples for Unit Tests

These examples of CPER blobs and their outputs will be used to validate
CPER binaries against their JSON output.

Unit tests to be overhauled to use valijson in a subsequent patch.

Change-Id: I51cc00df22b043fcd71a8cc3ae79bfebb53e66d9
Signed-off-by: Aushim Nagarkatti <anagarkatti@nvidia.com>
diff --git a/examples/arm.json b/examples/arm.json
new file mode 100644
index 0000000..13a945c
--- /dev/null
+++ b/examples/arm.json
@@ -0,0 +1,210 @@
+{
+    "header": {
+        "creatorID": "00000000-0000-0000-0000-000000000000",
+        "flags": {
+            "name": "HW_ERROR_FLAGS_SIMULATED",
+            "value": 4
+        },
+        "notificationType": {
+            "guid": "00000000-0000-0000-0000-000000000000",
+            "type": "Unknown"
+        },
+        "persistenceInfo": 0,
+        "platformID": "00000000-0000-0000-0000-000000000000",
+        "recordID": 136680837,
+        "recordLength": 468,
+        "revision": {
+            "major": 0,
+            "minor": 0
+        },
+        "sectionCount": 1,
+        "severity": {
+            "code": 3,
+            "name": "Informational"
+        },
+        "timestamp": "9355-06-10T18:00:53+00:00",
+        "timestampIsPrecise": false
+    },
+    "sectionDescriptors": [
+        {
+            "flags": {
+                "containmentWarning": false,
+                "errorThresholdExceeded": true,
+                "latentError": true,
+                "overflow": false,
+                "primary": false,
+                "propagated": true,
+                "reset": false,
+                "resourceNotAccessible": true
+            },
+            "fruID": "9f68aa9b-b3f4-3bc8-e10e-045a48a46ee9",
+            "fruText": "\u0016I]si\u001dt\u00169'f:\u0003\u0004wJ\u001f;\r",
+            "revision": {
+                "major": 46,
+                "minor": 70
+            },
+            "sectionLength": 268,
+            "sectionOffset": 200,
+            "sectionType": {
+                "data": "e19e3d16-bc11-11e4-9caa-c2051d5d46b0",
+                "type": "ARM"
+            },
+            "severity": {
+                "code": 3,
+                "name": "Informational"
+            }
+        }
+    ],
+    "sections": [
+        {
+            "ArmProcessor": {
+                "contextInfo": [
+                    {
+                        "registerArray": {
+                            "dacr": 4058308074,
+                            "dfar": 2525196125,
+                            "dfsr": 4222076846,
+                            "ifar": 842240806,
+                            "isr": 955228180,
+                            "mair0": 3936368270,
+                            "mair1": 1106632640,
+                            "midr": 1403917678,
+                            "mpidr": 2261840425,
+                            "nmrr": 253514593,
+                            "prrr": 1074512922,
+                            "sctlr_ns": 1802714711,
+                            "spsr": 1822712542,
+                            "spsr_abt": 1498825880,
+                            "spsr_fiq": 2442808099,
+                            "spsr_irq": 2330216801,
+                            "spsr_svc": 2618340411,
+                            "spsr_und": 581709063,
+                            "tpidrprw": 1214429169,
+                            "tpidruro": 3551778293,
+                            "tpidrurw": 3493812023,
+                            "ttbcr": 3207173788,
+                            "ttbr0": 1112654817,
+                            "ttbr1": 1204565260
+                        },
+                        "registerArraySize": 96,
+                        "registerContextType": {
+                            "name": "AArch32 EL1 Context Registers",
+                            "value": 1
+                        },
+                        "version": 36737
+                    },
+                    {
+                        "registerArray": {
+                            "mrsEncoding": {
+                                "crm": 14,
+                                "crn": 15,
+                                "o0": 0,
+                                "op1": 1,
+                                "op2": 6
+                            },
+                            "value": 12212887984593063555
+                        },
+                        "registerArraySize": 10,
+                        "registerContextType": {
+                            "name": "Miscellaneous System Register Structure",
+                            "value": 8
+                        },
+                        "version": 5008
+                    }
+                ],
+                "contextInfoNum": 2,
+                "errorAffinity": {
+                    "type": "Vendor Defined",
+                    "value": 2
+                },
+                "errorInfo": [
+                    {
+                        "errorInformation": {
+                            "busError": {
+                                "accessMode": {
+                                    "name": "Secure",
+                                    "value": 0
+                                },
+                                "corrected": false,
+                                "level": 5,
+                                "memoryAttributes": 349,
+                                "restartablePC": false,
+                                "timedOut": true,
+                                "transactionType": {
+                                    "name": "Instruction",
+                                    "value": 0
+                                }
+                            }
+                        },
+                        "errorType": {
+                            "name": "Bus Error",
+                            "value": 2
+                        },
+                        "length": 32,
+                        "multipleError": {
+                            "type": "Multiple Errors",
+                            "value": 22513
+                        },
+                        "physicalFaultAddress": 5479757370912725761,
+                        "version": 0
+                    },
+                    {
+                        "errorInformation": {
+                            "tlbError": {
+                                "corrected": false,
+                                "level": 3,
+                                "restartablePC": false,
+                                "transactionType": {
+                                    "name": "Data Access",
+                                    "value": 1
+                                }
+                            }
+                        },
+                        "errorType": {
+                            "name": "TLB Error",
+                            "value": 1
+                        },
+                        "length": 32,
+                        "multipleError": {
+                            "type": "Multiple Errors",
+                            "value": 31412
+                        },
+                        "physicalFaultAddress": 4939183952082867886,
+                        "version": 0
+                    },
+                    {
+                        "errorInformation": {
+                            "tlbError": {
+                                "corrected": false,
+                                "level": 2,
+                                "restartablePC": false,
+                                "transactionType": {
+                                    "name": "Instruction",
+                                    "value": 0
+                                }
+                            }
+                        },
+                        "errorType": {
+                            "name": "TLB Error",
+                            "value": 1
+                        },
+                        "length": 32,
+                        "multipleError": {
+                            "type": "Multiple Errors",
+                            "value": 60437
+                        },
+                        "physicalFaultAddress": 9969676858262076525,
+                        "version": 0
+                    }
+                ],
+                "errorInfoNum": 3,
+                "midrEl1": 8255892182538958568,
+                "psciState": 571887984,
+                "sectionLength": 268,
+                "vendorSpecificInfo": {
+                    "data": "HWAcMzgSOwYZGA=="
+                }
+            }
+        }
+    ]
+}