JSON $type property would be used as the discriminator Related to #36375
JSON $type property would be used as the discriminator
Related to #36375