# ShadowDiscriminatorType (Complex Type)

### Namespace: http://midpoint.evolveum.com/xml/ns/public/common/common-3

Shadow discriminator uniquely identifies a projection among other projections linked to the same focus.

Item Summary
Name | Type | Multiplicity | Description
--- | --- | --- | ---
resourceRef | reference ObjectReferenceType | [0,1] | Reference to a resource that is the target of reference.
kind | property ShadowKindType | [0,1] |
intent | property string | [0,1] | Type of projection that is the target of reference.
tag | property string | [0,1] | Tag tha distinguished shadows that have the same combination of resource+kind+intent.
objectClassName | property QName | [0,1] | TODO exact meaning
tombstone | property boolean | [0,1] | Whether the projection is a remnant of a deleted/dead resource object.
discriminatorOrder | property int | [0,1] | TODO resolve conflict with ResourceObjectTypeDependencyType

- ### Items

  - #### resourceRef

    Flags: RAM

    Multiplicity: [0,1]

    Display order:

    Reference to a resource that is the target of reference. It may be implicit in some cases.

  - #### kind

    Flags: RAM,runtime,AVals:4

    Multiplicity: [0,1]

    Display order:

  - #### intent

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Type of projection that is the target of reference. E.g "default", "admin", "testing"

  - #### tag

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Tag tha distinguished shadows that have the same combination of resource+kind+intent.

  - #### objectClassName

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO exact meaning

  - #### tombstone

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    Whether the projection is a remnant of a deleted/dead resource object. TODO should be named differently, as "tombstone" is a very specific lifecycle state of a shadow. In live object (ResourceShadowDiscriminator) it is called "gone".

  - #### discriminatorOrder

    Flags: RAM,runtime

    Multiplicity: [0,1]

    Display order:

    TODO resolve conflict with ResourceObjectTypeDependencyType