You may find this post from last year useful. An example registry is here.
I found that it’s very easy to end up with TOML parser errors that are regrettably hard to parse.