Added initial entity validation based on custom field definitions