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