<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (c) 2010-2024 Evolveum and contributors
  ~
 ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~     http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<archetype xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oid="00000000-0000-0000-0000-000000000702" version="5">
    <name>Person</name>
    <description>Archetype for person users.</description>
    <assignment id="1">
        <identifier>holderType</identifier>
        <activation>
            <effectiveStatus>enabled</effectiveStatus>
        </activation>
        <assignmentRelation id="2">
            <holderType>UserType</holderType>
        </assignmentRelation>
    </assignment>
    <activation/>
    <inducement id="4">
        <construction>
            <resourceRef oid="052a29b1-cde5-4546-9787-916e4a846f2e" relation="org:default" type="c:ResourceType"/>
            <kind>account</kind>
<!--            <intent>default</intent>--> <!-- 25.9.2024: no intent as there is no intent in AD account object type -->
            <!-- No association here when starting the course. We will create it using new methodology. -->
        </construction>
    </inducement>
    <archetypePolicy>
        <display>
            <label>Person</label>
            <pluralLabel>Persons</pluralLabel>
            <tooltip>Person</tooltip>
            <icon>
                <cssClass>fa fa-user</cssClass>
                <color>green</color>
            </icon>
        </display>
        <objectTemplateRef oid="00000000-0000-0000-0000-000000000380" relation="org:default" type="c:ObjectTemplateType"/>
    </archetypePolicy>
</archetype>
