SchemaGenerationSettings
Settings for SchemaGeneration. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
using Nutrient;The SDK creates this class through factory methods or other SDK objects.
Properties
AllowDiscriminatedUnions
public bool AllowDiscriminatedUnions { get; set; }Gets or sets the value of AllowDiscriminatedUnions. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
AllowEnums
public bool AllowEnums { get; set; }Gets or sets the value of AllowEnums. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
AllowNullable
public bool AllowNullable { get; set; }Gets or sets the value of AllowNullable. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
AllowPatterns
public bool AllowPatterns { get; set; }Gets or sets the value of AllowPatterns. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
AllowStringFormats
public bool AllowStringFormats { get; set; }Gets or sets the value of AllowStringFormats. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
Compatibility
public SchemaCompatibility Compatibility { get; set; }Gets or sets the value of Compatibility. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: SchemaCompatibility
IncludeConstraints
public bool IncludeConstraints { get; set; }Gets or sets the value of IncludeConstraints. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
MaxArrayItems
public int MaxArrayItems { get; set; }Gets or sets the value of MaxArrayItems. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
MaxFields
public int MaxFields { get; set; }Gets or sets the value of MaxFields. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
MaxNestingDepth
public int MaxNestingDepth { get; set; }Gets or sets the value of MaxNestingDepth. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
MaxRetries
public int MaxRetries { get; set; }Gets or sets the value of MaxRetries. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
Resource management
public void Dispose()SchemaGenerationSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.