@Test
public void basicEqualityTest() {

    Schema a = Schema.builder().title("foo").build();
    Schema b = Schema.builder().title("foo").build();
    Schema c = Schema.builder().type("string").build();
    assertThat(a, equalTo(b));
    assertThat(a, equalTo(a));
    assertThat(b, equalTo(a));
    assertThat(c, not(equalTo(a)));
}