Mapping of discriminator value to variant type, e.g.
{'foo': FooVariant, 'bar': BarVariant}
The name of the discriminator field in the variant class, e.g.
class Foo(BaseModel):
type: Literal['foo']
Will result in field_name='type'
The name of the discriminator field in the API response, e.g.
class Foo(BaseModel):
type: Literal['foo'] = Field(alias='type_from_api')
Will result in field_alias_from='type_from_api'