Patch - Schema troubles
Fixes problems with Schema validation
- In attribute make sure either name + mappings or name + default is required
- In mappings make sure that length of path is above 1 if default is not provided.
Fixes problems with Schema validation