<!--
  ~ Copyright (c) 2019 Evolveum and contributors
  ~
  ~ Licensed under the EUPL-1.2 or later.
  -->

<archetype oid="00000000-0000-0000-0000-000000000340"
        xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
        xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
        xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3"
        xmlns:org='http://midpoint.evolveum.com/xml/ns/public/common/org-3'>
    <name>Manual provisioning case</name>
    <description>
        Archetype for cases that describe manual provisioning operations.
    </description>
    <archetypePolicy>
        <display>
            <label>
                <orig>Manual provisioning case</orig>
                <translation>
                    <key>manualProvisioningCases.label</key>
                </translation>
            </label>
            <pluralLabel>
                <orig>Manual provisioning cases</orig>
                <translation>
                    <key>manualProvisioningCases.pluralLabel</key>
                </translation>
            </pluralLabel>
            <icon>
                <cssClass>far fa-hand-paper</cssClass>
                <color>#001f3f</color>
            </icon>
        </display>
        <adminGuiConfiguration>
            <objectDetails>
                <panel id="3">
                    <identifier>manualCase</identifier>
                    <display>
                        <label>
                            <orig>Manual case</orig>
                            <translation>
                                <key>manualCase.panel.label</key>
                            </translation>
                        </label>
                        <icon>
                            <cssClass>fa fa-circle-o</cssClass>
                        </icon>
                    </display>
                    <panelType>manualCase</panelType>
                    <type>c:CaseType</type>
                </panel>
                <panel id="4">
                    <identifier>caseWorkItems</identifier>
                    <display>
                        <label>
                            <orig>Workitems</orig>
                            <translation>
                                <key>Workitems.panel.title</key>
                            </translation>
                        </label>
                        <icon>
                            <cssClass>fa fa-circle-o</cssClass>
                        </icon>
                    </display>
                    <panelType>caseWorkItems</panelType>
                    <type>c:CaseType</type>
                </panel>
            </objectDetails>
        </adminGuiConfiguration>
    </archetypePolicy>
    <assignment id="1">
        <identifier>holderType</identifier>
        <assignmentRelation id="2">
            <holderType>CaseType</holderType>
        </assignmentRelation>
    </assignment>
</archetype>
