Click or drag to resize
Json.NET Schema

JSchemaWriterReferenceHandling Enumeration

 
Specifies reference handling options when writing schemas.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public enum JSchemaWriterReferenceHandling
Members
  Member nameValueDescription
Always0 Always write references to previously encountered schemas.
Never1 Never write references to previously encountered schemas. Writing a schema with a recursive relationship will error.
Auto2 Never write references to previously encountered schemas unless there is a recursive relationship, in which case a reference will be written.
See Also