API actions for creating foreign keys in datapackages