<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
FreeContact - program to predict protein residue contacts from a sufficiently large multiple alignment
Copyright (C) 2012-2013  Laszlo Kajan <lkajan@rostlab.org> Rost Lab, Technical University of Munich, Germany

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
-->
<xs:schema xmlns="http://rostlab.org/freecontact/input"
		   targetNamespace="http://rostlab.org/freecontact/input"
           xmlns:bx="http://bioxsd.org/BioXSD-1.1"
		   xmlns:xs="http://www.w3.org/2001/XMLSchema"
		   xmlns:sawsdl="http://www.w3.org/ns/sawsdl"
		   attributeFormDefault="unqualified" elementFormDefault="qualified"
		   version="1.0.0">

	<xs:import namespace="http://bioxsd.org/BioXSD-1.1" schemaLocation="http://bioxsd.org/BioXSD-1.1.xsd"/>

	<xs:element name="alignment" type="FcAlignment"/>
	<xs:complexType name="FcAlignment" sawsdl:modelReference="http://edamontology.org/data_1384">
		<xs:annotation><xs:documentation>Protein sequence alignment [http://edamontology.org/data_1384 Sequence alignment (protein)].</xs:documentation></xs:annotation>
		<xs:choice>
			<xs:element name="flat" type="xs:string" sawsdl:modelReference="http://edamontology.org/format_3263">
				<xs:annotation>
					<xs:documentation>Flat FreeContact XML input format:
 * Header described on man page freecontact(1).
 * A2M protein alignment [http://edamontology.org/format_3263 A2M].</xs:documentation>
				</xs:annotation>
			</xs:element>
			<!--xs:element name="bioxsd" type="bx:GeneralAminoacidSequenceAlignment" TODO /-->
		</xs:choice>
	</xs:complexType>

</xs:schema>
