blob: e3ae704f3686ffa56f1e94c7030540882c15e675 [file] [log] [blame]
Ravi Tejae7d68c32020-03-15 13:30:41 -05001{
2 "$id": "http://redfish.dmtf.org/schemas/v1/OemLogEntry.v1_0_0.json",
3 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
4 "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
5 "definitions": {
6 "OpenBmc": {
7 "additionalProperties": false,
8 "description": "OEM Extension for LogEntry",
9 "longDescription": "OEM Extension for LogEntry for dump.",
10 "patternProperties": {
11 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
12 "description": "This property shall specify a valid odata or Redfish property.",
13 "type": [
14 "array",
15 "boolean",
16 "integer",
17 "number",
18 "null",
19 "object",
20 "string"
21 ]
22 }
23 },
24 "Actions": {
25 "additionalProperties": false,
26 "patternProperties": {
27 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
28 "description": "This property shall specify a valid odata or Redfish property.",
29 "type": [
30 "array",
31 "boolean",
32 "integer",
33 "number",
34 "null",
35 "object",
36 "string"
37 ]
38 }
39 },
40 "properties": {
41 "#LogEntry.DownloadLog": {
42 "$ref": "#/definitions/DownloadLog"
43 }
44 },
45 "type": "object"
46 },
47 "DownloadLog": {
48 "additionalProperties": false,
49 "description": "This action is used to download dump.",
50 "longDescription": "This action is used to download dump.",
51 "parameters": {},
52 "patternProperties": {
53 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
54 "description": "This property shall specify a valid odata or Redfish property.",
55 "type": [
56 "array",
57 "boolean",
58 "integer",
59 "number",
60 "null",
61 "object",
62 "string"
63 ]
64 }
65 },
66 "type": "object"
67 },
68 "properties": {
69 "SizeInB": {
70 "description": "Indicates size of dump in bytes",
71 "longDescription": "The value of this property provides size of this dump entry in bytes",
72 "readonly": true,
73 "type": [
74 "integer",
75 "null"
76 ]
77 }
78 },
79 "type": "object"
80 }
81 },
82 "owningEntity": "OpenBMC",
83 "release": "1.0",
84 "title": "#OemLogEntry.v1_0_0.LogEnry"
85}