Custom validation function which drops parameter '_id' if present
    in data

def drop_id_validate(data, schema):
    """
    Custom validation function which drops parameter '_id' if present
    in data
    """
    jsonschema.validate(data, schema)
    if data.get('_id') is not None:
        del data['_id']