@@ -0,0 +1,319 @@
+import jsonschema%0Aimport json%0Aimport inspect%0Aimport os%0Aimport cumulus.task%0A%0Adef validate(spec):%0A    path = inspect.getsourcefile(cumulus.task)%0A    schema_path = os.path.join(os.path.dirname(path), 'task.json')%0A    with open(schema_path, 'r') as fp:%0A        schema = json.load(fp)%0A%0A    jsonschema.validate(spec, schema)%0A

Add module to validate task spec against schema