Programatically define collection

How to define a collection from API

TaminoSchemaCommand.Define probably does what you want.