update for #1

fix json sample and definition.