alexandria/alexandria/model/redfish/1.0/SimpleStorage.1.0.0.json

124 lines
5.9 KiB
JSON
Executable File

{
"$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.1.0.0.json",
"title": "#SimpleStorage.1.0.0.SimpleStorage",
"$ref": "#/definitions/SimpleStorage",
"definitions": {
"Device": {
"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": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem"
},
"Name": {
"type": "string",
"readonly": true,
"description": "The name of the resource or array element.",
"longDescription": "This object represents the Name property. All values for resources described by this schema shall comply to the requirements as described in the Redfish specification. The value of this string shall be of the format for the reserved word *Name*."
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
},
"Manufacturer": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The name of the manufacturer of this device",
"longDescription": "This property shall indicate the name of the manufacturer of this storage device."
},
"Model": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The product model number of this device",
"longDescription": "This property shall indicate the model information as provided by the manufacturer of this storage device."
}
},
"required": [
"Name"
]
},
"SimpleStorage": {
"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"
},
"Description": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
},
"Name": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name"
},
"UefiDevicePath": {
"type": [
"string",
"null"
],
"readonly": true,
"description": "The UEFI device path used to access this storage controller.",
"longDescription": "This property shall contain the UEFI device path used to identify and locate the specific storage controller"
},
"Devices": {
"type": "array",
"items": {
"$ref": "#/definitions/Device"
},
"readonly": true,
"description": "The storage devices associated with this resource",
"longDescription": "This property shall contain a list of storage devices associated with this resource"
},
"Status": {
"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status"
}
},
"description": "This is the schema definition for the Simple Storage resource. It represents the properties of a storage controller and its directly-attached devices."
}
},
"copyright": "Copyright 2014-2015 Distributed Management Task Force, Inc. (DMTF). All rights reserved."
}