def _slugify_foreign_key(schema):
for foreign_key in schema.get('<STR_LIT>', []):<EOL><INDENT>foreign_key['<STR_LIT>']['<STR_LIT>'] = _slugify_resource_name(<EOL>foreign_key['<STR_LIT>'].get('<STR_LIT>', '<STR_LIT>'))<EOL><DEDENT>return schema<EOL>
Slugify foreign key