{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
        "active_profile",
        "profiles"
    ],
    "additionalProperties": false,
    "properties": {
        "active_profile": {
            "type": "string",
            "minLength": 1
        },
        "profiles": {
            "type": "object",
            "minProperties": 1,
            "additionalProperties": {
                "type": "object",
                "required": [
                    "qt",
                    "link"
                ],
                "additionalProperties": false,
                "properties": {
                    "qt": {
                        "type": "object",
                        "required": [
                            "qmake",
                            "lib_dir",
                            "qml_dir",
                            "plugins_dir",
                            "version_major"
                        ],
                        "additionalProperties": false,
                        "properties": {
                            "qmake": {
                                "type": "string",
                                "minLength": 1
                            },
                            "lib_dir": {
                                "type": "string",
                                "minLength": 1
                            },
                            "qml_dir": {
                                "type": "string",
                                "minLength": 1
                            },
                            "plugins_dir": {
                                "type": "string",
                                "minLength": 1
                            },
                            "version_major": {
                                "type": "integer",
                                "enum": [
                                    5,
                                    6
                                ]
                            }
                        }
                    },
                    "link": {
                        "type": "object",
                        "required": [
                            "rpaths"
                        ],
                        "additionalProperties": false,
                        "properties": {
                            "rpaths": {
                                "type": "array",
                                "minItems": 1,
                                "items": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}