using Newtonsoft.Json.Schema;
public static void Main()
var jsonSchemaGenerator = new JsonSchemaGenerator();
var myType = typeof(JsonHelper);
var schema = jsonSchemaGenerator.Generate(myType);
schema.Title = myType.Name;
Console.WriteLine(schema);
public bool? enable { get; set; }
public int? fault { get; set; }
public class RoadFeedback
public bool? enable { get; set; }
public string mode { get; set; }
public short? surface { get; set; }
public bool? enable { get; set; }
public string mode { get; set; }
public bool? enable { get; set; }
public class HandsOnWheel
public bool? enable { get; set; }
public bool? enable { get; set; }
public int? intensity { get; set; }
public bool? enable { get; set; }
public int? intensity { get; set; }
public Rain rain { get; set; }
public Snow snow { get; set; }
public string drivingModeCmd { get; set; }
public bool? resetCar { get; set; }
public bool? rearSteerEn { get; set; }
public FaultInj faultInj { get; set; }
public RoadFeedback roadFeedback { get; set; }
public string gear { get; set; }
public DynVarRatio dynVarRatio { get; set; }
public EyesOnRoad eyesOnRoad { get; set; }
public HandsOnWheel handsOnWheel { get; set; }
public Weather weather { get; set; }
public bool? isAlive { get; set; }
public bool? closeSim { get; set; }
public class SimSystemState
public string currDrivingMode { get; set; }
public bool? handsOnWheel { get; set; }
public bool? eyesOnRoad { get; set; }
public int? vehSpd { get; set; }
public class EnabledFeatures
public bool? showStowColumn { get; set; }
public bool? showRearSteer { get; set; }
public bool? showFltInj { get; set; }
public bool? showSnow { get; set; }
public bool? showRain { get; set; }
public bool? showReverse { get; set; }
public bool? showDynVarRatio { get; set; }
public bool? showHandsOnWheel { get; set; }
public bool? showEyesOnRoad { get; set; }
public bool? showRoadFeedback { get; set; }
public SimSystemState simSystemState { get; set; }
public EnabledFeatures enabledFeatures { get; set; }
public bool? isAlive { get; set; }
public int? Cap1 { get; set; }
public int? Cap2 { get; set; }
public int? Err1 { get; set; }
public int? Err2 { get; set; }
public int road { get; set; }
public HmiCmds hmiCmds { get; set; }
public SimCmds simCmds { get; set; }
public HOWdata howData { get; set; }
public RoadSurface roadSurface { get; set; }