RackHD/on-http

View on GitHub
static/DSP8010_2016.3/json-schema/Volume.json

Summary

Maintainability
Test Coverage
{
    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_1_0.json",
    "title": "#Volume.Volume",
    "$ref": "#/definitions/Volume",
    "definitions": {
        "CheckConsistency": {
            "patternProperties": {
                "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message|Privileges)\\.[a-zA-Z_][a-zA-Z0-9_.]+$": {
                    "type": [
                        "array",
                        "boolean",
                        "number",
                        "null",
                        "object",
                        "string"
                    ],
                    "description": "This property shall specify a valid odata or Redfish property."
                }
            },
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "title": {
                    "type": "string",
                    "description": "Friendly action name"
                },
                "target": {
                    "type": "string",
                    "format": "uri",
                    "description": "Link to invoke action"
                }
            },
            "description": "This action is used to force a check of the Volume's parity or redundant data to ensure it matches calculated values.",
            "longDescription": "This defines the name of the custom action supported on this resource."
        },
        "InitializeType": {
            "type": "string",
            "enum": [
                "Fast",
                "Slow"
            ],
            "enumDescriptions": {
                "Fast": "The volume is prepared for use quickly, typically by erasing just the begining and end of the space so that partitioning can be performed.",
                "Slow": "The volume is prepared for use slowly, typically by completely erasing the volume."
            }
        },
        "Volume": {
            "anyOf": [
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Volume.v1_0_0.json#/definitions/Volume"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Volume.v1_0_1.json#/definitions/Volume"
                },
                {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Volume.v1_0_2.json#/definitions/Volume"
                }
            ]
        }
    },
    "copyright": "Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright"
}