{
    "$id": "http://redfish.dmtf.org/schemas/swordfish/v1/StoragePoolMetrics.v1_2_0.json",
    "$ref": "#/definitions/StoragePoolMetrics",
    "$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": {
        "Actions": {
            "additionalProperties": false,
            "description": "The available actions for this resource.",
            "longDescription": "This type shall contain the available actions for this resource.",
            "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": {
                "Oem": {
                    "$ref": "#/definitions/OemActions",
                    "description": "The available OEM-specific actions for this resource.",
                    "longDescription": "This property shall contain the available OEM-specific actions for this resource."
                }
            },
            "type": "object"
        },
        "OemActions": {
            "additionalProperties": true,
            "description": "The available OEM-specific actions for this resource.",
            "longDescription": "This type shall contain the available OEM-specific actions for this resource.",
            "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": {},
            "type": "object"
        },
        "StoragePoolMetrics": {
            "additionalProperties": false,
            "description": "The usage and health statistics for a storage pool.",
            "longDescription": "The StoragePoolMetrics schema shall contain the usage and health statistics for a storage pool in a Redfish implementation.",
            "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": {
                "@odata.context": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context"
                },
                "@odata.etag": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag"
                },
                "@odata.id": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id"
                },
                "@odata.type": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type"
                },
                "Actions": {
                    "$ref": "#/definitions/Actions",
                    "description": "The available actions for this resource.",
                    "longDescription": "This property shall contain the available actions for this resource."
                },
                "CompressionSavingsBytes": {
                    "description": "Current compression savings on the storage pool in Bytes.",
                    "longDescription": "The value shall represent the current compression savings on the storage pool in Bytes.",
                    "readonly": true,
                    "type": [
                        "integer",
                        "null"
                    ],
                    "units": "By",
                    "versionAdded": "v1_1_0"
                },
                "ConsistencyCheckErrorCount": {
                    "description": "The number of consistency check errors of the volume.",
                    "longDescription": "This property shall contain the number of consistency check errors over the lifetime of the storage pool.",
                    "readonly": true,
                    "type": [
                        "number",
                        "null"
                    ]
                },
                "CorrectableIOReadErrorCount": {
                    "description": "The number of the correctable read errors for the lifetime of the storage pool.",
                    "longDescription": "This property shall contain the number of the correctable read errors for the lifetime of the storage pool.",
                    "readonly": true,
                    "type": [
                        "integer",
                        "null"
                    ]
                },
                "CorrectableIOWriteErrorCount": {
                    "description": "The number of the correctable write errors for the lifetime of the storage pool.",
                    "longDescription": "This property shall contain the number of the correctable write errors for the lifetime of the storage pool.",
                    "readonly": true,
                    "type": [
                        "integer",
                        "null"
                    ]
                },
                "DeduplicationSavingsBytes": {
                    "description": "Current deduplication savings on the storage pool in Bytes.",
                    "longDescription": "The value shall represent the current deduplication savings on the storage pool in Bytes.",
                    "readonly": true,
                    "type": [
                        "integer",
                        "null"
                    ],
                    "units": "By",
                    "versionAdded": "v1_1_0"
                },
                "Description": {
                    "anyOf": [
                        {
                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "readonly": true
                },
                "IOStatistics": {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/IOStatistics.json#/definitions/IOStatistics",
                    "description": "Statistics for this storage pool.",
                    "longDescription": "The value shall represent IO statistics for this storage pool."
                },
                "Id": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
                    "readonly": true
                },
                "LifetimeStartDateTime": {
                    "description": "The date and time when the storage pool started accumulating data for properties maintained for the lifetime of the storage pool, such as, but not limited to 'CorrectableIOReadErrorCount' and 'CorrectableIOWriteErrorCount'.",
                    "format": "date-time",
                    "longDescription": "This property shall contain the date and time when the storage pool started accumulating data for properties maintained for the lifetime of the storage pool, such as, but not limited to 'CorrectableIOReadErrorCount' and 'CorrectableIOWriteErrorCount'. Lifetime counts are noted in the LongDescription for relevant properties. This might contain the same value as the creation date of the storage pool.",
                    "readonly": true,
                    "type": [
                        "string",
                        "null"
                    ],
                    "versionAdded": "v1_2_0"
                },
                "Name": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
                    "readonly": true
                },
                "Oem": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
                    "description": "The OEM extension property.",
                    "longDescription": "This property shall contain the OEM extensions.  All values for properties that this object contains shall conform to the Redfish Specification-described requirements."
                },
                "RebuildErrorCount": {
                    "description": "The number of rebuild errors over the lifetime of the storage pool.",
                    "longDescription": "This property shall contain the number of rebuild errors over the lifetime of the storage pool.",
                    "readonly": true,
                    "type": [
                        "number",
                        "null"
                    ]
                },
                "StateChangeCount": {
                    "description": "The number of state changes (changes in Status.State) for this storage pool.",
                    "longDescription": "This property shall contain the number of state changes (changes in Status.State) for this storage pool.",
                    "readonly": true,
                    "type": [
                        "number",
                        "null"
                    ]
                },
                "ThinProvisioningSavingsBytes": {
                    "description": "Current thin provisioning savings on the storage pool in Bytes.",
                    "longDescription": "The value shall represent the current thin provisioning savings on the storage pool in Bytes.",
                    "readonly": true,
                    "type": [
                        "integer",
                        "null"
                    ],
                    "units": "By",
                    "versionAdded": "v1_1_0"
                },
                "UncorrectableIOReadErrorCount": {
                    "description": "The number of the uncorrectable read errors for the lifetime of the storage pool.",
                    "longDescription": "This property shall contain the number of the uncorrectable read errors for the lifetime of the storage pool.",
                    "readonly": true,
                    "type": [
                        "integer",
                        "null"
                    ]
                },
                "UncorrectableIOWriteErrorCount": {
                    "description": "The number of the uncorrectable write errors for the lifetime of the storage pool.",
                    "longDescription": "This property shall contain the number of the uncorrectable write errors for the lifetime of the storage pool.",
                    "readonly": true,
                    "type": [
                        "integer",
                        "null"
                    ]
                }
            },
            "required": [
                "@odata.id",
                "@odata.type",
                "Id",
                "Name"
            ],
            "type": "object"
        }
    },
    "language": "en",
    "owningEntity": "SNIA",
    "release": "1.2.9",
    "title": "#StoragePoolMetrics.v1_2_0.StoragePoolMetrics"
}