1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- edited with XMLSpy v2016 (http://www.altova.com) by Charles (student) -->
3 <xsd:schema xmlns="http://www.ebi.ac.uk/pdbe/docs/sifts/eFamily.xsd" xmlns:data="http://www.ebi.ac.uk/pdbe/docs/sifts/dataTypes.xsd" xmlns:align="http://www.ebi.ac.uk/pdbe/docs/sifts/alignment.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" targetNamespace="http://www.ebi.ac.uk/pdbe/docs/sifts/eFamily.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
4 <xsd:include schemaLocation="alignment.xsd"/>
5 <xsd:import namespace="http://www.ebi.ac.uk/pdbe/docs/sifts/dataTypes.xsd" schemaLocation="dataTypes.xsd"/>
7 <xsd:documentation>The eFamily schema is designed to allow the members of the eFamily consortium to exchange domain definitions. As members of the different databases use different underlying data (languages) so we need a way of getting between the co-ordinates systems. MSD are to provide the mapping between the co-ordinates (translator), hence the reason for the incorporation of the mappings into the core of the schema.
10 <xsd:element name="entry">
12 <xsd:documentation>The entry represents a database entry. This schema is currently designed for domain and mapping entires.</xsd:documentation>
16 <xsd:element name="listDB" minOccurs="1" maxOccurs="1">
17 <xsd:complexType mixed="false">
18 <xsd:sequence minOccurs="1" maxOccurs="unbounded">
19 <xsd:element name="db">
21 <xsd:attributeGroup ref="data:listdbRef"/>
27 <xsd:element name="entryDetail" minOccurs="0" maxOccurs="unbounded">
29 <xsd:documentation>This is a free text field that allows someone to attach some sort of documentation to the entry</xsd:documentation>
31 <xsd:complexType mixed="true">
32 <xsd:attributeGroup ref="data:detail"/>
35 <xsd:element name="entity" maxOccurs="unbounded">
37 <xsd:documentation> An entity is a single domain definition. In the case of SCOP, there is only one entity per entry, but in the case of Pfam, an entry is a collection of domains/entities.</xsd:documentation>
41 <xsd:element name="entityDetail" minOccurs="0" maxOccurs="unbounded">
43 <xsd:documentation>This is a free text field that allows someone to attach some sort of documentation to the entity</xsd:documentation>
45 <xsd:complexType mixed="true">
46 <xsd:attributeGroup ref="data:detail"/>
49 <xsd:element name="segment" maxOccurs="unbounded">
51 <xsd:documentation>An entity may not comprise of a single continuous region. This may be used to a chimeric structure or a discontinuous domain</xsd:documentation>
55 <xsd:element name="listResidue" minOccurs="0">
57 <xsd:documentation>Contains a set of residues objects</xsd:documentation>
61 <xsd:element name="residue" maxOccurs="unbounded">
63 <xsd:documentation>A single residue object. This object can contain information on what the residue is, general annotation, the numbering system and co-ordinate mapping </xsd:documentation>
67 <xsd:element name="crossRefDb" minOccurs="0" maxOccurs="unbounded">
69 <xsd:documentation>Allows the linking between different co-ordinate systems</xsd:documentation>
72 <xsd:attributeGroup ref="data:dbRef"/>
73 <xsd:attributeGroup ref="data:resRef"/>
74 <xsd:attribute name="dbChainId" type="data:chainId" use="optional"/>
77 <xsd:element name="residueDetail" minOccurs="0" maxOccurs="unbounded">
79 <xsd:documentation>This allows one to add information to the residues. For example whether it is observed or whether it is an active site residue</xsd:documentation>
81 <xsd:complexType mixed="true">
82 <xsd:attributeGroup ref="data:detail"/>
86 <xsd:attributeGroup ref="data:resRef"/>
87 <xsd:attributeGroup ref="data:listdbRef"/>
93 <xsd:element name="listMapRegion" minOccurs="0">
95 <xsd:documentation>Allows cross referencing to another database. For example, one may wish to include which the taxon that a mapping or sequence corresponds</xsd:documentation>
99 <xsd:element name="mapRegion" maxOccurs="unbounded">
101 <xsd:documentation>Defines the database that is being cross mapped to</xsd:documentation>
105 <xsd:element name="db">
107 <xsd:documentation>Contains the mapping coordinates. The start end tags refer to the master databse co-ordinates. The tags prefixed with sys refer to the database being mapped to.</xsd:documentation>
111 <xsd:element name="dbDetail" minOccurs="0" maxOccurs="unbounded">
112 <xsd:complexType mixed="true">
113 <xsd:attributeGroup ref="data:detail"/>
117 <xsd:attributeGroup ref="data:dbRef"/>
118 <xsd:attribute name="dbChainId" type="data:dbChainId" use="optional"/>
119 <xsd:attributeGroup ref="data:region"/>
123 <xsd:attributeGroup ref="data:region"/>
129 <xsd:element name="segmentDetail" minOccurs="0" maxOccurs="unbounded">
131 <xsd:documentation>This is a free text field that allows someone to attach some sort of documentation to the segment</xsd:documentation>
133 <xsd:complexType mixed="true">
134 <xsd:attributeGroup ref="data:detail"/>
138 <xsd:attribute name="segId" type="xsd:string" use="required"/>
139 <xsd:attributeGroup ref="data:region"/>
143 <xsd:attribute name="type" type="data:entityType" use="required"/>
144 <xsd:attribute name="entityId" type="xsd:string" use="required"/>
147 <xsd:element ref="alignment" minOccurs="0" maxOccurs="unbounded"/>
149 <xsd:attributeGroup ref="data:dbRef"/>
150 <xsd:attribute name="date" type="xsd:date" use="required"/>
151 <xsd:attribute name="dbEntryVersion" type="xsd:date" use="required"/>