draft the dja api