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

JsonSchemaAttribute

Annotation to specify the JSON Schema type for the given class.
public Type ArrayItem { get; set; }

Gets or sets the array item type.

public string Format { get; set; }

Gets or sets the JSON format type (default: null, i.e. derived from Type).

public JsonObjectType Type { get; }

Gets the JSON Schema type (default: None, i.e. derived from Type).

Initializes a new instance of the JsonSchemaAttribute class.

Initializes a new instance of the JsonSchemaAttribute class.