src/vs/workbench/services/preferences/common/preferencesValidation.ts/getErrorsForSchema
function getErrorsForSchema(propertySchema: IConfigurationPropertySchema, data: any): string | null {
	const validator = createValidator(propertySchema);
	const errorMessage = validator(data);
	return errorMessage;
}