{
    "$id": "http://redfish.dmtf.org/schemas/swordfish/v1/DataProtectionLineOfService.v1_3_0.json",
    "$ref": "#/definitions/DataProtectionLineOfService",
    "$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": "The Actions property 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": {
                "#DataProtectionLineOfService.CreateReplicas": {
                    "$ref": "#/definitions/CreateReplicas"
                },
                "Oem": {
                    "$ref": "#/definitions/OemActions",
                    "description": "This property contains the available OEM specific actions for this resource.",
                    "longDescription": "This property shall contain any additional OEM actions for this resource.",
                    "versionAdded": "v1_2_0"
                }
            },
            "type": "object"
        },
        "CreateReplicas": {
            "additionalProperties": false,
            "description": "This action creates an on-demand replica.",
            "longDescription": "This action shall create an on-demand replica that conforms to the bound DataProtectionLineOfService.",
            "parameters": {
                "ReplicaLineOfService": {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/DataProtectionLineOfService.json#/definitions/DataProtectionLineOfService",
                    "description": "The data protection line of service this action is bound to.",
                    "longDescription": "The value shall reference the data protection line of service this operation is bound to.",
                    "requiredParameter": true
                },
                "ReplicaRequests": {
                    "description": "Specifies the resources to replicate and a name for the replica.",
                    "items": {
                        "$ref": "#/definitions/ReplicaRequest"
                    },
                    "longDescription": "Each value shall reference a source resource and provide a name for the replica.",
                    "type": "array"
                }
            },
            "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": {
                "target": {
                    "description": "Link to invoke action",
                    "format": "uri-reference",
                    "type": "string"
                },
                "title": {
                    "description": "Friendly action name",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "DataProtectionLineOfService": {
            "additionalProperties": false,
            "description": "Describes a data protection service option.",
            "longDescription": "This service option describes a replica that protects data from loss. The requirements must be met collectively by the communication path and the replica.",
            "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_2_0"
                },
                "Description": {
                    "anyOf": [
                        {
                            "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "readonly": true
                },
                "Id": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
                    "readonly": true
                },
                "IsIsolated": {
                    "description": "The replica is in a separate fault domain.",
                    "longDescription": "True shall indicate that the replica is in a separate fault domain from its source. The default value of this property is false.",
                    "readonly": false,
                    "type": [
                        "boolean",
                        "null"
                    ]
                },
                "MinLifetime": {
                    "description": "Minimum lifetime (seconds) that replica must be maintained.",
                    "longDescription": "The value shall be an ISO 8601 duration that specifies the minimum required lifetime of the replica. Note: The maximum number of replicas can be determined using this value together with the replicaSchedule.",
                    "readonly": false,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "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."
                },
                "RecoveryGeographicObjective": {
                    "anyOf": [
                        {
                            "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/DataProtectionLoSCapabilities.json#/definitions/FailureDomainScope"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "Geographic distribution scopes.",
                    "longDescription": "The value specifies the geographic scope of the failure domain.",
                    "readonly": false
                },
                "RecoveryPointObjectiveTime": {
                    "description": "Time interval defining how much source data that can be lost on failure.",
                    "longDescription": "The value shall be an ISO 8601 duration that specifies the maximum time over which source data may be lost on failure. In the case that IsIsolated = false, failure of the domain is not a consideration.",
                    "readonly": false,
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "RecoveryTimeObjective": {
                    "anyOf": [
                        {
                            "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/DataProtectionLoSCapabilities.json#/definitions/RecoveryAccessScope"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "An enumeration value that indicates the expected time to access an alternate replica.",
                    "longDescription": "The value shall be an enumeration that indicates the maximum time required to access an alternate replica. In the case that IsIsolated = false, failure of the domain is not a consideration.",
                    "readonly": false,
                    "units": "s"
                },
                "ReplicaAccessLocation": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.v1_3_0.json#/definitions/Location",
                    "description": "Location that supplies data access to the replica.",
                    "longDescription": "This value shall be used if the data access location of the replica is required to be at a specific location.   Note 1: The location value may be granular.  Note 2: A value may be required for some regulatory compliance."
                },
                "ReplicaClassOfService": {
                    "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/ClassOfService.json#/definitions/ClassOfService",
                    "description": "The replica's class of service.",
                    "longDescription": "The value shall reference the class of service that defines the required service levels of the replica.",
                    "readonly": false
                },
                "ReplicaType": {
                    "anyOf": [
                        {
                            "$ref": "http://redfish.dmtf.org/schemas/swordfish/v1/StorageReplicaInfo.json#/definitions/ReplicaType"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "Type of replica.",
                    "longDescription": "The type of replica shall conform to this value.",
                    "readonly": false
                },
                "Schedule": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Schedule.json#/definitions/Schedule",
                    "description": "A schedule for making periodic point in time replicas.",
                    "longDescription": "If a replica is made periodically, the value shall define the schedule."
                }
            },
            "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"
        },
        "ReplicaRequest": {
            "additionalProperties": false,
            "description": "A ReplicaRequest contains information about the ReplicaSource and the ReplicaName.",
            "longDescription": "A ReplicaRequest shall contain information about the ReplicaSource and the ReplicaName.",
            "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": {
                "ReplicaName": {
                    "description": "The name of the new replica.",
                    "longDescription": "The value shall be the names of the replica.",
                    "readonly": false,
                    "type": [
                        "string",
                        "null"
                    ],
                    "versionAdded": "v1_1_0"
                },
                "ReplicaSource": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/idRef",
                    "description": "A resource to be replicated.",
                    "longDescription": "The value shall reference a resource to be replicated.",
                    "versionAdded": "v1_1_0"
                }
            },
            "type": "object"
        }
    },
    "language": "en",
    "owningEntity": "SNIA",
    "release": "1.2.2",
    "title": "#DataProtectionLineOfService.v1_3_0.DataProtectionLineOfService"
}