<PackageReference Include="NJsonSchema" Version="10.0.5" />

ReferenceTypeNullHandling

Specifies the default null handling for reference types when no nullability information is available.
Default = 0

Use default behavior of the current runtime (e.g. use Null Reference Type annotations if available or Null references).

NotNull = 2

Reference types cannot be null by default.

Null = 1

Reference types are nullable by default (C# default).