1{
2    "$id": "http://redfish.dmtf.org/schemas/swordfish/v1/VolumeCollection.json",
3    "$ref": "#/definitions/VolumeCollection",
4    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5    "copyright": "Copyright 2015-2024 Storage Networking Industry Association (SNIA), USA. All rights reserved.",
6    "definitions": {
7        "VolumeCollection": {
8            "anyOf": [
9                {
10                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
11                },
12                {
13                    "additionalProperties": false,
14                    "description": "A Collection of Volume resource instances.",
15                    "longDescription": "This collection shall contain references to all Volume resource instances sharing the same parent resource.",
16                    "patternProperties": {
17                        "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
18                            "description": "This property shall specify a valid odata or Redfish property.",
19                            "type": [
20                                "array",
21                                "boolean",
22                                "integer",
23                                "number",
24                                "null",
25                                "object",
26                                "string"
27                            ]
28                        }
29                    },
30                    "properties": {
31                        "@odata.context": {
32                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
33                        },
34                        "@odata.etag": {
35                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
36                        },
37                        "@odata.id": {
38                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
39                        },
40                        "@odata.type": {
41                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
42                        },
43                        "Description": {
44                            "anyOf": [
45                                {
46                                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
47                                },
48                                {
49                                    "type": "null"
50                                }
51                            ],
52                            "readonly": true
53                        },
54                        "Members": {
55                            "description": "The value of each member references a Volume resource.",
56                            "items": {
57                                "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/Volume.json#/definitions/Volume"
58                            },
59                            "longDescription": "The value of each member entry shall reference a Volume resource.",
60                            "readonly": true,
61                            "type": "array"
62                        },
63                        "Members@odata.count": {
64                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
65                        },
66                        "Members@odata.nextLink": {
67                            "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/nextLink"
68                        },
69                        "Name": {
70                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
71                            "readonly": true
72                        },
73                        "Oem": {
74                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
75                            "description": "The OEM extension property.",
76                            "longDescription": "This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."
77                        }
78                    },
79                    "required": [
80                        "Members",
81                        "Members@odata.count",
82                        "@odata.id",
83                        "@odata.type",
84                        "Name"
85                    ],
86                    "type": "object"
87                }
88            ],
89            "deletable": false,
90            "insertable": true,
91            "updatable": false,
92            "uris": [
93                "/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes",
94                "/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes",
95                "/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes",
96                "/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes",
97                "/redfish/v1/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes",
98                "/redfish/v1/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes",
99                "/redfish/v1/Storage/{StorageId}/StoragePools/{StoragePoolId}/AllocatedVolumes",
100                "/redfish/v1/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes",
101                "/redfish/v1/Storage/{StorageId}/Volumes",
102                "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes",
103                "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes",
104                "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/StoragePools/{StoragePoolId}/AllocatedVolumes",
105                "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes",
106                "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes",
107                "/redfish/v1/StorageServices/{StorageServiceId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes",
108                "/redfish/v1/StorageServices/{StorageServiceId}/FileSystems/{FileSystemId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes",
109                "/redfish/v1/StorageServices/{StorageServiceId}/StoragePools/{StoragePoolId}/AllocatedVolumes",
110                "/redfish/v1/StorageServices/{StorageServiceId}/StoragePools/{StoragePoolId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes",
111                "/redfish/v1/StorageServices/{StorageServiceId}/Volumes",
112                "/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingVolumes"
113            ]
114        }
115    },
116    "owningEntity": "SNIA",
117    "title": "#VolumeCollection.VolumeCollection"
118}