Define an object exposing a couple of methods that are used to discriminate between subschema.
This method is invoked during deserialization to check if the data should be deserialized as the specific type.
true if the json matched the discriminator condition.
true
An object to inspect
Optional
If available this method is invoked during serialization and is meant to add discriminator information to the result json.
The result of the deserialization
Generated using TypeDoc
Define an object exposing a couple of methods that are used to discriminate between subschema.