JDK Jackson has JsonSubTypes which can be based on a field like _type or @type or type etc. In our case we are using _operation. This field is absent from the fields of the deserialized object as it represents the type itself.
Is this possible with pydantic, and how?