<PackageReference Include="NJsonSchema.Annotations" Version="11.6.1" />

NJsonSchema.Annotations.JsonSchemaAttribute

Annotation to specify the JSON Schema type for the given class.
namespace NJsonSchema.Annotations { public class JsonSchemaAttribute : Attribute { public string Name { get; set; } public JsonObjectType Type { get; } public string Format { get; set; } public Type ArrayItem { get; set; } public JsonSchemaAttribute(); public JsonSchemaAttribute(string name); public JsonSchemaAttribute(JsonObjectType type); } }