commit validation design and json array output detail