private void ProcessRefKeyword(JsonPointer path, RefKeyword keyword, SchemaContext context) { int subSchemaIndex = 0; foreach (var subSchema in keyword.GetSubschemas()) { var subSchemaPath = path.Combine(JsonPointer.Parse($"/[{subSchemaIndex}]")); ProcessSubSchema(subSchemaPath, subSchema, context); subSchemaIndex++; } }
private static void KeywordEqual(RefKeyword expected, RefKeyword actual) { Assert.Equal(expected.Reference, actual.Reference); }