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

JsonProperty

public class JsonProperty : JsonSchema4
A description of a JSON property of a JSON object.

Gets the property schema (either oneOf schema or the actual schema).

public bool IsInheritanceDiscriminator { get; }

Gets a value indicating whether the property is an inheritance discriminator.

public bool IsReadOnly { get; set; }

Gets or sets a value indicating whether the property is read only.

public bool IsRequired { get; set; }

Gets or sets a value indicating whether the property is required.

public string Name { get; }

Gets or sets the name of the property.

public JsonProperty()