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

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); } }