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

JsonSchemaExtensionDataAttribute

Adds an extension data property to a class or property.
using System; namespace NJsonSchema.Annotations { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true)] public class JsonSchemaExtensionDataAttribute : Attribute { public string Key { get; set; } public object Value { get; set; } public JsonSchemaExtensionDataAttribute(string key, object value) { Key = key; Value = value; } } }