{
    "$schema": "http://json-schema.org/schema#",
    "title": "Dataset Quality Aspect",
    "description": "Aspect describing the quality rating of a dataset as determined by a number of different minions out of 100, along with the weight that they carry.",
    "type": "object",
    "properties": {
        "additionalProperties": {
            "type": "object",
            "$ref": "#/definitions/rating"
        }
    },
    "definitions": {
        "rating": {
            "type": "object",
            "properties": {
                "score": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                },
                "weighting": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                }
            }
        }
    }
}
