1720c9898SEd Tanous{
2720c9898SEd Tanous    "$id": "http://redfish.dmtf.org/schemas/v1/MemoryCollection.json",
3720c9898SEd Tanous    "$ref": "#/definitions/MemoryCollection",
4720c9898SEd Tanous    "$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",
6720c9898SEd Tanous    "definitions": {
7720c9898SEd Tanous        "MemoryCollection": {
8720c9898SEd Tanous            "anyOf": [
9720c9898SEd Tanous                {
10720c9898SEd Tanous                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
11720c9898SEd Tanous                },
12720c9898SEd Tanous                {
13720c9898SEd Tanous                    "additionalProperties": false,
14*f2a8e57eSGunnar Mills                    "description": "The collection of `Memory` resource instances.",
15*f2a8e57eSGunnar Mills                    "longDescription": "This resource shall represent a resource collection of `Memory` instances for a Redfish implementation.",
16720c9898SEd Tanous                    "patternProperties": {
17720c9898SEd Tanous                        "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
18720c9898SEd Tanous                            "description": "This property shall specify a valid odata or Redfish property.",
19720c9898SEd Tanous                            "type": [
20720c9898SEd Tanous                                "array",
21720c9898SEd Tanous                                "boolean",
22720c9898SEd Tanous                                "integer",
23720c9898SEd Tanous                                "number",
24720c9898SEd Tanous                                "null",
25720c9898SEd Tanous                                "object",
26720c9898SEd Tanous                                "string"
27720c9898SEd Tanous                            ]
28720c9898SEd Tanous                        }
29720c9898SEd Tanous                    },
30720c9898SEd Tanous                    "properties": {
31720c9898SEd Tanous                        "@odata.context": {
32720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
33720c9898SEd Tanous                        },
34720c9898SEd Tanous                        "@odata.etag": {
35720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
36720c9898SEd Tanous                        },
37720c9898SEd Tanous                        "@odata.id": {
38720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
39720c9898SEd Tanous                        },
40720c9898SEd Tanous                        "@odata.type": {
41720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
42720c9898SEd Tanous                        },
43720c9898SEd Tanous                        "Description": {
44720c9898SEd Tanous                            "anyOf": [
45720c9898SEd Tanous                                {
46720c9898SEd Tanous                                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
47720c9898SEd Tanous                                },
48720c9898SEd Tanous                                {
49720c9898SEd Tanous                                    "type": "null"
50720c9898SEd Tanous                                }
51720c9898SEd Tanous                            ],
52720c9898SEd Tanous                            "readonly": true
53720c9898SEd Tanous                        },
54720c9898SEd Tanous                        "Members": {
55720c9898SEd Tanous                            "description": "The members of this collection.",
56720c9898SEd Tanous                            "items": {
57720c9898SEd Tanous                                "$ref": "http://redfish.dmtf.org/schemas/v1/Memory.json#/definitions/Memory"
58720c9898SEd Tanous                            },
59720c9898SEd Tanous                            "longDescription": "This property shall contain an array of links to the members of this collection.",
60720c9898SEd Tanous                            "readonly": true,
61720c9898SEd Tanous                            "type": "array"
62720c9898SEd Tanous                        },
63720c9898SEd Tanous                        "Members@odata.count": {
64720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
65720c9898SEd Tanous                        },
66720c9898SEd Tanous                        "Members@odata.nextLink": {
67720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/nextLink"
68720c9898SEd Tanous                        },
69720c9898SEd Tanous                        "Name": {
70720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
71720c9898SEd Tanous                            "readonly": true
72720c9898SEd Tanous                        },
73720c9898SEd Tanous                        "Oem": {
74720c9898SEd Tanous                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
75720c9898SEd Tanous                            "description": "The OEM extension property.",
76720c9898SEd Tanous                            "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
77720c9898SEd Tanous                        }
78720c9898SEd Tanous                    },
79720c9898SEd Tanous                    "required": [
80720c9898SEd Tanous                        "Members",
81720c9898SEd Tanous                        "Members@odata.count",
82720c9898SEd Tanous                        "@odata.id",
83720c9898SEd Tanous                        "@odata.type",
84720c9898SEd Tanous                        "Name"
85720c9898SEd Tanous                    ],
86720c9898SEd Tanous                    "type": "object"
87720c9898SEd Tanous                }
88720c9898SEd Tanous            ],
89720c9898SEd Tanous            "deletable": false,
90720c9898SEd Tanous            "insertable": false,
91720c9898SEd Tanous            "updatable": false,
92720c9898SEd Tanous            "uris": [
93720c9898SEd Tanous                "/redfish/v1/Systems/{ComputerSystemId}/Memory",
94*f2a8e57eSGunnar Mills                "/redfish/v1/Systems/{ComputerSystemId}/Processors/{ProcessorId}/CacheMemory",
95720c9898SEd Tanous                "/redfish/v1/Chassis/{ChassisId}/Memory",
96720c9898SEd Tanous                "/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Memory",
97720c9898SEd Tanous                "/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Memory"
98720c9898SEd Tanous            ]
99720c9898SEd Tanous        }
100720c9898SEd Tanous    },
101*f2a8e57eSGunnar Mills    "language": "en",
102720c9898SEd Tanous    "owningEntity": "DMTF",
103720c9898SEd Tanous    "title": "#MemoryCollection.MemoryCollection"
104720c9898SEd Tanous}