{
    "definitions": {
        "file": {
            "properties": {
                "name": {
                    "type": "string"
                },
                "start": {
                    "type": "integer"
                }
            },
            "required": [
                "start",
                "name"
            ],
            "type": "object"
        }
    },
    "properties": {
        "duplicates": {
            "items": {
                "properties": {
                    "firstFile": {
                        "$ref": "#/definitions/file"
                    },
                    "fragment": {
                        "type": "string"
                    },
                    "lines": {
                        "type": "integer"
                    },
                    "secondFile": {
                        "$ref": "#/definitions/file"
                    },
                    "tokens": {
                        "type": "integer"
                    }
                },
                "required": [
                    "lines",
                    "tokens",
                    "firstFile",
                    "secondFile",
                    "fragment"
                ],
                "type": "object"
            },
            "type": "array",
            "_uniqueItems": true
        },
        "statistics": {
            "properties": {
                "clones": {
                    "type": "integer"
                },
                "duplications": {
                    "type": "integer"
                },
                "files": {
                    "type": "integer"
                },
                "lines": {
                    "type": "integer"
                },
                "percentage": {
                    "type": "string"
                }
            },
            "required": [
                "clones",
                "duplications",
                "files",
                "percentage",
                "lines"
            ],
            "type": "object"
        }
    },
    "required": [
        "duplicates",
        "statistics"
    ],
    "type": "object"
}