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

ISchemaResolver

public interface ISchemaResolver
Manager which resolves types to schemas.
using System; using System.Collections.Generic; namespace NJsonSchema { public interface ISchemaResolver { IEnumerable<JsonSchema4> Schemas { get; } bool HasSchema(Type type, bool isIntegerEnumeration); JsonSchema4 GetSchema(Type type, bool isIntegerEnumeration); void AddSchema(Type type, bool isIntegerEnumeration, JsonSchema4 schema); } }