custom schema definition