<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="sql-connections">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="sql-connection"/>
</xs:choice>
</xs:complexType>
<xs:key name="UNIQUE_CONNECTION_NAME">
<xs:selector xpath="connection"/>
<xs:field xpath="@name"/>
</xs:key>
</xs:element>
<xs:element name="sql-connection">
<xs:complexType>
<xs:attribute name="name" type="xs:token" use="required"/>
<xs:attribute name="driver" type="xs:token" use="required"/>
<xs:attribute name="connection-string" type="xs:token" use="required"/>
<xs:attribute name="user" type="xs:token" use="optional"/>
<xs:attribute name="password" type="xs:token" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>