def validate(d):
v = Validator()<EOL>return v.validate(d)<EOL>
Validate a mappyfile dictionary by using the Mapfile schema

Parameters
----------

d: dict
    A Python dictionary based on the the mappyfile schema

Returns
-------

list
      A list containing validation errors