using Newtonsoft.Json.Schema;
public static void Main()
var jsonSchemaGenerator = new JsonSchemaGenerator();
var myType = typeof(Customer);
var schema = jsonSchemaGenerator.Generate(myType);
schema.Title = myType.Name;
Console.WriteLine(schema);
public string Name { get; set; }
public string Address { get; set; }
public string Post_Code { get; set; }
public string City { get; set; }
public string Phone_No { get; set; }
public string E_Mail { get; set; }
public string Gen_Bus_Posting_Group { get; set; }
public string VAT_Bus_Posting_Group { get; set; }
public string Customer_Posting_Group { get; set; }
public string Payment_Terms_Code { get; set; }
public string Currency_Code { get; set; }
public string No { get; set; }
public Guid ElleGuid { get; set; }