<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2011 Evolveum                             -->
<!--                                                         -->
<!-- The contents of this file are subject to the terms      -->
<!-- of the Common Development and Distribution License      -->
<!-- (the License). You may not use this file except in      -->
<!-- compliance with the License.                            -->
<!--                                                         -->
<!-- You can obtain a copy of the License at                 -->
<!-- http://www.opensource.org/licenses/cddl1 or             -->
<!-- CDDLv1.0.txt file in the source code distribution.      -->
<!-- See the License for the specific language governing     -->
<!-- permission and limitations under the License.           -->
<!--                                                         -->
<!-- If applicable, add the following below the CDDL Header, -->
<!-- with the fields enclosed by brackets [] replaced by     -->
<!-- your own identifying information:                       -->
<!--                                                         -->
<!-- Portions Copyrighted 2011 [name of copyright owner]     -->
<!--                                                         -->

<resource oid="10000000-0000-0000-0000-000000000104"
		  xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-2"
          xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2"
          xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
          xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
          xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
								  
	<name>Dummy Resource Red</name>
	<connectorRef oid="cccccccc-cccc-cccc-cccc-000000000004" type="c:ConnectorType">
		<filter>
			<and>
				<equal>
				<path>c:connectorType</path>
					<value>com.evolveum.icf.dummy.connector.DummyConnector</value>
				</equal>
			</and>
		</filter>
	</connectorRef>
	<connectorConfiguration xmlns:icfi="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.icf.dummy/com.evolveum.icf.dummy.connector.DummyConnector"
	               xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2">
					   
		<icfc:configurationProperties>
			<icfi:instanceId>red</icfi:instanceId>
		</icfc:configurationProperties>

	</connectorConfiguration>
	
	<schema>
		<definition>
			<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                     xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
                     xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-2"
                     xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
                     xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-2"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     elementFormDefault="qualified"
                     targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">
            <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"/>
            <xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-2"/>
            <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-2"/>
            <xsd:complexType name="AccountObjectClass">
               <xsd:annotation>
                  <xsd:appinfo>
                     <ra:resourceObject/>
                     <ra:identifier>icfs:uid</ra:identifier>
                     <ra:secondaryIdentifier>icfs:name</ra:secondaryIdentifier>
                     <ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
                     <ra:namingAttribute>icfs:name</ra:namingAttribute>
                     <ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
                     <ra:account/>
                     <ra:default/>
                  </xsd:appinfo>
               </xsd:annotation>
               <xsd:sequence>
                  <xsd:element ref="icfs:uid" minOccurs="0">
                     <xsd:annotation>
                        <xsd:appinfo>
                           <a:displayName>ICF UID</a:displayName>
                           <a:access>read</a:access>
                        </xsd:appinfo>
                     </xsd:annotation>
                  </xsd:element>
                  <xsd:element name="fullname" type="xsd:string"/>
                  <xsd:element minOccurs="0" name="description" type="xsd:string"/>
                  <xsd:element maxOccurs="unbounded" minOccurs="0" name="interests" type="xsd:string"/>
                  <xsd:element ref="icfs:name">
                     <xsd:annotation>
                        <xsd:appinfo>
                           <a:displayName>ICF NAME</a:displayName>
                        </xsd:appinfo>
                     </xsd:annotation>
                  </xsd:element>
                  <xsd:element name="title" type="xsd:string" maxOccurs="unbounded"/>
                  <xsd:element name="ship" type="xsd:string"/>
                  <xsd:element name="location" type="xsd:string"/>
                  <xsd:element name="loot" type="xsd:int"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:schema>
		</definition>
	</schema>

	<schemaHandling>
		<accountType>
			<name>default</name>
			<displayName>Default Account</displayName>
			<default>true</default>
			<objectClass>ri:AccountObjectClass</objectClass>
			<attribute>
				<ref>icfs:name</ref>
				<displayName>Username</displayName>
				<outbound>
				    <initial>true</initial>
				    <source>
				    	<path>$user/name</path>
				    </source>
					<expression>
						<script>
							<language>http://www.w3.org/TR/xpath/</language>
							<code>
								concat($c:name, $c:iterationToken)
							</code>
						</script>
					</expression>
				</outbound>
				<inbound>
					<target>
						<path>$c:user/c:name</path>
					</target>
				</inbound><commit_msg>Fixing the last model test<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2011 Evolveum                             -->
<!--                                                         -->
<!-- The contents of this file are subject to the terms      -->
<!-- of the Common Development and Distribution License      -->
<!-- (the License). You may not use this file except in      -->
<!-- compliance with the License.                            -->
<!--                                                         -->
<!-- You can obtain a copy of the License at                 -->
<!-- http://www.opensource.org/licenses/cddl1 or             -->
<!-- CDDLv1.0.txt file in the source code distribution.      -->
<!-- See the License for the specific language governing     -->
<!-- permission and limitations under the License.           -->
<!--                                                         -->
<!-- If applicable, add the following below the CDDL Header, -->
<!-- with the fields enclosed by brackets [] replaced by     -->
<!-- your own identifying information:                       -->
<!--                                                         -->
<!-- Portions Copyrighted 2011 [name of copyright owner]     -->
<!--                                                         -->

