{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "PermissionGrant",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "username": {
            "type": "string",
            "description": "Name of the user to grant the accessLevel to."
        },
        "accessLevel": {
            "type": "string",
            "enum": [
                "NONE",
                "READ",
                "WRITE",
                "ADMIN"
            ],
            "description": "Type of permission to grant access to"
        }
    },
    "javaName": "PermissionGrant"
}