Schema: raise correct error on wrong type for Timestamp elements

Change-Id: I6d518a898b86ab781ebea88bb1b114ffa5e840ed