xref: /openbmc/bmcweb/features/redfish/schema/dmtf/json-schema/MemoryChunks.v1_6_2.json (revision f2a8e57ede74a8252100b2281e3f4d170aa69391)
1*f2a8e57eSGunnar Mills{
2*f2a8e57eSGunnar Mills    "$id": "http://redfish.dmtf.org/schemas/v1/MemoryChunks.v1_6_2.json",
3*f2a8e57eSGunnar Mills    "$ref": "#/definitions/MemoryChunks",
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                "Oem": {
27*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/OemActions",
28*f2a8e57eSGunnar Mills                    "description": "The available OEM-specific actions for this resource.",
29*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available OEM-specific actions for this resource.",
30*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
31*f2a8e57eSGunnar Mills                }
32*f2a8e57eSGunnar Mills            },
33*f2a8e57eSGunnar Mills            "type": "object"
34*f2a8e57eSGunnar Mills        },
35*f2a8e57eSGunnar Mills        "AddressRangeType": {
36*f2a8e57eSGunnar Mills            "enum": [
37*f2a8e57eSGunnar Mills                "Volatile",
38*f2a8e57eSGunnar Mills                "PMEM",
39*f2a8e57eSGunnar Mills                "Block"
40*f2a8e57eSGunnar Mills            ],
41*f2a8e57eSGunnar Mills            "enumDescriptions": {
42*f2a8e57eSGunnar Mills                "Block": "Block accessible memory.",
43*f2a8e57eSGunnar Mills                "PMEM": "Byte accessible persistent memory.",
44*f2a8e57eSGunnar Mills                "Volatile": "Volatile memory."
45*f2a8e57eSGunnar Mills            },
46*f2a8e57eSGunnar Mills            "type": "string"
47*f2a8e57eSGunnar Mills        },
48*f2a8e57eSGunnar Mills        "InterleaveSet": {
49*f2a8e57eSGunnar Mills            "additionalProperties": false,
50*f2a8e57eSGunnar Mills            "description": "This an interleave set for a memory chunk.",
51*f2a8e57eSGunnar Mills            "longDescription": "This type shall describe an interleave set of which the memory chunk is a part.",
52*f2a8e57eSGunnar Mills            "patternProperties": {
53*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
54*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
55*f2a8e57eSGunnar Mills                    "type": [
56*f2a8e57eSGunnar Mills                        "array",
57*f2a8e57eSGunnar Mills                        "boolean",
58*f2a8e57eSGunnar Mills                        "integer",
59*f2a8e57eSGunnar Mills                        "number",
60*f2a8e57eSGunnar Mills                        "null",
61*f2a8e57eSGunnar Mills                        "object",
62*f2a8e57eSGunnar Mills                        "string"
63*f2a8e57eSGunnar Mills                    ]
64*f2a8e57eSGunnar Mills                }
65*f2a8e57eSGunnar Mills            },
66*f2a8e57eSGunnar Mills            "properties": {
67*f2a8e57eSGunnar Mills                "Memory": {
68*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef",
69*f2a8e57eSGunnar Mills                    "description": "Describes a memory device of the interleave set.",
70*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the memory device to which these settings apply.",
71*f2a8e57eSGunnar Mills                    "readonly": true
72*f2a8e57eSGunnar Mills                },
73*f2a8e57eSGunnar Mills                "MemoryLevel": {
74*f2a8e57eSGunnar Mills                    "description": "Level of the interleave set for multi-level tiered memory.",
75*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the level of this interleave set for multi-level tiered memory.",
76*f2a8e57eSGunnar Mills                    "readonly": true,
77*f2a8e57eSGunnar Mills                    "type": [
78*f2a8e57eSGunnar Mills                        "integer",
79*f2a8e57eSGunnar Mills                        "null"
80*f2a8e57eSGunnar Mills                    ]
81*f2a8e57eSGunnar Mills                },
82*f2a8e57eSGunnar Mills                "OffsetMiB": {
83*f2a8e57eSGunnar Mills                    "description": "Offset within the DIMM that corresponds to the start of this memory region, measured in mebibytes (MiB).",
84*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the offset within the DIMM that corresponds to the start of this memory region, with units in MiB.",
85*f2a8e57eSGunnar Mills                    "readonly": true,
86*f2a8e57eSGunnar Mills                    "type": [
87*f2a8e57eSGunnar Mills                        "integer",
88*f2a8e57eSGunnar Mills                        "null"
89*f2a8e57eSGunnar Mills                    ],
90*f2a8e57eSGunnar Mills                    "units": "MiBy"
91*f2a8e57eSGunnar Mills                },
92*f2a8e57eSGunnar Mills                "RegionId": {
93*f2a8e57eSGunnar Mills                    "description": "DIMM region identifier.",
94*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the DIMM region identifier.",
95*f2a8e57eSGunnar Mills                    "readonly": true,
96*f2a8e57eSGunnar Mills                    "type": [
97*f2a8e57eSGunnar Mills                        "string",
98*f2a8e57eSGunnar Mills                        "null"
99*f2a8e57eSGunnar Mills                    ]
100*f2a8e57eSGunnar Mills                },
101*f2a8e57eSGunnar Mills                "SizeMiB": {
102*f2a8e57eSGunnar Mills                    "description": "Size of this memory region measured in mebibytes (MiB).",
103*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the size of this memory region, with units in MiB.",
104*f2a8e57eSGunnar Mills                    "readonly": true,
105*f2a8e57eSGunnar Mills                    "type": [
106*f2a8e57eSGunnar Mills                        "integer",
107*f2a8e57eSGunnar Mills                        "null"
108*f2a8e57eSGunnar Mills                    ],
109*f2a8e57eSGunnar Mills                    "units": "MiBy"
110*f2a8e57eSGunnar Mills                }
111*f2a8e57eSGunnar Mills            },
112*f2a8e57eSGunnar Mills            "type": "object"
113*f2a8e57eSGunnar Mills        },
114*f2a8e57eSGunnar Mills        "Links": {
115*f2a8e57eSGunnar Mills            "additionalProperties": false,
116*f2a8e57eSGunnar Mills            "description": "The links to other resources that are related to this resource.",
117*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.",
118*f2a8e57eSGunnar Mills            "patternProperties": {
119*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
120*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
121*f2a8e57eSGunnar Mills                    "type": [
122*f2a8e57eSGunnar Mills                        "array",
123*f2a8e57eSGunnar Mills                        "boolean",
124*f2a8e57eSGunnar Mills                        "integer",
125*f2a8e57eSGunnar Mills                        "number",
126*f2a8e57eSGunnar Mills                        "null",
127*f2a8e57eSGunnar Mills                        "object",
128*f2a8e57eSGunnar Mills                        "string"
129*f2a8e57eSGunnar Mills                    ]
130*f2a8e57eSGunnar Mills                }
131*f2a8e57eSGunnar Mills            },
132*f2a8e57eSGunnar Mills            "properties": {
133*f2a8e57eSGunnar Mills                "CXLLogicalDevices": {
134*f2a8e57eSGunnar Mills                    "description": "An array of links to the CXL logical devices associated with this memory chunk.",
135*f2a8e57eSGunnar Mills                    "items": {
136*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/CXLLogicalDevice.json#/definitions/CXLLogicalDevice"
137*f2a8e57eSGunnar Mills                    },
138*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources of type `CXLLogicalDevice` that represent the CXL logical devices associated with this memory chunk.",
139*f2a8e57eSGunnar Mills                    "readonly": true,
140*f2a8e57eSGunnar Mills                    "type": "array",
141*f2a8e57eSGunnar Mills                    "versionAdded": "v1_5_0"
142*f2a8e57eSGunnar Mills                },
143*f2a8e57eSGunnar Mills                "CXLLogicalDevices@odata.count": {
144*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
145*f2a8e57eSGunnar Mills                },
146*f2a8e57eSGunnar Mills                "Endpoints": {
147*f2a8e57eSGunnar Mills                    "description": "An array of links to the endpoints that connect to this memory chunk.",
148*f2a8e57eSGunnar Mills                    "items": {
149*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint"
150*f2a8e57eSGunnar Mills                    },
151*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a link to the resources of type `Endpoint` with which this memory chunk is associated.",
152*f2a8e57eSGunnar Mills                    "readonly": true,
153*f2a8e57eSGunnar Mills                    "type": "array",
154*f2a8e57eSGunnar Mills                    "versionAdded": "v1_3_0"
155*f2a8e57eSGunnar Mills                },
156*f2a8e57eSGunnar Mills                "Endpoints@odata.count": {
157*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
158*f2a8e57eSGunnar Mills                },
159*f2a8e57eSGunnar Mills                "MemoryRegions": {
160*f2a8e57eSGunnar Mills                    "description": "An array of links to the memory regions for which this memory chunk provides capacity.",
161*f2a8e57eSGunnar Mills                    "items": {
162*f2a8e57eSGunnar Mills                        "$ref": "http://redfish.dmtf.org/schemas/v1/MemoryRegion.json#/definitions/MemoryRegion"
163*f2a8e57eSGunnar Mills                    },
164*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain an array of links to resources of type `MemoryRegion` that represent the memory regions for which this memory chunk provides capacity.",
165*f2a8e57eSGunnar Mills                    "readonly": true,
166*f2a8e57eSGunnar Mills                    "type": "array",
167*f2a8e57eSGunnar Mills                    "versionAdded": "v1_6_0"
168*f2a8e57eSGunnar Mills                },
169*f2a8e57eSGunnar Mills                "MemoryRegions@odata.count": {
170*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
171*f2a8e57eSGunnar Mills                },
172*f2a8e57eSGunnar Mills                "Oem": {
173*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
174*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
175*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."
176*f2a8e57eSGunnar Mills                }
177*f2a8e57eSGunnar Mills            },
178*f2a8e57eSGunnar Mills            "type": "object"
179*f2a8e57eSGunnar Mills        },
180*f2a8e57eSGunnar Mills        "MediaLocation": {
181*f2a8e57eSGunnar Mills            "enum": [
182*f2a8e57eSGunnar Mills                "Local",
183*f2a8e57eSGunnar Mills                "Remote",
184*f2a8e57eSGunnar Mills                "Mixed"
185*f2a8e57eSGunnar Mills            ],
186*f2a8e57eSGunnar Mills            "enumDescriptions": {
187*f2a8e57eSGunnar Mills                "Local": "The memory chunk was created using local media.",
188*f2a8e57eSGunnar Mills                "Mixed": "The memory chunk was created using both local media and remote media accessible through a fabric.",
189*f2a8e57eSGunnar Mills                "Remote": "The memory chunk was created using remote media accessible through a fabric."
190*f2a8e57eSGunnar Mills            },
191*f2a8e57eSGunnar Mills            "type": "string"
192*f2a8e57eSGunnar Mills        },
193*f2a8e57eSGunnar Mills        "MemoryChunks": {
194*f2a8e57eSGunnar Mills            "additionalProperties": false,
195*f2a8e57eSGunnar Mills            "description": "The `MemoryChunks` schema contains the definition of a memory chunk and its configuration.",
196*f2a8e57eSGunnar Mills            "longDescription": "This resource shall represent memory chunks and interleave sets in a Redfish implementation.",
197*f2a8e57eSGunnar Mills            "patternProperties": {
198*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
199*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
200*f2a8e57eSGunnar Mills                    "type": [
201*f2a8e57eSGunnar Mills                        "array",
202*f2a8e57eSGunnar Mills                        "boolean",
203*f2a8e57eSGunnar Mills                        "integer",
204*f2a8e57eSGunnar Mills                        "number",
205*f2a8e57eSGunnar Mills                        "null",
206*f2a8e57eSGunnar Mills                        "object",
207*f2a8e57eSGunnar Mills                        "string"
208*f2a8e57eSGunnar Mills                    ]
209*f2a8e57eSGunnar Mills                }
210*f2a8e57eSGunnar Mills            },
211*f2a8e57eSGunnar Mills            "properties": {
212*f2a8e57eSGunnar Mills                "@odata.context": {
213*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
214*f2a8e57eSGunnar Mills                },
215*f2a8e57eSGunnar Mills                "@odata.etag": {
216*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
217*f2a8e57eSGunnar Mills                },
218*f2a8e57eSGunnar Mills                "@odata.id": {
219*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
220*f2a8e57eSGunnar Mills                },
221*f2a8e57eSGunnar Mills                "@odata.type": {
222*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
223*f2a8e57eSGunnar Mills                },
224*f2a8e57eSGunnar Mills                "Actions": {
225*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Actions",
226*f2a8e57eSGunnar Mills                    "description": "The available actions for this resource.",
227*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the available actions for this resource.",
228*f2a8e57eSGunnar Mills                    "versionAdded": "v1_1_0"
229*f2a8e57eSGunnar Mills                },
230*f2a8e57eSGunnar Mills                "AddressRangeOffsetMiB": {
231*f2a8e57eSGunnar Mills                    "description": "Offset of the memory chunk in the address range in MiB.",
232*f2a8e57eSGunnar Mills                    "longDescription": "The value of this property shall be the offset of the memory chunk in the address range in MiB.",
233*f2a8e57eSGunnar Mills                    "readonly": true,
234*f2a8e57eSGunnar Mills                    "type": [
235*f2a8e57eSGunnar Mills                        "integer",
236*f2a8e57eSGunnar Mills                        "null"
237*f2a8e57eSGunnar Mills                    ],
238*f2a8e57eSGunnar Mills                    "units": "MiBy",
239*f2a8e57eSGunnar Mills                    "versionAdded": "v1_3_0"
240*f2a8e57eSGunnar Mills                },
241*f2a8e57eSGunnar Mills                "AddressRangeType": {
242*f2a8e57eSGunnar Mills                    "anyOf": [
243*f2a8e57eSGunnar Mills                        {
244*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/AddressRangeType"
245*f2a8e57eSGunnar Mills                        },
246*f2a8e57eSGunnar Mills                        {
247*f2a8e57eSGunnar Mills                            "type": "null"
248*f2a8e57eSGunnar Mills                        }
249*f2a8e57eSGunnar Mills                    ],
250*f2a8e57eSGunnar Mills                    "description": "Memory type of this memory chunk.",
251*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the type of memory chunk.",
252*f2a8e57eSGunnar Mills                    "readonly": true
253*f2a8e57eSGunnar Mills                },
254*f2a8e57eSGunnar Mills                "Description": {
255*f2a8e57eSGunnar Mills                    "anyOf": [
256*f2a8e57eSGunnar Mills                        {
257*f2a8e57eSGunnar Mills                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
258*f2a8e57eSGunnar Mills                        },
259*f2a8e57eSGunnar Mills                        {
260*f2a8e57eSGunnar Mills                            "type": "null"
261*f2a8e57eSGunnar Mills                        }
262*f2a8e57eSGunnar Mills                    ],
263*f2a8e57eSGunnar Mills                    "readonly": true
264*f2a8e57eSGunnar Mills                },
265*f2a8e57eSGunnar Mills                "DisplayName": {
266*f2a8e57eSGunnar Mills                    "description": "A user-configurable string to name the memory chunk.",
267*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain a user-configurable string to name the memory chunk.",
268*f2a8e57eSGunnar Mills                    "readonly": false,
269*f2a8e57eSGunnar Mills                    "type": [
270*f2a8e57eSGunnar Mills                        "string",
271*f2a8e57eSGunnar Mills                        "null"
272*f2a8e57eSGunnar Mills                    ],
273*f2a8e57eSGunnar Mills                    "versionAdded": "v1_4_0"
274*f2a8e57eSGunnar Mills                },
275*f2a8e57eSGunnar Mills                "Id": {
276*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
277*f2a8e57eSGunnar Mills                    "readonly": true
278*f2a8e57eSGunnar Mills                },
279*f2a8e57eSGunnar Mills                "InterleaveSets": {
280*f2a8e57eSGunnar Mills                    "description": "The interleave sets for the memory chunk.",
281*f2a8e57eSGunnar Mills                    "items": {
282*f2a8e57eSGunnar Mills                        "$ref": "#/definitions/InterleaveSet"
283*f2a8e57eSGunnar Mills                    },
284*f2a8e57eSGunnar Mills                    "longDescription": "These properties shall represent the interleave sets for the memory chunk.  If not specified by the client during a create operation, the memory chunk shall be created across all available memory within the memory domain.",
285*f2a8e57eSGunnar Mills                    "type": "array"
286*f2a8e57eSGunnar Mills                },
287*f2a8e57eSGunnar Mills                "IsMirrorEnabled": {
288*f2a8e57eSGunnar Mills                    "description": "An indication of whether memory mirroring is enabled for this memory chunk.",
289*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether memory mirroring is enabled for this memory chunk.",
290*f2a8e57eSGunnar Mills                    "readonly": true,
291*f2a8e57eSGunnar Mills                    "type": [
292*f2a8e57eSGunnar Mills                        "boolean",
293*f2a8e57eSGunnar Mills                        "null"
294*f2a8e57eSGunnar Mills                    ]
295*f2a8e57eSGunnar Mills                },
296*f2a8e57eSGunnar Mills                "IsSpare": {
297*f2a8e57eSGunnar Mills                    "description": "An indication of whether sparing is enabled for this memory chunk.",
298*f2a8e57eSGunnar Mills                    "longDescription": "This property shall indicate whether sparing is enabled for this memory chunk.",
299*f2a8e57eSGunnar Mills                    "readonly": true,
300*f2a8e57eSGunnar Mills                    "type": [
301*f2a8e57eSGunnar Mills                        "boolean",
302*f2a8e57eSGunnar Mills                        "null"
303*f2a8e57eSGunnar Mills                    ]
304*f2a8e57eSGunnar Mills                },
305*f2a8e57eSGunnar Mills                "Links": {
306*f2a8e57eSGunnar Mills                    "$ref": "#/definitions/Links",
307*f2a8e57eSGunnar Mills                    "description": "The links to other resources that are related to this resource.",
308*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource.",
309*f2a8e57eSGunnar Mills                    "versionAdded": "v1_3_0"
310*f2a8e57eSGunnar Mills                },
311*f2a8e57eSGunnar Mills                "MediaLocation": {
312*f2a8e57eSGunnar Mills                    "anyOf": [
313*f2a8e57eSGunnar Mills                        {
314*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/MediaLocation"
315*f2a8e57eSGunnar Mills                        },
316*f2a8e57eSGunnar Mills                        {
317*f2a8e57eSGunnar Mills                            "type": "null"
318*f2a8e57eSGunnar Mills                        }
319*f2a8e57eSGunnar Mills                    ],
320*f2a8e57eSGunnar Mills                    "description": "The location of the memory media for this memory chunk.",
321*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the location of the memory media for this memory chunk.",
322*f2a8e57eSGunnar Mills                    "readonly": false,
323*f2a8e57eSGunnar Mills                    "versionAdded": "v1_5_0"
324*f2a8e57eSGunnar Mills                },
325*f2a8e57eSGunnar Mills                "MemoryChunkSizeMiB": {
326*f2a8e57eSGunnar Mills                    "description": "Size of the memory chunk measured in mebibytes (MiB).",
327*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the size of the memory chunk in MiB.",
328*f2a8e57eSGunnar Mills                    "readonly": true,
329*f2a8e57eSGunnar Mills                    "type": [
330*f2a8e57eSGunnar Mills                        "integer",
331*f2a8e57eSGunnar Mills                        "null"
332*f2a8e57eSGunnar Mills                    ],
333*f2a8e57eSGunnar Mills                    "units": "MiBy"
334*f2a8e57eSGunnar Mills                },
335*f2a8e57eSGunnar Mills                "Name": {
336*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
337*f2a8e57eSGunnar Mills                    "readonly": true
338*f2a8e57eSGunnar Mills                },
339*f2a8e57eSGunnar Mills                "Oem": {
340*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
341*f2a8e57eSGunnar Mills                    "description": "The OEM extension property.",
342*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."
343*f2a8e57eSGunnar Mills                },
344*f2a8e57eSGunnar Mills                "RequestedOperationalState": {
345*f2a8e57eSGunnar Mills                    "anyOf": [
346*f2a8e57eSGunnar Mills                        {
347*f2a8e57eSGunnar Mills                            "$ref": "#/definitions/OperationalState"
348*f2a8e57eSGunnar Mills                        },
349*f2a8e57eSGunnar Mills                        {
350*f2a8e57eSGunnar Mills                            "type": "null"
351*f2a8e57eSGunnar Mills                        }
352*f2a8e57eSGunnar Mills                    ],
353*f2a8e57eSGunnar Mills                    "description": "The requested operational state of this memory chunk.",
354*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain the requested operational state of this memory chunk.",
355*f2a8e57eSGunnar Mills                    "readonly": false,
356*f2a8e57eSGunnar Mills                    "versionAdded": "v1_5_0"
357*f2a8e57eSGunnar Mills                },
358*f2a8e57eSGunnar Mills                "Status": {
359*f2a8e57eSGunnar Mills                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status",
360*f2a8e57eSGunnar Mills                    "description": "The status and health of the resource and its subordinate or dependent resources.",
361*f2a8e57eSGunnar Mills                    "longDescription": "This property shall contain any status or health properties of the resource.",
362*f2a8e57eSGunnar Mills                    "versionAdded": "v1_2_0"
363*f2a8e57eSGunnar Mills                }
364*f2a8e57eSGunnar Mills            },
365*f2a8e57eSGunnar Mills            "required": [
366*f2a8e57eSGunnar Mills                "AddressRangeType",
367*f2a8e57eSGunnar Mills                "@odata.id",
368*f2a8e57eSGunnar Mills                "@odata.type",
369*f2a8e57eSGunnar Mills                "Id",
370*f2a8e57eSGunnar Mills                "Name"
371*f2a8e57eSGunnar Mills            ],
372*f2a8e57eSGunnar Mills            "type": "object"
373*f2a8e57eSGunnar Mills        },
374*f2a8e57eSGunnar Mills        "OemActions": {
375*f2a8e57eSGunnar Mills            "additionalProperties": true,
376*f2a8e57eSGunnar Mills            "description": "The available OEM-specific actions for this resource.",
377*f2a8e57eSGunnar Mills            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
378*f2a8e57eSGunnar Mills            "patternProperties": {
379*f2a8e57eSGunnar Mills                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
380*f2a8e57eSGunnar Mills                    "description": "This property shall specify a valid odata or Redfish property.",
381*f2a8e57eSGunnar Mills                    "type": [
382*f2a8e57eSGunnar Mills                        "array",
383*f2a8e57eSGunnar Mills                        "boolean",
384*f2a8e57eSGunnar Mills                        "integer",
385*f2a8e57eSGunnar Mills                        "number",
386*f2a8e57eSGunnar Mills                        "null",
387*f2a8e57eSGunnar Mills                        "object",
388*f2a8e57eSGunnar Mills                        "string"
389*f2a8e57eSGunnar Mills                    ]
390*f2a8e57eSGunnar Mills                }
391*f2a8e57eSGunnar Mills            },
392*f2a8e57eSGunnar Mills            "properties": {},
393*f2a8e57eSGunnar Mills            "type": "object"
394*f2a8e57eSGunnar Mills        },
395*f2a8e57eSGunnar Mills        "OperationalState": {
396*f2a8e57eSGunnar Mills            "enum": [
397*f2a8e57eSGunnar Mills                "Online",
398*f2a8e57eSGunnar Mills                "Offline"
399*f2a8e57eSGunnar Mills            ],
400*f2a8e57eSGunnar Mills            "enumDescriptions": {
401*f2a8e57eSGunnar Mills                "Offline": "Memory chunk cannot be used.  Consumers of this memory chunk should perform cleanup operations as needed to prepare for the removal of this memory chunk.",
402*f2a8e57eSGunnar Mills                "Online": "Memory chunk can be used."
403*f2a8e57eSGunnar Mills            },
404*f2a8e57eSGunnar Mills            "type": "string"
405*f2a8e57eSGunnar Mills        }
406*f2a8e57eSGunnar Mills    },
407*f2a8e57eSGunnar Mills    "language": "en",
408*f2a8e57eSGunnar Mills    "owningEntity": "DMTF",
409*f2a8e57eSGunnar Mills    "release": "2023.2",
410*f2a8e57eSGunnar Mills    "title": "#MemoryChunks.v1_6_2.MemoryChunks"
411*f2a8e57eSGunnar Mills}