<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->


<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://schemas.microsoft.com/wix/2007/pdbs"
              xmlns="http://schemas.microsoft.com/wix/2007/pdbs"
         xmlns:outs="http://schemas.microsoft.com/wix/2006/outputs">
    <xs:annotation>
        <xs:documentation>
            Schema for describing Windows Installer Xml Pdb files (.wixpdb).
        </xs:documentation>
    </xs:annotation>

    <xs:import namespace="http://schemas.microsoft.com/wix/2006/objects" schemaLocation="objects.xsd" />
    <xs:import namespace="http://schemas.microsoft.com/wix/2006/outputs" schemaLocation="outputs.xsd" />
    <xs:import namespace="http://schemas.microsoft.com/wix/2006/tables" schemaLocation="tables.xsd" />

    <xs:element name="wixPdb">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="outs:wixOutput" minOccurs="0" maxOccurs="unbounded" />
            </xs:sequence>

            <xs:attribute name="version" type="xs:string" use="required">
                <xs:annotation>
                    <xs:documentation>Version of WiX used to create this pdb file</xs:documentation>
                </xs:annotation>
            </xs:attribute>
        </xs:complexType>
    </xs:element>
</xs:schema>
