How to use multi wildcard ssl for multi domain?

I have a bench which has 2 domain: .com and .net
Each site will have those two domains added.
And I want to use wildcard ssl for each domain: *.domain.com and *.domain.net
How do I set it in the common_setup_config.json?
I tried below but got error for syntax:

 "wildcard": {
  [
  "domain": "*.domain.com",
  "ssl_certificate": "/etc/letsencrypt/live/domain.com/fullchain.pem",
  "ssl_certificate_key": "/etc/letsencrypt/live/domain.com/privkey.pem"
  ],
  [
  "domain": "*.domain.net",
  "ssl_certificate": "/etc/letsencrypt/live/domain.net/fullchain.pem",
  "ssl_certificate_key": "/etc/letsencrypt/live/domain.net/privkey.pem"
  ] 
}