Ravi Teja | e7d68c3 | 2020-03-15 13:30:41 -0500 | [diff] [blame] | 1 | { |
| 2 | "$id": "http://redfish.dmtf.org/schemas/v1/OemLogEntry.v1_0_0.json", |
Asmitha Karunanithi | 239c4b8 | 2020-06-12 14:00:21 -0500 | [diff] [blame^] | 3 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json", |
| 4 | "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ravi Teja | e7d68c3 | 2020-03-15 13:30:41 -0500 | [diff] [blame] | 5 | "definitions": { |
Asmitha Karunanithi | 239c4b8 | 2020-06-12 14:00:21 -0500 | [diff] [blame^] | 6 | "DiagnosticDataType": { |
| 7 | "enum": [ |
| 8 | "Manager", |
| 9 | "PreOS", |
| 10 | "OS", |
| 11 | "OEM" |
| 12 | ], |
| 13 | "enumDescriptions": { |
| 14 | "Manager": "Indicates Manager diagnostic data.", |
| 15 | "OEM": "Indicates OEM diagnostic data.", |
| 16 | "OS": "Indicates Operation system(OS) diagnostic data.", |
| 17 | "PreOS": "Indicates Pre-OS diagnostic data." |
| 18 | }, |
| 19 | "type": "string" |
| 20 | }, |
Ravi Teja | e7d68c3 | 2020-03-15 13:30:41 -0500 | [diff] [blame] | 21 | "OpenBmc": { |
Asmitha Karunanithi | 239c4b8 | 2020-06-12 14:00:21 -0500 | [diff] [blame^] | 22 | "additionalProperties": true, |
| 23 | "description": "Oem properties for OpenBmc.", |
Ravi Teja | e7d68c3 | 2020-03-15 13:30:41 -0500 | [diff] [blame] | 24 | "patternProperties": { |
| 25 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 26 | "description": "This property shall specify a valid odata or Redfish property.", |
| 27 | "type": [ |
| 28 | "array", |
| 29 | "boolean", |
| 30 | "integer", |
| 31 | "number", |
| 32 | "null", |
| 33 | "object", |
| 34 | "string" |
| 35 | ] |
| 36 | } |
| 37 | }, |
Ravi Teja | e7d68c3 | 2020-03-15 13:30:41 -0500 | [diff] [blame] | 38 | "properties": { |
Asmitha Karunanithi | 239c4b8 | 2020-06-12 14:00:21 -0500 | [diff] [blame^] | 39 | "AdditionalDataSizeBytes": { |
| 40 | "description": "The size of diagnostic data in bytes for the log entry if the entry type is `DUMP`.", |
| 41 | "longDescription": "This property shall contain the size of diagnostic data in bytes for the log entry if the entry if the entry type is `DUMP`.", |
Ravi Teja | e7d68c3 | 2020-03-15 13:30:41 -0500 | [diff] [blame] | 42 | "readonly": true, |
| 43 | "type": [ |
| 44 | "integer", |
| 45 | "null" |
| 46 | ] |
Asmitha Karunanithi | 239c4b8 | 2020-06-12 14:00:21 -0500 | [diff] [blame^] | 47 | }, |
| 48 | "AdditionalDataURI": { |
| 49 | "description": "The offload URI of the diagnostic data if the entry type is `DUMP`.", |
| 50 | "longDescription": "This property shall contain the offload URI of the diagnostic data if the entry type is `DUMP`.", |
| 51 | "readonly": true, |
| 52 | "type": [ |
| 53 | "string", |
| 54 | "null" |
| 55 | ] |
| 56 | }, |
| 57 | "DiagnosticDataType": { |
| 58 | "anyOf": [ |
| 59 | { |
| 60 | "$ref": "#/definitions/DiagnosticDataType" |
| 61 | }, |
| 62 | { |
| 63 | "type": "null" |
| 64 | } |
| 65 | ], |
| 66 | "description": "The type of diagnostic data entry", |
| 67 | "longDescription": "This property shall contain the type of diagnostic data entry.", |
| 68 | "readonly": true |
| 69 | }, |
| 70 | "OEMDiagnosticDataType": { |
| 71 | "description": "The OEM type of diagnostic data entry", |
| 72 | "longDescription": "This property shall contain the OEM type of diagnostic data entry.", |
| 73 | "readonly": true, |
| 74 | "type": [ |
| 75 | "string", |
| 76 | "null" |
| 77 | ] |
Ravi Teja | e7d68c3 | 2020-03-15 13:30:41 -0500 | [diff] [blame] | 78 | } |
| 79 | }, |
| 80 | "type": "object" |
| 81 | } |
| 82 | }, |
| 83 | "owningEntity": "OpenBMC", |
| 84 | "release": "1.0", |
Asmitha Karunanithi | 239c4b8 | 2020-06-12 14:00:21 -0500 | [diff] [blame^] | 85 | "title": "#OemLogEntry.v1_0_0" |
| 86 | } |