{
    "definitions": {
        "HardwareParameterLimits": {
            "additionalProperties": false,
            "properties": {
                "max": {
                    "minimum": 1,
                    "type": "number"
                },
                "min": {
                    "minimum": 1,
                    "type": "number"
                },
                "value": {
                    "minimum": 1,
                    "type": "number"
                }
            },
            "required": [
                "min",
                "max",
                "value"
            ],
            "type": "object"
        }
    },
    "errorMessage": {
        "uniqueItemProperties": "should NOT contain objects with the same offeringId"
    },
    "items": {
        "additionalProperties": false,
        "properties": {
            "cpunumber": {
                "$ref": "#/definitions/HardwareParameterLimits"
            },
            "cpuspeed": {
                "$ref": "#/definitions/HardwareParameterLimits"
            },
            "memory": {
                "$ref": "#/definitions/HardwareParameterLimits"
            },
            "offeringId": {
                "type": "string"
            }
        },
        "required": [
            "offeringId",
            "cpunumber",
            "cpuspeed",
            "memory"
        ],
        "type": "object"
    },
    "type": "array",
    "uniqueItemProperties": [
        "offeringId"
    ]
}