def GetCodeTypeFromDictionary(self, def_dict):

    # Unique identifier for this schema.
    json_type = def_dict.get('type', 'string')

    # An additional regular expression or key that helps constrain the value.
    # See: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23
    json_format = def_dict.get('format')

    # If we know what to do with this format type, then use native type.
    php_type = (self._SCHEMA_TYPE_TO_PHP_TYPE.get(json_format)
                or self._SCHEMA_TYPE_TO_PHP_TYPE.get(json_type, json_type))
    return php_type
Get all languages by a list of tuple.
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/php_generator.py/PhpLanguageModel.GetCodeTypeFromDictionary--crossover with--dataset/ETHPy150Open Opentaste/bombolone/bombolone/core/languages.py/Languages.all_lang_by_tuple