private JsonSchema NormalizeSchema(JsonSchema schema) { if (schema.Keywords == null) { return(JsonSchema.True); } var builder = new JsonSchemaBuilder(); foreach (var keyword in schema.Keywords) { foreach (var kw in NormalizeKeyword(schema, keyword)) { builder.Add(kw); } } return(builder.Build()); }