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

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.