def _dict_for_common_fields(self, common_fields: List[str]):
    common_field_dict = OrderedDict()
    for field_name in sorted(common_fields):
        try:
            rpsl_field = RPSLPerson.fields[field_name]
            graphql_type = self._graphql_type_for_rpsl_field(rpsl_field)
            (reference_name, reference_type) = self._grapql_type_for_reference_field(field_name, rpsl_field)
            if (reference_name and reference_type):
                common_field_dict[reference_name] = reference_type
        except KeyError:
            graphql_type = 'String'
        common_field_dict[snake_to_camel_case(field_name)] = graphql_type
    return common_field_dict
def _dict_for_common_fields(self, common_fields: List[str]):
    common_field_dict = OrderedDict()
    for field_name in sorted(common_fields):
        try:
            rpsl_field = RPSLPerson.fields[field_name]
            graphql_type = self._graphql_type_for_rpsl_field(rpsl_field)
            (reference_name, reference_type) = self._grapql_type_for_reference_field(field_name, rpsl_field)
            if (reference_name and reference_type):
                common_field_dict[reference_name] = reference_type
        except KeyError:
            graphql_type = 'String'
        common_field_dict[snake_to_camel_case(field_name)] = graphql_type
    return common_field_dict