@Test
public void convertsDateTimeToStringAndDateTimeFormat() {

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