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

JsonXmlObject

public class JsonXmlObject
A description of a JSON property of a JSON object (used in Swagger specifications).
using Newtonsoft.Json; using System.Runtime.CompilerServices; namespace NJsonSchema { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] public class JsonXmlObject { [JsonIgnore] public JsonSchema ParentSchema { get; set; } [JsonProperty("name", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)] public string Name { get; set; } [JsonProperty("wrapped", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)] public bool Wrapped { get; set; } [JsonProperty("namespace", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)] public string Namespace { get; set; } [JsonProperty("prefix", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)] public string Prefix { get; set; } [JsonProperty("attribute", DefaultValueHandling = DefaultValueHandling.IgnoreAndPopulate)] public bool Attribute { get; set; } } }