public static SortOrder fromJson(Schema schema, String json) {
    return fromJson(json).bind(schema);
  }
@TestTemplate
  public void testUnknownTransforms() {
    String jsonString =
        "{\n"
            + "  \"order-id\" : 10,\n"
            + "  \"fields\" : [ {\n"
            + "    \"transform\" : \"custom_transform\",\n"
            + "    \"source-id\" : 2,\n"
            + "    \"direction\" : \"desc\",\n"
            + "    \"null-order\" : \"nulls-first\"\n"
            + "  } ]\n"
            + "}";

    SortOrder order = SortOrderParser.fromJson(table.schema(), jsonString);

    assertThat(order.orderId()).isEqualTo(10);
    assertThat(order.fields()).hasSize(1);
    assertThat(order.fields().get(0).transform())
        .isInstanceOf(UnknownTransform.class)
        .asString()
        .isEqualTo("custom_transform");
    assertThat(order.fields().get(0).sourceId()).isEqualTo(2);
    assertThat(order.fields().get(0).direction()).isEqualTo(DESC);
    assertThat(order.fields().get(0).nullOrder()).isEqualTo(NULLS_FIRST);
  }