Added CoreSchema to help maintain structure and integrity. Some tweaks to the error messages coming back, now they are arrays, and will contain all the validation errors as well.

Signed-off-by: license2e <ilya@shindyapin.com>