Edit UDT Definition in script

system.tag.configure

Probably easiest to build by hand a UDT that resembles what you want and inspect it using system.tag.getConfiguration. That will get you familiar with the structure you need for system.tag.configure.