use schema decoder