VariantsDescriptor
data class VariantsDescriptor(val element: String, val discriminator: String, val values: List<VariantDescriptor>)
An element of every record whose fields differ by variant: an EventStream record's body holds events whose payload fields depend on bodyType. A condition on one variant's field must be written inside an ELEMENT_MATCH on element together with the discriminator, so both apply to the same element.