Use of CONTAINS Attribute for Imports

The CONTAINS attribute is deprecated except for specifying the DELETE or the DELETEALL commands.

You should not use this attribute for creating or modifying any relationships, rather use input map hierarchies and explicitly map related records to ID/Ext or related repositories.