<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2018 ThoughtWorks, Inc.
  ~
  ~ 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.
  -->

<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      Configuration schema for Go. Copyright (c) 2017 ThoughtWorks, Inc.
      www.thoughtworks.com. All rights reserved.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:element name="cruise">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="1" name="server">
          <xsd:complexType>
            <xsd:all>
              <xsd:element minOccurs="0" maxOccurs="1" name="security" type="securityType"/>
              <xsd:element minOccurs="0" maxOccurs="1" name="mailhost" type="mailHostType"/>
              <xsd:element minOccurs="0" maxOccurs="1" name="backup" type="backupType"/>
            </xsd:all>
            <xsd:attributeGroup ref="serverAttributeGroup"/>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="elastic" type="elasticConfigType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="repositories" type="repositoriesType">
          <xsd:unique name="uniqueRepositoryId">
            <xsd:selector xpath="repository"/>
            <xsd:field xpath="@id"/>
          </xsd:unique>
          <xsd:unique name="uniqueRepositoryName">
            <xsd:selector xpath="repository"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="scms" type="scmsType">
          <xsd:unique name="uniqueSCMName">
            <xsd:selector xpath="scm"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="config-repos" type="configReposType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="artifactStores" type="artifactStoresType">
          <xsd:unique name="uniqueartifactStoreId">
            <xsd:selector xpath="artifactStore"/>
            <xsd:field xpath="@id"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="unbounded" name="pipelines" type="pipelinesType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="templates" type="templatesType">
          <xsd:unique name="uniquePipelineTemplateName">
            <xsd:selector xpath="pipeline"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="environments" type="environmentsType">
          <xsd:unique name="uniqueEnvironmentName">
            <xsd:selector xpath="environment"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
          <xsd:unique name="uniqueEnvironmentPipelineName">
            <xsd:selector xpath=".//environment/pipelines/pipeline"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" name="agents" type="agentsType">
          <xsd:unique name="uniqueUuid">
            <xsd:selector xpath="agent"/>
            <xsd:field xpath="@uuid"/>
          </xsd:unique>
        </xsd:element>
      </xsd:sequence>
      <xsd:attribute name="schemaVersion" type="xsd:int" use="required" fixed="113"/>
    </xsd:complexType>
    <xsd:unique name="uniquePipelines">
      <xsd:selector xpath="pipelines"/>
      <xsd:field xpath="@group"/>
    </xsd:unique>
    <xsd:unique name="uniquePackageId">
      <xsd:selector xpath="repositories/repository/packages/package"/>
      <xsd:field xpath="@id"/>
    </xsd:unique>
    <xsd:keyref name="packageIdReferredByMaterial" refer="uniquePackageId">
      <xsd:selector xpath="pipelines/pipeline/materials/package"/>
      <xsd:field xpath="@ref"/>
    </xsd:keyref>
    <xsd:unique name="uniqueSCMId">
      <xsd:selector xpath="scms/scm"/>
      <xsd:field xpath="@id"/><commit_msg>Fixing a missing schema bump<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright 2018 ThoughtWorks, Inc.
  ~
  ~ 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.
  -->

<xsd:schema elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:annotation>
    <xsd:documentation xml:lang="en">
      Configuration schema for Go. Copyright (c) 2017 ThoughtWorks, Inc.
      www.thoughtworks.com. All rights reserved.
    </xsd:documentation>
  </xsd:annotation>
  <xsd:element name="cruise">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element minOccurs="0" maxOccurs="1" name="server">
          <xsd:complexType>
            <xsd:all>
              <xsd:element minOccurs="0" maxOccurs="1" name="security" type="securityType"/>
              <xsd:element minOccurs="0" maxOccurs="1" name="mailhost" type="mailHostType"/>
              <xsd:element minOccurs="0" maxOccurs="1" name="backup" type="backupType"/>
            </xsd:all>
            <xsd:attributeGroup ref="serverAttributeGroup"/>
          </xsd:complexType>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="elastic" type="elasticConfigType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="repositories" type="repositoriesType">
          <xsd:unique name="uniqueRepositoryId">
            <xsd:selector xpath="repository"/>
            <xsd:field xpath="@id"/>
          </xsd:unique>
          <xsd:unique name="uniqueRepositoryName">
            <xsd:selector xpath="repository"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="scms" type="scmsType">
          <xsd:unique name="uniqueSCMName">
            <xsd:selector xpath="scm"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="config-repos" type="configReposType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="artifactStores" type="artifactStoresType">
          <xsd:unique name="uniqueartifactStoreId">
            <xsd:selector xpath="artifactStore"/>
            <xsd:field xpath="@id"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="unbounded" name="pipelines" type="pipelinesType"/>
        <xsd:element minOccurs="0" maxOccurs="1" name="templates" type="templatesType">
          <xsd:unique name="uniquePipelineTemplateName">
            <xsd:selector xpath="pipeline"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" maxOccurs="1" name="environments" type="environmentsType">
          <xsd:unique name="uniqueEnvironmentName">
            <xsd:selector xpath="environment"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
          <xsd:unique name="uniqueEnvironmentPipelineName">
            <xsd:selector xpath=".//environment/pipelines/pipeline"/>
            <xsd:field xpath="@name"/>
          </xsd:unique>
        </xsd:element>
        <xsd:element minOccurs="0" name="agents" type="agentsType">
          <xsd:unique name="uniqueUuid">
            <xsd:selector xpath="agent"/>
            <xsd:field xpath="@uuid"/>
          </xsd:unique>
        </xsd:element>
      </xsd:sequence>
      <xsd:attribute name="schemaVersion" type="xsd:int" use="required" fixed="114"/>
    </xsd:complexType>
    <xsd:unique name="uniquePipelines">
      <xsd:selector xpath="pipelines"/>
      <xsd:field xpath="@group"/>
    </xsd:unique>
    <xsd:unique name="uniquePackageId">
      <xsd:selector xpath="repositories/repository/packages/package"/>
      <xsd:field xpath="@id"/>
    </xsd:unique>
    <xsd:keyref name="packageIdReferredByMaterial" refer="uniquePackageId">
      <xsd:selector xpath="pipelines/pipeline/materials/package"/>
      <xsd:field xpath="@ref"/>
    </xsd:keyref>
    <xsd:unique name="uniqueSCMId">
      <xsd:selector xpath="scms/scm"/>
      <xsd:field xpath="@id"/>
{'fraction_non_alphanumeric': 0.153053393268282, 'fraction_numerical': 0.010305887512334173, 'mean_word_length': 2.999123191582639, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 2, '>': 173, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 6}, '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': '4531064', 'n_tokens_mistral': 2928, 'n_tokens_neox': 2651, 'n_words': 557}