<commit_before>﻿<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid Studio 2020 (https://www.liquid-technologies.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="keywordspec" type="KeywordSpec" />
    <xs:complexType name="KeywordSpec">
        <xs:sequence>
            <xs:element name="version" type="xs:string" />
            <xs:element name="doc" type="xs:string" />
            <xs:element name="tags" type="Tags" minOccurs="0" />
            <xs:element name="inits" type="Inits" minOccurs="0" maxOccurs="unbounded" />
            <xs:element name="keywords" type="Keywords" minOccurs="0" maxOccurs="unbounded" />
            <!-- 'datatypes' was deprecated in RF 5.0. -->
            <xs:element name="datatypes" type="DataTypes" minOccurs="0" maxOccurs="unbounded" />
            <!-- 'types' should be used instead. -->
            <xs:element name="types" type="Types" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
        <xs:attribute name="type" type="LibraryType" use="required" />
        <xs:attribute name="format" type="DocumentationFormat" use="required" />
        <xs:attribute name="scope" type="LibraryScope" use="required" />
        <xs:attribute name="generated" type="xs:dateTime" use="required" />
        <xs:attribute name="specversion" type="SpecVersion" use="required" />
        <!-- "source" is a path relative to the location where the spec file is created.
         Both "source" and "lineno" are omitted if getting them from library fails.
         With Init and Keyword elements source is omitted also if it same as here. -->
        <xs:attribute name="source" type="xs:string" use="optional" />
        <xs:attribute name="lineno" type="xs:positiveInteger" use="optional" />
    </xs:complexType>
    <xs:complexType name="Inits">
        <xs:sequence>
            <xs:element name="init" type="Init" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Keywords">
        <xs:sequence>
            <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Init">
        <xs:sequence>
            <xs:element name="arguments" type="Arguments" />
            <xs:element name="doc" type="xs:string" />
            <xs:element name="shortdoc" type="xs:string" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="optional" />
        <xs:attribute name="deprecated" type="xs:boolean" use="optional" />
        <!-- See the KeywordSpec level comment about "source" and "lineno". -->
        <xs:attribute name="source" type="xs:string" use="optional" />
        <xs:attribute name="lineno" type="xs:positiveInteger" use="optional" />
    </xs:complexType>
    <xs:complexType name="Keyword">
        <xs:sequence>
            <xs:element name="arguments" type="Arguments" />
            <xs:element name="doc" type="xs:string" />
            <xs:element name="shortdoc" type="xs:string" />
            <xs:element name="tags" type="Tags" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
        <xs:attribute name="deprecated" type="xs:boolean" use="optional" />
        <!-- See the KeywordSpec level comment about "source" and "lineno". -->
        <xs:attribute name="source" type="xs:string" use="optional" />
        <xs:attribute name="lineno" type="xs:positiveInteger" use="optional" />
    </xs:complexType>
    <xs:complexType name="Arguments">
        <xs:sequence>
            <xs:element name="arg" type="Argument" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="repr" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="DataTypes">
        <xs:sequence>
            <xs:element name="enums" type="EnumList" minOccurs="0" />
            <xs:element name="typeddicts" type="TypedDictList" minOccurs="0" />
            <xs:element name="customs" type="CustomList" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EnumList">
        <xs:sequence>
            <xs:element name="enum" type="EnumType" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TypedDictList">
        <xs:sequence>
            <xs:element name="typeddict" type="TypedDictType" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="CustomList">
        <xs:sequence>
            <xs:element name="custom" type="CustomType" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EnumType">
        <xs:sequence>
            <xs:element name="doc" type="xs:string" />
            <xs:element name="members" type="EnumMembers" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="TypedDictType">
        <xs:sequence>
            <xs:element name="doc" type="xs:string" />
            <xs:element name="items" type="TypedDictItems" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="CustomType">
        <xs:sequence>
            <xs:element name="doc" type="xs:string" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="EnumMembers">
        <xs:sequence>
            <xs:element name="member" type="EnumMember" maxOccurs="unbounded" />
        </xs:sequence><commit_msg>Remove `dataTypes/custom` from Libdoc schema.<commit_after>﻿<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid Studio 2020 (https://www.liquid-technologies.com)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="keywordspec" type="KeywordSpec" />
    <xs:complexType name="KeywordSpec">
        <xs:sequence>
            <xs:element name="version" type="xs:string" />
            <xs:element name="doc" type="xs:string" />
            <xs:element name="tags" type="Tags" minOccurs="0" />
            <xs:element name="inits" type="Inits" minOccurs="0" maxOccurs="unbounded" />
            <xs:element name="keywords" type="Keywords" minOccurs="0" maxOccurs="unbounded" />
            <!-- 'datatypes' was deprecated in RF 5.0. -->
            <xs:element name="datatypes" type="DataTypes" minOccurs="0" maxOccurs="unbounded" />
            <!-- 'types' should be used instead. -->
            <xs:element name="types" type="Types" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
        <xs:attribute name="type" type="LibraryType" use="required" />
        <xs:attribute name="format" type="DocumentationFormat" use="required" />
        <xs:attribute name="scope" type="LibraryScope" use="required" />
        <xs:attribute name="generated" type="xs:dateTime" use="required" />
        <xs:attribute name="specversion" type="SpecVersion" use="required" />
        <!-- "source" is a path relative to the location where the spec file is created.
         Both "source" and "lineno" are omitted if getting them from library fails.
         With Init and Keyword elements source is omitted also if it same as here. -->
        <xs:attribute name="source" type="xs:string" use="optional" />
        <xs:attribute name="lineno" type="xs:positiveInteger" use="optional" />
    </xs:complexType>
    <xs:complexType name="Inits">
        <xs:sequence>
            <xs:element name="init" type="Init" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Keywords">
        <xs:sequence>
            <xs:element name="kw" type="Keyword" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Init">
        <xs:sequence>
            <xs:element name="arguments" type="Arguments" />
            <xs:element name="doc" type="xs:string" />
            <xs:element name="shortdoc" type="xs:string" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="optional" />
        <xs:attribute name="deprecated" type="xs:boolean" use="optional" />
        <!-- See the KeywordSpec level comment about "source" and "lineno". -->
        <xs:attribute name="source" type="xs:string" use="optional" />
        <xs:attribute name="lineno" type="xs:positiveInteger" use="optional" />
    </xs:complexType>
    <xs:complexType name="Keyword">
        <xs:sequence>
            <xs:element name="arguments" type="Arguments" />
            <xs:element name="doc" type="xs:string" />
            <xs:element name="shortdoc" type="xs:string" />
            <xs:element name="tags" type="Tags" minOccurs="0" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
        <xs:attribute name="deprecated" type="xs:boolean" use="optional" />
        <!-- See the KeywordSpec level comment about "source" and "lineno". -->
        <xs:attribute name="source" type="xs:string" use="optional" />
        <xs:attribute name="lineno" type="xs:positiveInteger" use="optional" />
    </xs:complexType>
    <xs:complexType name="Arguments">
        <xs:sequence>
            <xs:element name="arg" type="Argument" minOccurs="0" maxOccurs="unbounded" />
        </xs:sequence>
        <xs:attribute name="repr" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="DataTypes">
        <xs:sequence>
            <xs:element name="enums" type="EnumList" minOccurs="0" />
            <xs:element name="typeddicts" type="TypedDictList" minOccurs="0" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EnumList">
        <xs:sequence>
            <xs:element name="enum" type="EnumType" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="TypedDictList">
        <xs:sequence>
            <xs:element name="typeddict" type="TypedDictType" maxOccurs="unbounded" />
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EnumType">
        <xs:sequence>
            <xs:element name="doc" type="xs:string" />
            <xs:element name="members" type="EnumMembers" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="TypedDictType">
        <xs:sequence>
            <xs:element name="doc" type="xs:string" />
            <xs:element name="items" type="TypedDictItems" />
        </xs:sequence>
        <xs:attribute name="name" type="xs:string" use="required" />
    </xs:complexType>
    <xs:complexType name="EnumMembers">
        <xs:sequence>
            <xs:element name="member" type="EnumMember" maxOccurs="unbounded" />
        </xs:sequence>
{'fraction_non_alphanumeric': 0.17200324704609002, 'fraction_numerical': 0.004599981960855056, 'mean_word_length': 3.0378732702112163, 'pattern_counts': {'":': 0, '<': 217, '<?xml version=': 2, '>': 217, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, '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': '5075760', 'n_tokens_mistral': 3387, 'n_tokens_neox': 3351, 'n_words': 662}