# SchemaMigrationType (Complex Type)

### Namespace: http://prism.evolveum.com/xml/ns/public/annotation-3

Annotation that describes schema changes that need to be migrated. I.e. incompatible schema changes.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
element | property QName | [1,1] | Name of the element that was changed.
version | property string | [1,1] | Version of the schema in which the change was applied.
operation | property SchemaMigrationOperationType | [1,1] | Operation that needs to be done to migrate old schema to new schema.
replacement | property QName | [0,1] | Name of the element that replaced removed or deprecated element.
comment | property string | [0,1] | A human-readable description of this schema change.

- ### Items

  - #### element

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Name of the element that was changed. This is the original name used in previous schema versions.

  - #### version

    Flags: RAM,runtime

    Multiplicity: [1,1]

    Display order:

    Version of the schema in which the change was applied.

  - #### operation

    Flags: RAM,runtime,AVals:3

    Multiplicity: [1,1]

    Display order:

    Operation that needs to be done to migrate old schema to new schema.

  - #### replacement

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Name of the element that replaced removed or deprecated element. EXPERIMENTAL. May be changed to a path later on.

  - #### comment

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    A human-readable description of this schema change.