In EMF and Swift-Ecore, a Resource represents a single file containing model data. A ResourceSet is a collection of Resources that are loaded and linked together.
When a model element in one resource refers to an element in another resource, it uses a proxy. A proxy is a placeholder that identifies the target element via a URI. When you access the reference, the engine “resolves” the proxy by loading the target resource.