How to add new fields in cert-viewer

Hii, To create new fields in the cert-viewer, should I edit the code or will be created by default corresponding to the JSON file. If I need to create one, how can it be possible