Lawrence Tang | 079d581 | 2022-07-12 14:15:32 +0100 | [diff] [blame^] | 1 | { |
| 2 | "$id": "cper-json-generic-dmar-section", |
| 3 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 4 | "type": "object", |
| 5 | "required": ["requesterID", "segmentNumber", "faultReason", "accessType", "addressType", "architectureType", "deviceAddress"], |
| 6 | "additionalProperties": false, |
| 7 | "properties": { |
| 8 | "requesterID": { |
| 9 | "type": "integer" |
| 10 | }, |
| 11 | "segmentNumber": { |
| 12 | "type": "integer" |
| 13 | }, |
| 14 | "faultReason": { |
| 15 | "type": "object", |
| 16 | "required": ["value", "name", "description"], |
| 17 | "properties": { |
| 18 | "value": { |
| 19 | "type": "integer" |
| 20 | }, |
| 21 | "name": { |
| 22 | "type": "string" |
| 23 | }, |
| 24 | "description": { |
| 25 | "type": "string" |
| 26 | } |
| 27 | } |
| 28 | }, |
| 29 | "accessType": { |
| 30 | "type": "object", |
| 31 | "$ref": "../common/cper-json-nvp.json" |
| 32 | }, |
| 33 | "addressType": { |
| 34 | "type": "object", |
| 35 | "$ref": "../common/cper-json-nvp.json" |
| 36 | }, |
| 37 | "architectureType": { |
| 38 | "type": "object", |
| 39 | "$ref": "../common/cper-json-nvp.json" |
| 40 | }, |
| 41 | "deviceAddress": { |
| 42 | "type" : "integer" |
| 43 | } |
| 44 | } |
| 45 | } |