<resource oid="10000000-0000-0000-0000-000000000104"
		  xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-2"
          xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-2"
          xmlns:t="http://prism.evolveum.com/xml/ns/public/types-2"
          xmlns:q="http://prism.evolveum.com/xml/ns/public/query-2"
          xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
          xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
								  
	<name>Dummy Resource Red</name>
	<connectorRef oid="cccccccc-cccc-cccc-cccc-000000000004" type="c:ConnectorType">
		<filter>
			<and>
				<equal>
				<path>c:connectorType</path>
					<value>com.evolveum.icf.dummy.connector.DummyConnector</value>
				</equal>
			</and>
		</filter>
	</connectorRef>
	<connectorConfiguration xmlns:icfi="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.icf.dummy/com.evolveum.icf.dummy.connector.DummyConnector"
	               xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-2">
					   
		<icfc:configurationProperties>
			<icfi:instanceId>red</icfi:instanceId>
		</icfc:configurationProperties>

	</connectorConfiguration>
	
	<schema>
		<definition>
			<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                     xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"
                     xmlns:ra="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-2"
                     xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2"
                     xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-2"
                     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     elementFormDefault="qualified"
                     targetNamespace="http://midpoint.evolveum.com/xml/ns/public/resource/instance-2">
            <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-2"/>
            <xsd:import namespace="http://prism.evolveum.com/xml/ns/public/annotation-2"/>
            <xsd:import namespace="http://midpoint.evolveum.com/xml/ns/public/resource/annotation-2"/>
            <xsd:complexType name="AccountObjectClass">
               <xsd:annotation>
                  <xsd:appinfo>
                     <ra:resourceObject/>
                     <ra:identifier>icfs:uid</ra:identifier>
                     <ra:secondaryIdentifier>icfs:name</ra:secondaryIdentifier>
                     <ra:displayNameAttribute>icfs:name</ra:displayNameAttribute>
                     <ra:namingAttribute>icfs:name</ra:namingAttribute>
                     <ra:nativeObjectClass>__ACCOUNT__</ra:nativeObjectClass>
                     <ra:account/>
                     <ra:default/>
                  </xsd:appinfo>
               </xsd:annotation>
               <xsd:sequence>
                  <xsd:element ref="icfs:uid" minOccurs="0">
                     <xsd:annotation>
                        <xsd:appinfo>
                           <a:displayName>ICF UID</a:displayName>
                           <a:access>read</a:access>
                        </xsd:appinfo>
                     </xsd:annotation>
                  </xsd:element>
                  <xsd:element name="fullname" type="xsd:string"/>
                  <xsd:element minOccurs="0" name="description" type="xsd:string"/>
                  <xsd:element maxOccurs="unbounded" minOccurs="0" name="interests" type="xsd:string"/>
                  <xsd:element ref="icfs:name">
                     <xsd:annotation>
                        <xsd:appinfo>
                           <a:displayName>ICF NAME</a:displayName>
                        </xsd:appinfo>
                     </xsd:annotation>
                  </xsd:element>
                  <xsd:element name="title" type="xsd:string" maxOccurs="unbounded"/>
                  <xsd:element name="ship" type="xsd:string"/>
                  <xsd:element name="location" type="xsd:string"/>
                  <xsd:element name="loot" type="xsd:int"/>
               </xsd:sequence>
            </xsd:complexType>
         </xsd:schema>
		</definition>
	</schema>

	<schemaHandling>
		<accountType>
			<name>default</name>
			<displayName>Default Account</displayName>
			<default>true</default>
			<objectClass>ri:AccountObjectClass</objectClass>
			<attribute>
				<ref>icfs:name</ref>
				<displayName>Username</displayName>
				<outbound>
				    <initial>true</initial>
				    <source>
				    	<path>$user/name</path>
				    </source>
					<expression>
						<script>
							<language>http://www.w3.org/TR/xpath/</language>
							<code>
								concat($c:name/t:orig, $c:iterationToken)
							</code>
						</script>
					</expression>
				</outbound>
				<inbound>
					<target>
						<path>$c:user/c:name</path>
					</target>
				</inbound>
{'fraction_non_alphanumeric': 0.14709576138147568, 'fraction_numerical': 0.015934065934065933, 'mean_word_length': 1.7435400516795865, 'pattern_counts': {'":': 0, '<': 269, '<?xml version=': 2, '>': 269, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 64}, 'pii_count': 0, 'substrings_counts': 8, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5451447', 'n_tokens_mistral': 4129, 'n_tokens_neox': 3548, 'n_words': 486}