<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--

   Copyright 2010 OpenEngSB Division, Vienna University of Technology

   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

   programlistingUnless 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.

-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
        targetNamespace="http://www.openengsb.org/engsb/acm/persist"
      	xmlns:tns="http://www.openengsb.org/engsb/acm/persist"
    	  xmlns:base="http://www.openengsb.org/engsb/AbstractServiceMessage"
      	elementFormDefault="qualified">

	<import namespace="http://www.openengsb.org/engsb/AbstractServiceMessage"
		schemaLocation="abstrac-service-message.xsd" />

	<annotation>
		<documentation><![CDATA[
		Message used to persist data into an artifact control management (acm) domain.
		]]></documentation>
	</annotation>

	<element name="acmPersistMessage" type="tns:acmPersistMessage">
		<annotation>
			<documentation><![CDATA[
			The real message wich is sent and consists out of an header and an body,
			where the body is defined by an base definition in the abstract-message.xsd
			and the body is definied for the message in this file.
			]]></documentation>
		</annotation>
	</element>

	<complexType name="acmPersistMessage">
		<annotation>
			<documentation><![CDATA[
			Type of the message to be sent to persist acm data.
			]]></documentation>
		</annotation>
		<sequence>
			<element name="header" type="base:engsbServiceHeader" />
			<element name="body" type="tns:acmPersistMessageBody" />
		</sequence>
	</complexType>

	<complexType name="acmPersistMessageBody">
		<annotation>
			<documentation><![CDATA[
			Message body which is build out of an user object and
			an complex message object which contains exactly one 
			acmMessageObjects object which contains all the required
			data for the application.
			]]></documentation>
		</annotation>
		<sequence>
			<element name="acmMessageObjects" type="tns:acmMessageObjects"
				minOccurs="1" maxOccurs="unbounded" />
		</sequence>
	</complexType>

	<complexType name="acmMessageObjects">
		<annotation>
			<documentation><![CDATA[
			Message object containing the required subobjects for transfering data 
			over the network which should be persisted.
			]]></documentation>
		</annotation>
		<sequence>
			<element name="user" type="string" minOccurs="1" maxOccurs="1" />
			<element name="uuid" type="string" minOccurs="1" maxOccurs="1" />
			<element name="path" type="string" minOccurs="1" maxOccurs="1" />
			<element name="acmMessageObject" type="tns:acmMessageObject"
				minOccurs="1" maxOccurs="unbounded" />
		</sequence>
	</complexType>

	<complexType name="acmMessageObject"><commit_msg>planned for new message fields on edb-commit<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--

   Copyright 2010 OpenEngSB Division, Vienna University of Technology

   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

   programlistingUnless 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.

-->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
        targetNamespace="http://www.openengsb.org/engsb/acm/persist"
      	xmlns:tns="http://www.openengsb.org/engsb/acm/persist"
    	  xmlns:base="http://www.openengsb.org/engsb/AbstractServiceMessage"
      	elementFormDefault="qualified">

	<import namespace="http://www.openengsb.org/engsb/AbstractServiceMessage"
		schemaLocation="abstrac-service-message.xsd" />

	<annotation>
		<documentation><![CDATA[
		Message used to persist data into an artifact control management (acm) domain.
		]]></documentation>
	</annotation>

	<element name="acmPersistMessage" type="tns:acmPersistMessage">
		<annotation>
			<documentation><![CDATA[
			The real message wich is sent and consists out of an header and an body,
			where the body is defined by an base definition in the abstract-message.xsd
			and the body is definied for the message in this file.
			]]></documentation>
		</annotation>
	</element>

	<complexType name="acmPersistMessage">
		<annotation>
			<documentation><![CDATA[
			Type of the message to be sent to persist acm data.
			]]></documentation>
		</annotation>
		<sequence>
			<element name="header" type="base:engsbServiceHeader" />
			<element name="body" type="tns:acmPersistMessageBody" />
		</sequence>
	</complexType>

	<complexType name="acmPersistMessageBody">
		<annotation>
			<documentation><![CDATA[
			Message body which is build out of an user object and
			an complex message object which contains exactly one 
			acmMessageObjects object which contains all the required
			data for the application.
			]]></documentation>
		</annotation>
		<sequence>
      <element name="user" type="string" minOccurs="0" maxOccurs="1"/>
      <element name="email" type="string" minOccurs="0" maxOccurs="1"/>
			<element name="acmMessageObjects" type="tns:acmMessageObjects"
				minOccurs="1" maxOccurs="unbounded" />
		</sequence>
	</complexType>

	<complexType name="acmMessageObjects">
		<annotation>
			<documentation><![CDATA[
			Message object containing the required subobjects for transfering data 
			over the network which should be persisted.
			]]></documentation>
		</annotation>
		<sequence>
			<element name="user" type="string" minOccurs="1" maxOccurs="1" />
			<element name="uuid" type="string" minOccurs="1" maxOccurs="1" />
			<element name="path" type="string" minOccurs="1" maxOccurs="1" />
			<element name="acmMessageObject" type="tns:acmMessageObject"
				minOccurs="1" maxOccurs="unbounded" />
		</sequence>
	</complexType>

	<complexType name="acmMessageObject">
{'fraction_non_alphanumeric': 0.11765620142990364, 'fraction_numerical': 0.008082064034815045, 'mean_word_length': 4.398489932885906, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 2, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '520253', 'n_tokens_mistral': 2096, 'n_tokens_neox': 1828, 'n_words': 569}