{
    "$id": "http://redfish.dmtf.org/schemas/swordfish/v1/ClassOfService.v1_2_0.json",
    "$ref": "#/definitions/ClassOfService",
    "$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 type shall contain any additional OEM actions for this resource.",
                    "versionAdded": "v1_1_0"
                }
            },
            "type": "object"
        },
        "ClassOfService": {
            "additionalProperties": false,
            "description": "A service option composed of one or more service options.",
            "longDescription": "This resource shall define a service option composed of one or more line of service entities.  ITIL defines a service option as a choice of utility or warranty for a service.",
            "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": "The Actions property shall contain the available actions for this resource.",
                    "versionAdded": "v1_1_0"
                },
                "ClassOfServiceVersion": {
                    "description": "The value identifies the current version of this class of service definition.",
                    "longDescription": "The version describing the creation or last modification of this service option specification. The string representing the version shall be in the form: M + '.' + N + '.' + U  Where: M - The major version (in numeric form). N - The minor version (in numeric form). U - The update (e.g. errata or patch in numeric form).",
                    "readonly": false,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "DataProtectionLinesOfService": {
                    "description": "A collection of DataProtection line of service elements.",
                    "items": {
                        "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/DataProtectionLineOfService.json#/definitions/DataProtectionLineOfService"
                    },
                    "longDescription": "The value shall be a set of data protection service options.  Within a class of service, one data protection service option shall be present for each replication session.",
                    "readonly": false,
                    "type": "array",
                    "versionAdded": "v1_1_1"
                },
                "DataProtectionLinesOfService@odata.count": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
                },
                "DataSecurityLinesOfService": {
                    "description": "A collection of DataSecurity line of service elements.",
                    "items": {
                        "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/DataSecurityLineOfService.json#/definitions/DataSecurityLineOfService"
                    },
                    "longDescription": "The value shall be a set of data security service options.",
                    "readonly": false,
                    "type": "array",
                    "versionAdded": "v1_1_1"
                },
                "DataSecurityLinesOfService@odata.count": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
                },
                "DataStorageLinesOfService": {
                    "description": "A collection of DataStorage line of service elements.",
                    "items": {
                        "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/DataStorageLineOfService.json#/definitions/DataStorageLineOfService"
                    },
                    "longDescription": "The value shall be a set of data protection service options.",
                    "readonly": false,
                    "type": "array",
                    "versionAdded": "v1_1_1"
                },
                "DataStorageLinesOfService@odata.count": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
                },
                "Description": {
                    "anyOf": [
                        {
                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "readonly": true
                },
                "IOConnectivityLinesOfService": {
                    "description": "A collection of IOConnectivity line of service elements.",
                    "items": {
                        "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/IOConnectivityLineOfService.json#/definitions/IOConnectivityLineOfService"
                    },
                    "longDescription": "The value shall be a set of IO connectivity service options.  Within a class of service, at most one IO connectivity service option may be present for a value of AccessProtocol.",
                    "readonly": false,
                    "type": "array",
                    "versionAdded": "v1_1_1"
                },
                "IOConnectivityLinesOfService@odata.count": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
                },
                "IOPerformanceLinesOfService": {
                    "description": "A collection of IOPerformance line of service elements.",
                    "items": {
                        "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/IOPerformanceLineOfService.json#/definitions/IOPerformanceLineOfService"
                    },
                    "longDescription": "The value shall be a set of IO performance service options.",
                    "readonly": false,
                    "type": "array",
                    "versionAdded": "v1_1_1"
                },
                "IOPerformanceLinesOfService@odata.count": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count"
                },
                "Id": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
                    "readonly": true
                },
                "Identifier": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Identifier",
                    "description": "The value identifies this resource.",
                    "longDescription": "The value shall be unique within the managed ecosystem."
                },
                "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."
                }
            },
            "required": [
                "@odata.id",
                "@odata.type",
                "Id",
                "Name"
            ],
            "type": "object"
        },
        "OemActions": {
            "additionalProperties": true,
            "description": "The available OEM specific actions for this resource.",
            "longDescription": "This type shall contain any additional OEM 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"
        }
    },
    "language": "en",
    "owningEntity": "SNIA",
    "release": "1.0.5",
    "title": "#ClassOfService.v1_2_0.ClassOfService"
}