topdown approach to creating json schema