@Test
public void supportsDefaultTimestampFormat() {

    TimestampShape shape = TimestampShape.builder().id("smithy.example#Timestamp").build();
    JsonSchemaConfig config = new JsonSchemaConfig();
    config.setDefaultTimestampFormat(TimestampFormatTrait.Format.DATE_TIME);
    Schema schema = new TimestampMapper().updateSchema(shape, Schema.builder(), config).build();
    assertThat(schema.getType().get(), equalTo("string"));
    assertThat(schema.getFormat().get(), equalTo("date-time"));
}