<PackageReference Include="NJsonSchema" Version="11.0.0-preview007" />

JsonInheritanceConverterAttribute

The JSON inheritance converter attribute.
public static string DefaultDiscriminatorName { get; }

Gets the default discriminator name.

public string DiscriminatorName { get; }

Gets the discriminator name.

public JsonInheritanceConverterAttribute(Type baseType, string discriminatorName = "discriminator")

Initializes a new instance of the JsonInheritanceConverterAttribute class.