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

JsonSchemaAttribute

Annotation to specify the JSON Schema type for the given class.
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.