{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "name": {
            "type": "string"
        },
        "version": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "main": {
            "type": "string"
        },
        "scripts": {
            "type": "object",
            "properties": {
                "test": {
                    "type": "string"
                }
            },
            "required": [
                "test"
            ]
        },
        "repository": {
            "type": "object",
            "properties": {
                "type": {
                    "type": "string"
                },
                "url": {
                    "type": "string"
                }
            },
            "required": [
                "type",
                "url"
            ]
        },
        "keywords": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "author": {
            "type": "string"
        },
        "license": {
            "type": "string"
        },
        "bugs": {
            "type": "object",
            "properties": {
                "url": {
                    "type": "string"
                }
            },
            "required": [
                "url"
            ]
        },
        "homepage": {
            "type": "string"
        },
        "dependencies": {
            "type": "object",
            "properties": {
                "ajv": {
                    "type": "string"
                }
            },
            "required": [
                "ajv"
            ]
        },
        "devDependencies": {
            "type": "object",
            "properties": {
                "chai": {
                    "type": "string"
                },
                "mocha": {
                    "type": "string"
                }
            },
            "required": [
                "chai",
                "mocha"
            ]
        }
    },
    "required": [
        "name",
        "version",
        "description",
        "main",
        "scripts",
        "repository",
        "keywords",
        "author",
        "license",
        "bugs",
        "homepage",
        "dependencies",
        "devDependencies"
    ]
}