{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Okapi Permission Object",
    "type": "object",
    "properties": {
        "permissionName": {
            "type": "string"
        },
        "displayName": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "subPermissions": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "visible": {
            "type": "boolean"
        }
    },
    "additionalProperties": false
}