<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <oatconfig>
        <licensefile></licensefile>
        <policylist>
            <policy name="projectPolicy" desc="">
                <policyitem type="license" name="CANN-2.0" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
                <policyitem type="copyright" name="Huawei Technologies Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
                <policyitem type="filetype" name="!binary" path=".*" rule="must" group="defaultGroup" filefilter="binaryFileTypePolicyFilter" desc=""/>
            </policy>
        </policylist>
        <filefilterlist>
            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
                <filteritem type="filename" name="classify_rule.yaml" desc="recognize code owner"/>
                <filteritem type="filename" name="OWNERS" desc="Describe commite owner"/> 
                <filteritem type="filename" name="OAT.xml" desc="Describe commite owner"/> 
                <filteritem type="filename" name=".gitmodules" desc="git submodule "/>
            </filefilter>
            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
                <filteritem type="filename" name="classify_rule.yaml" desc="recognize code owner"/>
                <filteritem type="filename" name="OWNERS" desc="Describe commite owner"/>
                <filteritem type="filename" name=".gitmodules" desc="git submodule "/>
            </filefilter>
            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
            </filefilter>
            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
            </filefilter>
            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
            </filefilter>
            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
            </filefilter>

        </filefilterlist>
        <licensematcherlist>
            <licensematcher name="Apache-2.0" desc="Apache License 2.0 matching rules">
                <licensetext name="Apache License" desc="Standard Apache 2.0 license header">
                    Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
                    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 &quot;AS IS&quot; 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.
                </licensetext>
                
                <!-- SPDX标识符匹配 -->
                <licensetext name="SPDX-Apache-2.0" desc="SPDX license identifier">
                    SPDX-License-Identifier: Apache-2.0
                </licensetext>
                
                <!-- 简化的Apache头 -->
                <licensetext name="Apache-2.0-Simple" desc="Simple Apache 2.0 header">
                    Licensed to the Apache Software Foundation (ASF) under one
                    or more contributor license agreements.  See the NOTICE file
                    distributed with this work for additional information
                    regarding copyright ownership.  The ASF licenses this file
                    to you under the Apache License, Version 2.0 (the
                    &quot;License&quot;); 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
                    &quot;AS IS&quot; 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.
                </licensetext>
            </licensematcher>
        </licensematcherlist>
    </oatconfig>
</configuration>