//Model private void FunctionOfModelInterface() { string filename = ModelFilePath; string OSfile = OSFilePath; List <string> ErrorMessages = new List <string>(); JObject MainObject = OSUtility.JsonReader(filename); ModelValidator modelFile = new ModelValidator(); // Checking for main json of DcsPlus.APL.FP.Control.PIDConL.Home.json file modelFile.FullFile_Check(ref ErrorMessages, MainObject); // Checking for FaceplateFacetTypeName modelFile.FaceplateFacetTypeName_Check(ref ErrorMessages, filename, MainObject); // Checking for FaceplateFacetTypeInstance JObject FaceplateFacetTypeInstance = (JObject)MainObject["FaceplateFacetTypeInstance"]; modelFile.FaceplateFacetTypeInstance_Check(ref ErrorMessages, MainObject, FaceplateFacetTypeInstance); // Checking for FaceplateFacetType JObject FaceplateFacetType = (JObject)MainObject["FaceplateFacetType"]; JObject FaceplateFacetTypePropertyInterface = (JObject)MainObject["FaceplateFacetTypePropertyInterface"]; JArray PropertyInterface = (JArray)FaceplateFacetTypePropertyInterface["PropertyInterface"]; modelFile.FaceplateFacetType_Check(ref ErrorMessages, FaceplateFacetType, PropertyInterface); // Checking for FaceplateFacetTypePropertyInterface modelFile.CompareFaceplateFacetTypeProperty(ref ErrorMessages, OSUtility.JsonReader(OSfile), PropertyInterface); //Check if all Property Interface elements are present in the particular OS interface. OSUtility.LogErrorMessages(ErrorMessages); }