{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "disabled": {
            "type": "boolean",
            "description": "If true then the extraction of classes from WAR files is disabled altogether.",
            "default": false
        },
        "scan": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "archive": {
                        "type": "string",
                        "description": "The regex of the name of the archive to match."
                    },
                    "prefixes": {
                        "type": "array",
                        "description": "The list of path prefixes to compose the \"JAR view\" from.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            },
            "default": [
                {
                    "archive": ".*",
                    "prefixes": [
                        "/WEB-INF/classes/"
                    ]
                }
            ]
        }
    }
}