Type Definition Equivalence
For import purposes, a type definition in an import file is equivalent to a local type definition if all of the following criteria are met:
• It has the same name or the name is mapped to a local name, as well as mapped to the same parent type, unless this type is a root-level type. The names of types cannot be changed.
• It has the same values for the following attributes: instantiable, userAttributeable, and deleted.
• Both types have the same number of attributes.
• Both types have the same set of global attributes. Two global attributes are considered the same if they are of the same reusable attribute definitions and have the same value.
• Both types have the same set of constraints on their attributes and the same set of constraints on the subtype itself.
If a type matching this criteria is found in the system, it must be visible to the context into which the import is being performed.