<?xml version="1.0" encoding="utf-8"?>
<!--
Cadence Design Systems 


(C) COPYRIGHT, Cadence Design Systems, Inc. 2017
All Rights Reserved
Licensed Materials - PropertyA of Cadence Design Systems

No part of this file may be reproduced, stored in a retrieval system,
or transmitted in any form or by any means electronic, mechanical,
photocopying, recording, or otherwise without prior written permission
of Cadence Design Systems, Inc. 

WARRANTY:
Use all material in this file at your own risk.  Cadence Design Systems
makes no claims about any material contained in this file.
-->

<xs:schema
        targetNamespace="http://www.cadence.com/xsd/acc_input"
        xmlns:l="http://www.cadence.com/xsd/acc_input"
        elementFormDefault="qualified"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:cft="http://www.cadence.com/xsd/cft"
    >

    <xs:complexType name="FilesTp">
        <xs:sequence>
            <xs:element name="f" minOccurs="1" maxOccurs="unbounded" type="xs:string"  />
        </xs:sequence>
    </xs:complexType>

    <xs:simpleType name="InputDataTp">
        <xs:restriction base="xs:string">
            <xs:enumeration value="global"/>
            <xs:enumeration value="interface"/>
        </xs:restriction>
    </xs:simpleType>

    <xs:complexType name="OptionTp">
        <xs:sequence>
            <xs:element name="o" minOccurs="0" maxOccurs="unbounded" type="xs:string"  />
        </xs:sequence>
    </xs:complexType>

  <xs:complexType name="ReportFileTp">
    <xs:sequence>
      <xs:element name="f" minOccurs="0" maxOccurs="1" type="xs:string"  />
    </xs:sequence>
  </xs:complexType>

  <xs:element name="root">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="folder" minOccurs="0" maxOccurs="unbounded">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="files" type="l:FilesTp" minOccurs="0" />
                        </xs:sequence>
                        <xs:attribute name="path" type="xs:string" use="required" />
                        <xs:attribute name="type" type="l:InputDataTp" use="required"/>
                    </xs:complexType>
                </xs:element>

                <xs:element name="options" minOccurs="0">
                    <xs:complexType>
                        <xs:sequence>                            
                            <xs:element name="enable" type="l:OptionTp" minOccurs="0" />
                        </xs:sequence>
                        <xs:attribute name="name" type="xs:string" />
                    </xs:complexType>
                </xs:element>
                <xs:element name="reportSettings" minOccurs="0">
                  <xs:complexType>
                    <xs:sequence>
                      <xs:element name="reportFile" type="l:ReportFileTp" minOccurs="0" maxOccurs="1" />
                    </xs:sequence>
                    <xs:attribute name="name" type="xs:string" />
                  </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>
