blob: 5a9ba086d7e71a9c34b21a888cf1481c2cc421e5 [file] [log] [blame]
{
"$id": "http://redfish.dmtf.org/schemas/v1/OemLogService.v1_0_0.json",
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_2_0.json",
"copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
"definitions": {
"Actions": {
"additionalProperties": false,
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
"boolean",
"integer",
"number",
"null",
"object",
"string"
]
}
},
"properties": {
"#OemLogService.CollectDiagnosticData": {
"$ref": "#/definitions/CollectDiagnosticData"
}
},
"type": "object"
},
"CollectDiagnosticData": {
"additionalProperties": false,
"description": "This action is used to trigger the creation of a dump.",
"longDescription": "This action is used to trigger the creation of a dump.",
"parameters": {
"DiagnosticDataType": {
"$ref": "#/definitions/DiagnosticDataType",
"description": "The type of diagnostic data entry",
"longDescription": "This property shall contain the type of diagnostic data entry.",
"readonly": true,
"requiredParameter": true
},
"OEMDiagnosticDataType": {
"description": "The OEM type of diagnostic data entry",
"longDescription": "This property shall contain the OEM type of diagnostic data entry.",
"readonly": true,
"requiredParameter": true,
"type": "string"
}
},
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
"description": "This property shall specify a valid odata or Redfish property.",
"type": [
"array",
"boolean",
"integer",
"number",
"null",
"object",
"string"
]
}
},
"properties": {
"target": {
"description": "Link to invoke action",
"format": "uri-reference",
"type": "string"
},
"title": {
"description": "Friendly action name",
"type": "string"
}
},
"type": "object"
},
"DiagnosticDataType": {
"enum": [
"Manager",
"PreOS",
"OS",
"OEM"
],
"enumDescriptions": {
"Manager": "Indicates Manager diagnostic data.",
"OEM": "Indicates OEM diagnostic data.",
"OS": "Indicates Operating system(OS) diagnostic data.",
"PreOS": "Indicates Pre-OS diagnostic data."
},
"type": "string"
}
},
"owningEntity": "OpenBMC",
"release": "1.0",
"title": "#OemLogService.v1_0_0"
}