Click or drag to resize
Json.NET

JsonSchemaEnum Property

 
Gets or sets the a collection of valid enum values allowed.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public IList<JToken> Enum { get; set; }

Property Value

Type: IListJToken
A collection of valid enum values allowed.
See Also