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