private static Schema loadSchemaFromFile(string inputFile) { string json = File.ReadAllText(inputFile, Encoding.UTF8); Schema schema = Schema.Parse(json); Assert.IsNotNull(schema, "Schema should not be null."); return schema; }