def build_json_schema_object(cls, parent_builder=None):
    builder = builders.ObjectBuilder(cls, parent_builder)
    if 1 > builder.count_type(builder.type):
        return builder
    for name, field in cls.iterate_over_fields():
        if isinstance(field, fields.EmbeddedField):
            builder.add_field(name, field, _parse_embedded(field, builder))
        elif isinstance(field, fields.ListField):
            builder.add_field(name, field, _parse_list(field, builder))
        else:
            builder.add_field(name, field, _specify_field_type(field))
    return builder
dataset/ETHPy150Open beregond/jsonmodels/jsonmodels/parsers.py/build_json_schema_object/swapped operands of `>`