Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 1 | { |
| 2 | "$id": "http://redfish.dmtf.org/schemas/v1/MediaController.v1_0_0.json", |
| 3 | "$ref": "#/definitions/MediaController", |
| 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
| 5 | "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
| 6 | "definitions": { |
| 7 | "Actions": { |
| 8 | "additionalProperties": false, |
| 9 | "description": "The available actions for this Resource.", |
| 10 | "longDescription": "This type shall contain the available actions for this Resource.", |
| 11 | "patternProperties": { |
| 12 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 13 | "description": "This property shall specify a valid odata or Redfish property.", |
| 14 | "type": [ |
| 15 | "array", |
| 16 | "boolean", |
| 17 | "integer", |
| 18 | "number", |
| 19 | "null", |
| 20 | "object", |
| 21 | "string" |
| 22 | ] |
| 23 | } |
| 24 | }, |
| 25 | "properties": { |
| 26 | "#MediaController.Reset": { |
| 27 | "$ref": "#/definitions/Reset" |
| 28 | }, |
| 29 | "Oem": { |
| 30 | "$ref": "#/definitions/OemActions", |
| 31 | "description": "The available OEM-specific actions for this Resource.", |
| 32 | "longDescription": "This property shall contain the available OEM-specific actions for this Resource." |
| 33 | } |
| 34 | }, |
| 35 | "type": "object" |
| 36 | }, |
| 37 | "Links": { |
| 38 | "additionalProperties": false, |
| 39 | "description": "The links to other Resources that are related to this Resource.", |
| 40 | "longDescription": "This Redfish Specification-described type shall contain links to Resources that are related to but are not contained by or subordinate to this Resource.", |
| 41 | "patternProperties": { |
| 42 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 43 | "description": "This property shall specify a valid odata or Redfish property.", |
| 44 | "type": [ |
| 45 | "array", |
| 46 | "boolean", |
| 47 | "integer", |
| 48 | "number", |
| 49 | "null", |
| 50 | "object", |
| 51 | "string" |
| 52 | ] |
| 53 | } |
| 54 | }, |
| 55 | "properties": { |
| 56 | "Endpoints": { |
| 57 | "description": "An array of links to the endpoints that connect to this media controller.", |
| 58 | "items": { |
| 59 | "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint" |
| 60 | }, |
| 61 | "longDescription": "This property shall contain an array of links to Resources of type Endpoint with which this media controller is associated.", |
| 62 | "readonly": true, |
| 63 | "type": "array" |
| 64 | }, |
| 65 | "Endpoints@odata.count": { |
| 66 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" |
| 67 | }, |
| 68 | "MemoryDomains": { |
| 69 | "description": "An array of links to the memory domains associated with this media controller.", |
| 70 | "items": { |
| 71 | "$ref": "http://redfish.dmtf.org/schemas/v1/MemoryDomain.json#/definitions/MemoryDomain" |
| 72 | }, |
| 73 | "longDescription": "This property shall contain an array of links to Resources of type MemoryDomain that represent the memory domains associated with this memory controller.", |
| 74 | "readonly": true, |
| 75 | "type": "array" |
| 76 | }, |
| 77 | "MemoryDomains@odata.count": { |
| 78 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" |
| 79 | }, |
| 80 | "Oem": { |
| 81 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 82 | "description": "The OEM extension property.", |
| 83 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements." |
| 84 | } |
| 85 | }, |
| 86 | "type": "object" |
| 87 | }, |
| 88 | "MediaController": { |
| 89 | "additionalProperties": false, |
| 90 | "description": "The schema definition of the media controller and its configuration.", |
| 91 | "longDescription": "This Resource contains the media controller in a Redfish implementation.", |
| 92 | "patternProperties": { |
| 93 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 94 | "description": "This property shall specify a valid odata or Redfish property.", |
| 95 | "type": [ |
| 96 | "array", |
| 97 | "boolean", |
| 98 | "integer", |
| 99 | "number", |
| 100 | "null", |
| 101 | "object", |
| 102 | "string" |
| 103 | ] |
| 104 | } |
| 105 | }, |
| 106 | "properties": { |
| 107 | "@odata.context": { |
| 108 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
| 109 | }, |
| 110 | "@odata.etag": { |
| 111 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
| 112 | }, |
| 113 | "@odata.id": { |
| 114 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
| 115 | }, |
| 116 | "@odata.type": { |
| 117 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
| 118 | }, |
| 119 | "Actions": { |
| 120 | "$ref": "#/definitions/Actions", |
| 121 | "description": "The available actions for this Resource.", |
| 122 | "longDescription": "This property shall contain the available actions for this Resource." |
| 123 | }, |
| 124 | "Description": { |
| 125 | "anyOf": [ |
| 126 | { |
| 127 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 128 | }, |
| 129 | { |
| 130 | "type": "null" |
| 131 | } |
| 132 | ], |
| 133 | "readonly": true |
| 134 | }, |
| 135 | "Id": { |
| 136 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 137 | "readonly": true |
| 138 | }, |
| 139 | "Links": { |
| 140 | "$ref": "#/definitions/Links", |
| 141 | "description": "The links to other Resources that are related to this Resource.", |
| 142 | "longDescription": "The Redfish Specification-described Links Property shall contain links to Resources related to but not subordinate to this Resource." |
| 143 | }, |
| 144 | "Manufacturer": { |
| 145 | "description": "The manufacturer of this media controller.", |
| 146 | "longDescription": "This property shall contain the manufacturer of the media controller.", |
| 147 | "readonly": true, |
| 148 | "type": [ |
| 149 | "string", |
| 150 | "null" |
| 151 | ] |
| 152 | }, |
| 153 | "MediaControllerType": { |
| 154 | "anyOf": [ |
| 155 | { |
| 156 | "$ref": "#/definitions/MediaControllerType" |
| 157 | }, |
| 158 | { |
| 159 | "type": "null" |
| 160 | } |
| 161 | ], |
| 162 | "description": "The type of media controller.", |
| 163 | "longDescription": "This property shall contain the type of media controller.", |
| 164 | "readonly": true |
| 165 | }, |
| 166 | "Model": { |
| 167 | "description": "The model of this media controller.", |
| 168 | "longDescription": "This property shall contain the model of the media controller.", |
| 169 | "readonly": true, |
| 170 | "type": [ |
| 171 | "string", |
| 172 | "null" |
| 173 | ] |
| 174 | }, |
| 175 | "Name": { |
| 176 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 177 | "readonly": true |
| 178 | }, |
| 179 | "Oem": { |
| 180 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
| 181 | "description": "The OEM extension property.", |
| 182 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
| 183 | }, |
| 184 | "PartNumber": { |
| 185 | "description": "The part number of this media controller.", |
| 186 | "longDescription": "This property shall indicate the part number as provided by the manufacturer of this media controller.", |
| 187 | "readonly": true, |
| 188 | "type": [ |
| 189 | "string", |
| 190 | "null" |
| 191 | ] |
| 192 | }, |
| 193 | "Ports": { |
| 194 | "$ref": "http://redfish.dmtf.org/schemas/v1/PortCollection.json#/definitions/PortCollection", |
| 195 | "description": "The link to the collection of ports associated with this media controller.", |
| 196 | "longDescription": "This property shall contain a link to a Resource Collection of type PortCollection.", |
| 197 | "readonly": true |
| 198 | }, |
| 199 | "SerialNumber": { |
| 200 | "description": "The serial number of this media controller.", |
| 201 | "longDescription": "This property shall indicate the serial number as provided by the manufacturer of this media controller.", |
| 202 | "readonly": true, |
| 203 | "type": [ |
| 204 | "string", |
| 205 | "null" |
| 206 | ] |
| 207 | }, |
| 208 | "Status": { |
| 209 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
| 210 | "description": "The status and health of the Resource and its subordinate or dependent Resources.", |
| 211 | "longDescription": "This property shall contain any status or health properties of the Resource." |
| 212 | } |
| 213 | }, |
| 214 | "required": [ |
| 215 | "@odata.id", |
| 216 | "@odata.type", |
| 217 | "Id", |
| 218 | "Name" |
| 219 | ], |
| 220 | "type": "object" |
| 221 | }, |
| 222 | "MediaControllerType": { |
| 223 | "enum": [ |
| 224 | "Memory" |
| 225 | ], |
| 226 | "enumDescriptions": { |
| 227 | "Memory": "The media controller is for memory." |
| 228 | }, |
| 229 | "enumLongDescriptions": { |
| 230 | "Memory": "This value shall indicate the media controller is for memory." |
| 231 | }, |
| 232 | "type": "string" |
| 233 | }, |
| 234 | "OemActions": { |
| 235 | "additionalProperties": true, |
| 236 | "description": "The available OEM-specific actions for this Resource.", |
| 237 | "longDescription": "This type shall contain the available OEM-specific actions for this Resource.", |
| 238 | "patternProperties": { |
| 239 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 240 | "description": "This property shall specify a valid odata or Redfish property.", |
| 241 | "type": [ |
| 242 | "array", |
| 243 | "boolean", |
| 244 | "integer", |
| 245 | "number", |
| 246 | "null", |
| 247 | "object", |
| 248 | "string" |
| 249 | ] |
| 250 | } |
| 251 | }, |
| 252 | "properties": {}, |
| 253 | "type": "object" |
| 254 | }, |
| 255 | "Reset": { |
| 256 | "additionalProperties": false, |
| 257 | "description": "This action resets this media controller.", |
| 258 | "longDescription": "This action shall reset this media controller.", |
| 259 | "parameters": { |
| 260 | "ResetType": { |
| 261 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/ResetType", |
| 262 | "description": "The type of reset.", |
| 263 | "longDescription": "This parameter shall contain the type of reset. The Service may accept a request without the parameter and perform an implementation-specific default reset." |
| 264 | } |
| 265 | }, |
| 266 | "patternProperties": { |
| 267 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 268 | "description": "This property shall specify a valid odata or Redfish property.", |
| 269 | "type": [ |
| 270 | "array", |
| 271 | "boolean", |
| 272 | "integer", |
| 273 | "number", |
| 274 | "null", |
| 275 | "object", |
| 276 | "string" |
| 277 | ] |
| 278 | } |
| 279 | }, |
| 280 | "properties": { |
| 281 | "target": { |
| 282 | "description": "Link to invoke action", |
| 283 | "format": "uri-reference", |
| 284 | "type": "string" |
| 285 | }, |
| 286 | "title": { |
| 287 | "description": "Friendly action name", |
| 288 | "type": "string" |
| 289 | } |
| 290 | }, |
| 291 | "type": "object" |
| 292 | } |
| 293 | }, |
| 294 | "owningEntity": "DMTF", |
| 295 | "release": "2019.4", |
| 296 | "title": "#MediaController.v1_0_0.MediaController" |
| 297 | } |