{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "GetDWDescriptors",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "totalCount": {
            "type": "integer"
        },
        "data": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/Datum"
            }
        }
    },
    "required": [
        "data",
        "totalCount"
    ],
    "definitions": {
        "Datum": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "realms": {
                    "$ref": "#/definitions/Realms"
                }
            },
            "required": [
                "realms"
            ],
            "title": "Datum"
        },
        "Realms": {
            "type": "object",
            "additionalProperties": {
                "type": "object",
                "$ref": "#/definitions/realm"
            },
            "title": "Realms",
            "minProperties": 1
        },
        "realm": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "metrics": {
                    "$ref": "#/definitions/metrics"
                },
                "dimensions": {
                    "$ref": "#/definitions/dimensions"
                },
                "text": {
                    "type": "string"
                },
                "category": {
                    "type": "string"
                }
            },
            "required": [
                "category",
                "dimensions",
                "metrics",
                "text"
            ],
            "title": "realm"
        },
        "dimensions": {
            "type": "object",
            "additionalProperties": {
                "type": "object",
                "$ref": "#/definitions/dimension"
            },
            "minProperties": 1,
            "title": "Dimensions"
        },
        "metrics": {
            "type": "object",
            "additionalProperties": {
                "type": "object",
                "$ref": "#/definitions/metric"
            },
            "minProperties": 1,
            "title": "metrics"
        },
        "dimension": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "text": {
                    "type": "string"
                },
                "info": {
                    "type": "string"
                }
            },
            "required": [
                "info",
                "text"
            ],
            "title": "dimension"
        },
        "metric": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "text": {
                    "type": "string"
                },
                "info": {
                    "type": "string"
                },
                "std_err": {
                    "type": "boolean"
                }
            },
            "required": [
                "info",
                "std_err",
                "text"
            ],
            "title": "metric"
        }
    }
}