Creating a draft candidate.json endpoint