{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "dryRun": {
            "type": "boolean",
            "default": false
        },
        "includeFiles": {
            "type": "boolean",
            "default": false
        },
        "includeDataTableRows": {
            "type": "boolean",
            "default": false
        },
        "includeDevices": {
            "type": "boolean",
            "default": false
        },
        "ownerId": {
            "oneOf": [
                {
                    "type": "string",
                    "pattern": "^[A-Fa-f\\d]{24}$"
                },
                {
                    "type": "null"
                }
            ]
        },
        "ownerType": {
            "type": "string",
            "enum": [
                "user",
                "organization"
            ]
        },
        "email": {
            "type": "string",
            "format": "email",
            "maxLength": 1024
        }
    },
    "additionalProperties": false
}