How can i create new custom field through json file

Sir they way you have suggest i am trying to do in same manner…all the fields are appearing in doctype while customisation … but when am trying to save that doc so that field will be create in database…getting error.

InternalError: (1205, u’Lock wait timeout exceeded; try restarting transaction’)