{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "orgName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
        },
        "email": {
            "type": "string",
            "format": "email",
            "maxLength": 1024
        },
        "role": {
            "type": "string",
            "enum": [
                "admin",
                "edit",
                "collaborate",
                "view",
                "none"
            ]
        },
        "inviteDate": {
            "type": "string",
            "format": "date-time"
        },
        "ttl": {
            "type": "number"
        }
    }
}