Closed wrbrant closed 1 year ago
I'd recommend reading section 7.3 in the specification. It documents this type and all of its fields.
It was more of a syntactical issue using the package, but I realized part of the problem was my using the wrong function. I was attempting to use "NewExtensionDefinition()" where "OptionExtension" belonged
The instructions for creating new extensions, especially in regards to
stix2.NewExtensionDefinition
and its fieldextTypes []stix2.ExtensionType
is rather vague. An example of how one might call this function would be helpful