RackHD/on-http

View on GitHub
static/DSP8010_2016.3/json-schema/MemoryChunks.v1_0_1.json

Summary

Maintainability
Test Coverage
{
    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_1_0.json",
    "title": "#MemoryChunks.v1_0_1.MemoryChunks",
    "$ref": "#/definitions/MemoryChunks",
    "definitions": {
        "AddressRangeType": {
            "type": "string",
            "enum": [
                "Volatile",
                "PMEM",
                "Block"
            ],
            "enumDescriptions": {
                "Volatile": "Volatile memory.",
                "PMEM": "Byte accessible persistent memory.",
                "Block": "Block accesible memory."
            }
        },
        "InterleaveSet": {
            "type": "object",
            "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."
                }
            },
            "additionalProperties": false,
            "properties": {
                "RegionId": {
                    "type": [
                        "string",
                        "null"
                    ],
                    "readonly": true,
                    "description": "DIMM region identifier.",
                    "longDescription": "The value of this property shall be the DIMM region identifier."
                },
                "OffsetMiB": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "readonly": true,
                    "description": "Offset within the DIMM that corresponds to the start of this memory region, with units in MiB.",
                    "longDescription": "The value of this property shall be the offset within the DIMM that corresponds to the start of this memory region, with units in MiB."
                },
                "SizeMiB": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "readonly": true,
                    "description": "Size of this memory region in MiB.",
                    "longDescription": "The value of this property shall be the size of this memory region, with units in MiB."
                },
                "MemoryLevel": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "readonly": true,
                    "description": "Level of the interleave set for multi-level tiered memory.",
                    "longDescription": "The value of this property shall be the level of this interleave set for multi-level tiered memory."
                },
                "Memory": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/idRef",
                    "readonly": true,
                    "description": "Describes a memory device of the interleave set.",
                    "longDescription": "The value of this property shall be the memory device to which these settings apply."
                }
            }
        },
        "MemoryChunks": {
            "type": "object",
            "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."
                }
            },
            "additionalProperties": false,
            "properties": {
                "@odata.context": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/context"
                },
                "@odata.id": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/id"
                },
                "@odata.type": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/odata.4.0.0.json#/definitions/type"
                },
                "Oem": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem",
                    "description": "This is the manufacturer/provider specific extension moniker used to divide the Oem object into sections.",
                    "longDescription": "The value of this string shall be of the format for the reserved word *Oem*."
                },
                "Id": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id",
                    "readonly": true
                },
                "Description": {
                    "anyOf": [
                        {"$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description"},
                        {"type": "null"}
                    ],
                    "readonly": true
                },
                "Name": {
                    "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name",
                    "readonly": true
                },
                "MemoryChunkSizeMiB": {
                    "type": [
                        "number",
                        "null"
                    ],
                    "readonly": true,
                    "description": "Size of the memory chunk in MiB.",
                    "longDescription": "The value of this property shall be the size of the memory chunk in MiB."
                },
                "AddressRangeType": {
                    "anyOf": [
                        {"$ref": "#/definitions/AddressRangeType"},
                        {"type": "null"}
                    ],
                    "readonly": true,
                    "description": "Memory type of this memory chunk.",
                    "longDescription": "The value of this property shall be the type of memory chunk."
                },
                "IsMirrorEnabled": {
                    "type": [
                        "boolean",
                        "null"
                    ],
                    "readonly": true,
                    "description": "Mirror Enabled status.",
                    "longDescription": "The value of this property shall indicate if memory mirroring is enabled for this MemoryChunk."
                },
                "IsSpare": {
                    "type": [
                        "boolean",
                        "null"
                    ],
                    "readonly": true,
                    "description": "Spare enabled status.",
                    "longDescription": "The value of this property shall indicate if sparing is enabled for this MemoryChunk."
                },
                "InterleaveSets": {
                    "type": "array",
                    "items": {
                        "anyOf": [
                            {"$ref": "#/definitions/InterleaveSet"},
                            {"type": "null"}
                        ]
                    },
                    "description": "This is the interleave sets for the memory chunk.",
                    "longDescription": "These properties shall represent the interleave sets for the memory chunk."
                }
            },
            "required": [
                "Id",
                "Name"
            ],
            "description": "This is the schema definition of a Memory Chunk and its configuration.",
            "longDescription": "This resource shall be used to represent Memory Chunks and Interleave Sets in a Redfish implementation."
        }
    },
    "copyright": "Copyright 2014-2016 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright"
}