Updated JSON schema for queryOrders