Jason M. Bills | ddfc22f | 2019-10-08 12:10:39 -0700 | [diff] [blame] | 1 | { |
Gunnar Mills | 4f50ae4 | 2020-02-06 15:29:57 -0600 | [diff] [blame] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/OemCrashdump.v1_0_0.json", |
Jason M. Bills | ddfc22f | 2019-10-08 12:10:39 -0700 | [diff] [blame] | 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 | "Actions": { |
| 7 | "additionalProperties": false, |
| 8 | "patternProperties": { |
| 9 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 10 | "description": "This property shall specify a valid odata or Redfish property.", |
| 11 | "type": [ |
| 12 | "array", |
| 13 | "boolean", |
| 14 | "integer", |
| 15 | "number", |
| 16 | "null", |
| 17 | "object", |
| 18 | "string" |
| 19 | ] |
| 20 | } |
| 21 | }, |
| 22 | "properties": { |
| 23 | "#Crashdump.OnDemand": { |
| 24 | "$ref": "#/definitions/OnDemand" |
| 25 | }, |
| 26 | "#Crashdump.SendRawPeci": { |
| 27 | "$ref": "#/definitions/SendRawPeci" |
| 28 | } |
| 29 | }, |
| 30 | "type": "object" |
| 31 | }, |
| 32 | "OnDemand": { |
| 33 | "additionalProperties": false, |
| 34 | "description": "This action is used to trigger a new on-demand crashdump.", |
| 35 | "longDescription": "This action is used to trigger a new on-demand crashdump which is returned immediately.", |
| 36 | "parameters": {}, |
| 37 | "patternProperties": { |
| 38 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 39 | "description": "This property shall specify a valid odata or Redfish property.", |
| 40 | "type": [ |
| 41 | "array", |
| 42 | "boolean", |
| 43 | "integer", |
| 44 | "number", |
| 45 | "null", |
| 46 | "object", |
| 47 | "string" |
| 48 | ] |
| 49 | } |
| 50 | }, |
| 51 | "properties": { |
| 52 | "target": { |
| 53 | "description": "Link to invoke action", |
| 54 | "format": "uri-reference", |
| 55 | "type": "string" |
| 56 | }, |
| 57 | "title": { |
| 58 | "description": "Friendly action name", |
| 59 | "type": "string" |
| 60 | } |
| 61 | }, |
| 62 | "type": "object" |
| 63 | }, |
| 64 | "SendRawPeci": { |
| 65 | "additionalProperties": false, |
| 66 | "description": "This action is used to send a raw PECI command to the CPU.", |
| 67 | "longDescription": "This action is used to send a raw PECI command to the CPU.", |
| 68 | "parameters": { |
| 69 | "ClientAddress": { |
| 70 | "description": "PECI client address for the command.", |
| 71 | "longDescription": "This defines the PECI client address that is the target for this command.", |
| 72 | "requiredParameter": true, |
| 73 | "type": "integer" |
| 74 | }, |
| 75 | "PECICommand": { |
| 76 | "description": "The raw bytes to be sent as the PECI command.", |
| 77 | "items": { |
| 78 | "type": "integer" |
| 79 | }, |
| 80 | "longDescription": "This defines an array of raw data that is made up of the raw bytes of the PECI command to be sent.", |
| 81 | "requiredParameter": true, |
| 82 | "type": "array" |
| 83 | }, |
| 84 | "ReadLength": { |
| 85 | "description": "Read length parameter for the command", |
| 86 | "longDescription": "This defines the read length parameter for this command.", |
| 87 | "requiredParameter": true, |
| 88 | "type": "integer" |
| 89 | } |
| 90 | }, |
| 91 | "patternProperties": { |
| 92 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 93 | "description": "This property shall specify a valid odata or Redfish property.", |
| 94 | "type": [ |
| 95 | "array", |
| 96 | "boolean", |
| 97 | "integer", |
| 98 | "number", |
| 99 | "null", |
| 100 | "object", |
| 101 | "string" |
| 102 | ] |
| 103 | } |
| 104 | }, |
| 105 | "properties": { |
| 106 | "target": { |
| 107 | "description": "Link to invoke action", |
| 108 | "format": "uri-reference", |
| 109 | "type": "string" |
| 110 | }, |
| 111 | "title": { |
| 112 | "description": "Friendly action name", |
| 113 | "type": "string" |
| 114 | } |
| 115 | }, |
| 116 | "type": "object" |
| 117 | } |
| 118 | }, |
Gunnar Mills | 4f50ae4 | 2020-02-06 15:29:57 -0600 | [diff] [blame] | 119 | "title": "#OemCrashdump.v1_0_0" |
| 120 | } |