{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "definitions": {
        "Password": {
            "type": "object",
            "properties": {
                "password": {
                    "type": "string"
                }
            },
            "required": [
                "password"
            ]
        },
        "Login": {
            "type": "object",
            "properties": {
                "login": {
                    "type": "string"
                }
            }
        }
    },
    "type": "object",
    "properties": {
        "result": {
            "type": "object",
            "properties": {
                "passwords": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/Password"
                    }
                },
                "logins": {
                    "type": "array",
                    "items": {
                        "$ref": "#/definitions/Login"
                    }
                }
            }
        }
    }
}