static/DSP8010_2016.3/json-schema/UpdateService.v1_0_1.json
{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_1_0.json",
"title": "#UpdateService.v1_0_1.UpdateService",
"$ref": "#/definitions/UpdateService",
"definitions": {
"SimpleUpdate": {
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"title": {
"type": "string",
"description": "Friendly action name"
},
"target": {
"type": "string",
"format": "uri",
"description": "Link to invoke action"
}
},
"description": "This action is used to update software components.",
"longDescription": "This action shall perform an update of installed software component(s) as contained within a software image file located at a URI referenced by the ImageURI parameter."
},
"TransferProtocolType": {
"type": "string",
"enum": [
"CIFS",
"FTP",
"SFTP",
"HTTP",
"HTTPS",
"NSF",
"SCP",
"TFTP",
"OEM"
],
"enumDescriptions": {
"CIFS": "Common Internet File System protocol.",
"FTP": "File Transfer Protocol.",
"SFTP": "Secure File Transfer Protocol.",
"HTTP": "Hypertext Transfer Protocol.",
"HTTPS": "HTTP Secure protocol.",
"NSF": "Network File System protocol.",
"SCP": "Secure File Copy protocol.",
"TFTP": "Trivial File Transfer Protocol.",
"OEM": "A protocol defined by the manufacturer."
}
},
"UpdateService": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"@odata.context": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
},
"@odata.id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
},
"@odata.type": {
"$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
},
"Oem": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
"description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
"longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
},
"Id": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
"readonly": true
},
"Description": {
"anyOf": [
{"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"},
{"type": "null"}
],
"readonly": true
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
"readonly": true
},
"Status": {
"anyOf": [
{"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"},
{"type": "null"}
]
},
"ServiceEnabled": {
"type": [
"boolean",
"null"
],
"readonly": false,
"description": "This indicates whether this service is enabled.",
"longDescription": "The value of this property shall be a boolean indicating whether this service is enabled."
},
"Actions": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": false,
"properties": {
"Oem": {
"type": "object",
"patternProperties": {
"^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
"type": [
"array",
"boolean",
"number",
"null",
"object",
"string"
],
"description": "This property shall specify a valid odata or Redfish property."
}
},
"additionalProperties": true,
"properties": {}
},
"#UpdateService.SimpleUpdate": {
"$ref": "#/definitions/SimpleUpdate"
}
},
"description": "The Actions object contains the available custom actions on this resource."
},
"FirmwareInventory": {
"anyOf": [
{"$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventoryCollection.json#/definitions/SoftwareInventoryCollection"},
{"type": "null"}
],
"readonly": true,
"description": "An inventory of firmware.",
"longDescription": "The value of this property shall be a link to a resource of type SoftwareInventoryCollection."
},
"SoftwareInventory": {
"anyOf": [
{"$ref": "http://redfish.dmtf.org/schemas/v1/SoftwareInventoryCollection.json#/definitions/SoftwareInventoryCollection"},
{"type": "null"}
],
"readonly": true,
"description": "An inventory of software.",
"longDescription": "The value of this property shall be a link to a resource of type SoftwareInventoryCollection."
}
},
"required": [
"Id",
"Name"
],
"description": "This is the schema definition for the Update Service. It represents the properties for the service itself and has links to collections of firmware and software inventory.",
"longDescription": "This resource shall be used to represent an Update Service for a Redfish implementation. It represents the properties that affect the service itself."
}
},
"copyright": "Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright"
}