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

JsonSchemaProperty

A description of a JSON property of a JSON 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 (Swagger and Open API only).

public bool IsRequired { get; set; }

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

public bool IsWriteOnly { get; set; }

Gets or sets a value indicating whether the property is write only (Open API only).

public string Name { get; }

Gets or sets the name of the property.