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

JsonSchemaReferenceUtilities

public static class JsonSchemaReferenceUtilities
Provides utilities to resolve and set JSON schema references.
public static string ConvertJsonReferences(string data)

Converts JSON references ($ref) to property references.

public static string ConvertPropertyReferences(string data)

Converts property references to JSON references ($ref).

public static void UpdateSchemaReferencePaths(object root, ISchemaDefinitionAppender schemaDefinitionAppender)

Updates the SchemaReferencePath properties from the available SchemaReference properties.

public static void UpdateSchemaReferences(object root)

Updates all SchemaReference properties from the available SchemaReferencePath properties.

public static void UpdateSchemaReferences(object root, JsonReferenceResolver jsonReferenceResolver)

Updates all SchemaReference properties from the available SchemaReferencePath properties.