{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
        "GroupItem": {
            "properties": {
                "items": {
                    "items": {
                        "anyOf": [
                            {
                                "$ref": "#/definitions/GroupItem"
                            },
                            {
                                "$ref": "#/definitions/ModelItem"
                            }
                        ]
                    },
                    "type": "array"
                },
                "name": {
                    "type": "string"
                },
                "path": {
                    "type": "string"
                },
                "type": {
                    "enum": [
                        "group"
                    ],
                    "type": "string"
                }
            },
            "type": "object"
        },
        "ModelItem": {
            "properties": {
                "model": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "path": {
                    "type": "string"
                },
                "type": {
                    "enum": [
                        "model"
                    ],
                    "type": "string"
                }
            },
            "type": "object"
        }
    },
    "properties": {
        "$schema": {
            "type": "string"
        },
        "navigation": {
            "items": {
                "anyOf": [
                    {
                        "$ref": "#/definitions/GroupItem"
                    },
                    {
                        "$ref": "#/definitions/ModelItem"
                    }
                ]
            },
            "type": "array"
        }
    },
    "type": "object"
}

