blob: 31756d0a83b3966d109187eae37adf836f62158f [file] [log] [blame]
Ravi Tejae7d68c32020-03-15 13:30:41 -05001{
2 "$id": "http://redfish.dmtf.org/schemas/v1/OemLogEntry.v1_0_0.json",
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -05003 "$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 Tejae7d68c32020-03-15 13:30:41 -05005 "definitions": {
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -05006 "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 Tejae7d68c32020-03-15 13:30:41 -050021 "OpenBmc": {
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -050022 "additionalProperties": true,
23 "description": "Oem properties for OpenBmc.",
Ravi Tejae7d68c32020-03-15 13:30:41 -050024 "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 Tejae7d68c32020-03-15 13:30:41 -050038 "properties": {
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -050039 "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 Tejae7d68c32020-03-15 13:30:41 -050042 "readonly": true,
43 "type": [
44 "integer",
45 "null"
46 ]
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -050047 },
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 Tejae7d68c32020-03-15 13:30:41 -050078 }
79 },
80 "type": "object"
81 }
82 },
83 "owningEntity": "OpenBMC",
84 "release": "1.0",
Asmitha Karunanithi239c4b82020-06-12 14:00:21 -050085 "title": "#OemLogEntry.v1_0_0"
86}