IJsonReferenceBase
A JSON object which may reference other objects with $ref.
using Newtonsoft.Json;
using System.Runtime.CompilerServices;
namespace NJsonSchema.References
{
[System.Runtime.CompilerServices.NullableContext(2)]
public interface IJsonReferenceBase : IDocumentPathProvider
{
[JsonProperty("$ref", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)]
string ReferencePath { get; set; }
[JsonIgnore]
IJsonReference Reference { get; set; }
}
}