<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2010-2017 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  -->

<archetype oid="00000000-0000-0000-0000-000000000701"
        xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3">
    <name>Object mark</name>
    <description>Denotes marks for objects and assignments. Replaces legacy policy situations.</description>
    <assignment id="1">
        <identifier>holderType</identifier>
        <assignmentRelation id="2">
            <holderType>MarkType</holderType>
        </assignmentRelation>
    </assignment>
    <archetypeType>structural</archetypeType>
    <archetypePolicy>
        <display>
            <label>
                <orig>Object mark</orig>
                <translation>
                    <key>ObjectMark.label</key>
                </translation>
            </label>
            <pluralLabel>
                <orig>Object marks</orig>
                <translation>
                    <key>ObjectMarks.pluralLabel</key>
                </translation>
            </pluralLabel>
            <icon>
                <cssClass>fa fa-tag</cssClass>
                <color>blue</color>
            </icon>
        </display>
        <adminGuiConfiguration>
            <objectDetails>
                <panel id="3">
                    <identifier>shadowMarksList</identifier>
                    <display>
                        <label>
                            <orig>Marked shadows</orig>
                            <translation>
                                <key>MarkedShadows.label</key>
                            </translation>
                        </label>
                    </display>
                    <applicableForOperation>modify</applicableForOperation>
                    <panelType>markedShadowList</panelType>
                </panel>
                <panel id="4">
                    <identifier>eventMarkInformationPanel</identifier>
                    <visibility>hidden</visibility>
                </panel>
            </objectDetails>
        </adminGuiConfiguration>
    </archetypePolicy>
</archetype>
