{
    "$id": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.json",
    "$ref": "#/definitions/StorageGroup",
    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
    "copyright": "Copyright 2015-2026 Storage Networking Industry Association (SNIA), USA. All rights reserved.",
    "definitions": {
        "AccessCapability": {
            "enum": [
                "Read",
                "ReadWrite"
            ],
            "enumDescriptions": {
                "Read": "Endpoints are allowed to perform reads from the specified resource.",
                "ReadWrite": "Endpoints are allowed to perform reads from and writes to the specified resource."
            },
            "type": "string"
        },
        "MappedVolume": {
            "additionalProperties": false,
            "description": "Relate a SCSI Logical Unit Number to a Volume.",
            "longDescription": "Relate a SCSI Logical Unit Number to a Volume.",
            "patternProperties": {
                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
                    "description": "This property shall specify a valid odata or Redfish property.",
                    "type": [
                        "array",
                        "boolean",
                        "integer",
                        "number",
                        "null",
                        "object",
                        "string"
                    ]
                }
            },
            "properties": {
                "AccessCapability": {
                    "anyOf": [
                        {
                            "$ref": "#/definitions/AccessCapability"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "Supported IO access capability.",
                    "longDescription": "Each entry shall specify the storage access capability for this mapped volume.",
                    "readonly": false,
                    "versionAdded": "v1_4_0"
                },
                "LogicalUnitNumber": {
                    "description": "A SCSI Logical Unit Number for a Volume.",
                    "longDescription": "If present, the value is a SCSI Logical Unit Number for the Volume.",
                    "readonly": false,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "Volume": {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/Volume.json#/definitions/Volume",
                    "description": "A mapped Volume.",
                    "longDescription": "The value shall reference a mapped Volume.",
                    "readonly": false
                }
            },
            "type": "object"
        },
        "StorageGroup": {
            "anyOf": [
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.v1_0_3.json#/definitions/StorageGroup"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.v1_1_2.json#/definitions/StorageGroup"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.v1_2_2.json#/definitions/StorageGroup"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.v1_3_0.json#/definitions/StorageGroup"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.v1_4_0.json#/definitions/StorageGroup"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.v1_5_0.json#/definitions/StorageGroup"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageGroup.v1_6_0.json#/definitions/StorageGroup"
                }
            ],
            "deletable": true,
            "description": "Collection of resources that are managed and exposed to hosts as a group.",
            "insertable": false,
            "longDescription": "Collection of resources that the system can make available to one or more host systems. The collection can contain: block, file, or object storage; local system access points through which the collection is made available; hosts, or host access points to which the collection is made available.",
            "updatable": true,
            "uris": [
                "/redfish/v1/StorageServices/{StorageServiceId}/StorageGroups/{StorageGroupId}",
                "/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/StorageGroups/{StorageGroupId}",
                "/redfish/v1/Storage/{StorageId}/StorageGroups/{StorageGroupId}",
                "/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/StorageGroups/{StorageGroupId}"
            ],
            "urisDeprecated": [
                "/redfish/v1/StorageServices/{StorageServiceId}/StorageGroups/{StorageGroupId}",
                "/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/StorageGroups/{StorageGroupId}",
                "/redfish/v1/Storage/{StorageId}/StorageGroups/{StorageGroupId}",
                "/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/StorageGroups/{StorageGroupId}"
            ]
        }
    },
    "language": "en",
    "owningEntity": "SNIA",
    "title": "#StorageGroup.StorageGroup"
}