1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- *****************************************************************************
4 Version: $Revision: 1.3 $
5 Date: $Date: 2015/04/07 15:00:57 $
7 Copyright (c) 2011 UniProt consortium
9 *******************************************************************************-->
10 <xs:schema targetNamespace="http://uniprot.org/uniprot" xmlns:xs="http://www.w3.org/2001/XMLSchema"
11 xmlns="http://uniprot.org/uniprot" elementFormDefault="qualified">
13 Retrieved for Jalview 13-Sep-2018 from https://www.uniprot.org/docs/uniprot.xsd
14 Java binding classes are generated by
15 xjc schemas/uniprot.xsd -d src -p jalview.xml.binding.uniprot
17 <!-- XML Schema definition for the UniProtKB XML format
19 -XSV (XML Schema Validator), http://www.w3.org/2001/03/webdata/xsv
21 <!-- Root element definition begins -->
22 <xs:element name="uniprot">
24 <xs:documentation>Describes a collection of UniProtKB entries.</xs:documentation>
28 <xs:element ref="entry" maxOccurs="unbounded"/>
29 <xs:element ref="copyright" minOccurs="0"/>
33 <!-- Root element definition ends -->
35 <!-- Entry definition begins -->
36 <xs:element name="entry">
38 <xs:documentation>Describes a UniProtKB entry.</xs:documentation>
42 <xs:element name="accession" type="xs:string" maxOccurs="unbounded"/>
43 <xs:element name="name" type="xs:string" maxOccurs="unbounded"/>
44 <xs:element name="protein" type="proteinType"/>
45 <xs:element name="gene" type="geneType" minOccurs="0" maxOccurs="unbounded"/>
46 <xs:element name="organism" type="organismType" />
47 <xs:element name="organismHost" type="organismType" minOccurs="0" maxOccurs="unbounded"/>
48 <xs:element name="geneLocation" type="geneLocationType" minOccurs="0" maxOccurs="unbounded"/>
49 <xs:element name="reference" type="referenceType" maxOccurs="unbounded"/>
50 <xs:element name="comment" type="commentType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
51 <xs:element name="dbReference" type="dbReferenceType" minOccurs="0" maxOccurs="unbounded"/>
52 <xs:element name="proteinExistence" type="proteinExistenceType"/>
53 <xs:element name="keyword" type="keywordType" minOccurs="0" maxOccurs="unbounded"/>
54 <xs:element name="feature" type="featureType" minOccurs="0" maxOccurs="unbounded"/>
55 <xs:element name="evidence" type="evidenceType" minOccurs="0" maxOccurs="unbounded"/>
56 <xs:element name="sequence" type="sequenceType"/>
58 <xs:attribute name="dataset" use="required">
60 <xs:restriction base="xs:string">
61 <xs:enumeration value="Swiss-Prot"/>
62 <xs:enumeration value="TrEMBL"/>
66 <xs:attribute name="created" type="xs:date" use="required"/>
67 <xs:attribute name="modified" type="xs:date" use="required"/>
68 <xs:attribute name="version" type="xs:int" use="required"/>
71 <!-- Entry definition ends -->
73 <xs:element name="copyright" type="xs:string"/>
75 <!-- Protein names definition begins -->
76 <xs:complexType name="proteinType">
78 <xs:documentation>Describes the names for the protein and parts thereof.
79 Equivalent to the flat file DE-line.</xs:documentation>
82 <xs:group ref="proteinNameGroup"/>
83 <xs:element name="domain" minOccurs="0" maxOccurs="unbounded">
85 <xs:documentation>Describes names of "domains".
86 Equivalent to the flat file DE-line Includes: section.</xs:documentation>
89 <xs:group ref="proteinNameGroup"/>
92 <xs:element name="component" minOccurs="0" maxOccurs="unbounded">
94 <xs:documentation>Describes names of processed products.
95 Equivalent to the flat file DE-line Contains: section.</xs:documentation>
98 <xs:group ref="proteinNameGroup"/>
103 <xs:group name="proteinNameGroup">
105 <xs:element name="recommendedName" minOccurs="0">
108 <xs:element name="fullName" type="evidencedStringType"/>
109 <xs:element name="shortName" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
110 <xs:element name="ecNumber" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
112 <!-- xs:attribute name="ref" type="xs:string" use="optional"/ -->
115 <xs:element name="alternativeName" minOccurs="0" maxOccurs="unbounded">
118 <xs:element name="fullName" type="evidencedStringType" minOccurs="0"/>
119 <xs:element name="shortName" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
120 <xs:element name="ecNumber" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
122 <!-- xs:attribute name="ref" type="xs:string" use="optional"/ -->
125 <xs:element name="submittedName" minOccurs="0" maxOccurs="unbounded">
128 <xs:element name="fullName" type="evidencedStringType"/>
129 <xs:element name="ecNumber" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
131 <!-- xs:attribute name="ref" type="xs:string" use="optional"/ -->
134 <xs:element name="allergenName" type="evidencedStringType" minOccurs="0"/>
135 <xs:element name="biotechName" type="evidencedStringType" minOccurs="0"/>
136 <xs:element name="cdAntigenName" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
137 <xs:element name="innName" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
140 <!-- Protein names definition ends -->
142 <!-- Gene names definition begins -->
143 <xs:complexType name="geneType">
145 <xs:documentation>Describes a gene.
146 Equivalent to the flat file GN-line.</xs:documentation>
149 <xs:element name="name" type="geneNameType" maxOccurs="unbounded"/>
152 <xs:complexType name="geneNameType">
154 <xs:documentation>Describes different types of gene designations.
155 Equivalent to the flat file GN-line.</xs:documentation>
158 <xs:extension base="xs:string">
159 <xs:attribute name="evidence" type="intListType" use="optional"/>
160 <xs:attribute name="type" use="required">
162 <xs:restriction base="xs:string">
163 <xs:enumeration value="primary"/>
164 <xs:enumeration value="synonym"/>
165 <xs:enumeration value="ordered locus"/>
166 <xs:enumeration value="ORF"/>
173 <!-- Gene names definition ends -->
175 <!-- Organism definition begins -->
176 <xs:complexType name="organismType">
178 <xs:documentation>Describes the source organism.</xs:documentation>
181 <xs:element name="name" type="organismNameType" maxOccurs="unbounded">
183 <xs:documentation>Describes the names of the source organism.
184 Equivalent to the flat file OS-line.</xs:documentation>
187 <xs:element name="dbReference" type="dbReferenceType" maxOccurs="unbounded">
189 <xs:documentation>Describes a cross-reference to the NCBI taxonomy database.
190 Equivalent to the flat file OX-line.</xs:documentation>
193 <xs:element name="lineage" minOccurs="0">
195 <xs:documentation>Describes the lineage of the source organism.
196 Equivalent to the flat file OC-line.</xs:documentation>
200 <xs:element name="taxon" type="xs:string" maxOccurs="unbounded"/>
205 <xs:attribute name="evidence" type="intListType" use="optional"/>
207 <xs:complexType name="organismNameType">
209 <xs:documentation>Describes different types of source organism names.</xs:documentation>
212 <xs:extension base="xs:string">
213 <xs:attribute name="type" use="required">
215 <xs:restriction base="xs:string">
216 <xs:enumeration value="common"/>
217 <xs:enumeration value="full"/>
218 <xs:enumeration value="scientific"/>
219 <xs:enumeration value="synonym"/>
220 <xs:enumeration value="abbreviation"/>
227 <!-- Organism definition ends -->
229 <!-- Gene location definition begins -->
230 <xs:complexType name="geneLocationType">
232 <xs:documentation>Describes non-nuclear gene locations (organelles and plasmids).
233 Equivalent to the flat file OG-line.</xs:documentation>
236 <xs:element name="name" type="statusType" minOccurs="0" maxOccurs="unbounded"/>
238 <xs:attribute name="type" use="required">
240 <xs:restriction base="xs:string">
241 <xs:enumeration value="apicoplast"/>
242 <xs:enumeration value="chloroplast"/>
243 <xs:enumeration value="organellar chromatophore"/>
244 <xs:enumeration value="cyanelle"/>
245 <xs:enumeration value="hydrogenosome"/>
246 <xs:enumeration value="mitochondrion"/>
247 <xs:enumeration value="non-photosynthetic plastid"/>
248 <xs:enumeration value="nucleomorph"/>
249 <xs:enumeration value="plasmid"/>
250 <xs:enumeration value="plastid"/>
254 <xs:attribute name="evidence" type="intListType" use="optional"/>
256 <xs:complexType name="statusType">
258 <xs:documentation>Indicates whether the name of a plasmid is known or unknown.</xs:documentation>
261 <xs:extension base="xs:string">
262 <xs:attribute name="status" use="optional" default="known">
264 <xs:restriction base="xs:string">
265 <xs:enumeration value="known"/>
266 <xs:enumeration value="unknown"/>
273 <!-- Gene location definition ends -->
275 <!-- Reference definition begins -->
276 <xs:complexType name="referenceType">
278 <xs:documentation>Describes a citation and a summary of its content.
279 Equivalent to the flat file RN-, RP-, RC-, RX-, RG-, RA-, RT- and RL-lines.</xs:documentation>
282 <xs:element name="citation" type="citationType"/>
283 <xs:group ref="sptrCitationGroup"/>
285 <xs:attribute name="evidence" type="intListType" use="optional"/>
286 <xs:attribute name="key" type="xs:string" use="required"/>
288 <!-- Reference definition ends -->
290 <!-- Citation definition begins -->
291 <xs:complexType name="citationType">
293 <xs:documentation>Describes different types of citations.
294 Equivalent to the flat file RX-, RG-, RA-, RT- and RL-lines.</xs:documentation>
297 <xs:element name="title" type="xs:string" minOccurs="0">
299 <xs:documentation>Describes the title of a citation.
300 Equivalent to the flat file RT-line.</xs:documentation>
303 <xs:element name="editorList" type="nameListType" minOccurs="0">
305 <xs:documentation>Describes the editors of a book (only used for books).
306 Equivalent to part of the flat file RL-line of books.</xs:documentation>
309 <xs:element name="authorList" type="nameListType" minOccurs="0">
311 <xs:documentation>Describes the authors of a citation.
312 Equivalent to the flat file RA-line.</xs:documentation>
315 <xs:element name="locator" type="xs:string" minOccurs="0">
317 <xs:documentation>Describes the location (URL) of an online journal article.
318 No flat file equivalent.</xs:documentation>
321 <xs:element name="dbReference" type="dbReferenceType" minOccurs="0" maxOccurs="unbounded">
323 <xs:documentation>Describes cross-references to bibliography databases (MEDLINE, PubMed, AGRICOLA) or other online resources (DOI).
324 Equivalent to the flat file RX-line.</xs:documentation>
328 <xs:attribute name="type" use="required">
330 <xs:documentation>Describes the type of a citation.</xs:documentation>
333 <xs:restriction base="xs:string">
334 <xs:enumeration value="book"/>
335 <xs:enumeration value="journal article"/>
336 <xs:enumeration value="online journal article"/>
337 <xs:enumeration value="patent"/>
338 <xs:enumeration value="submission"/>
339 <xs:enumeration value="thesis"/>
340 <xs:enumeration value="unpublished observations"/>
344 <xs:attribute name="date" use="optional">
346 <xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/>
349 <xs:attribute name="name" type="xs:string" use="optional">
351 <xs:documentation>Describes the name of an (online) journal or book.</xs:documentation>
354 <xs:attribute name="volume" type="xs:string" use="optional">
356 <xs:documentation>Describes the volume of a journal or book.</xs:documentation>
359 <xs:attribute name="first" type="xs:string" use="optional">
361 <xs:documentation>Describes the first page of an article.</xs:documentation>
364 <xs:attribute name="last" type="xs:string" use="optional">
366 <xs:documentation>Describes the last page of an article.</xs:documentation>
369 <xs:attribute name="publisher" type="xs:string" use="optional">
371 <xs:documentation>Describes the publisher of a book.</xs:documentation>
374 <xs:attribute name="city" type="xs:string" use="optional">
376 <xs:documentation>Describes the city where a book was published.</xs:documentation>
379 <xs:attribute name="db" type="xs:string" use="optional">
381 <xs:documentation>Describes the database name of submissions.</xs:documentation>
384 <xs:attribute name="number" type="xs:string" use="optional">
386 <xs:documentation>Describes a patent number.</xs:documentation>
389 <xs:attribute name="institute" type="xs:string" use="optional">
391 <xs:documentation>Describes the institute where a thesis was made.</xs:documentation>
394 <xs:attribute name="country" type="xs:string" use="optional">
396 <xs:documentation>Describes the country where a thesis was made.</xs:documentation>
400 <xs:complexType name="consortiumType">
402 <xs:documentation>Describes the authors of a citation when these are represented by a consortium.
403 Equivalent to the flat file RG-line.</xs:documentation>
405 <xs:attribute name="name" type="xs:string" use="required"/>
407 <xs:complexType name="personType">
408 <xs:attribute name="name" type="xs:string" use="required"/>
410 <xs:complexType name="nameListType">
411 <xs:choice maxOccurs="unbounded">
412 <xs:element name="consortium" type="consortiumType"/>
413 <xs:element name="person" type="personType"/>
416 <!-- Citation definition ends -->
418 <!-- Citation summary definition begins -->
419 <xs:group name="sptrCitationGroup">
421 <xs:documentation>Groups a citation's scope and source descriptions.</xs:documentation>
424 <xs:element name="scope" type="xs:string" maxOccurs="unbounded">
426 <xs:documentation>Describes the scope of a citation.
427 Equivalent to the flat file RP-line.</xs:documentation>
430 <xs:element name="source" type="sourceDataType" minOccurs="0"/>
433 <xs:complexType name="sourceDataType">
435 <xs:documentation>Describes the source of the sequence according to the citation.
436 Equivalent to the flat file RC-line.</xs:documentation>
438 <xs:choice maxOccurs="unbounded">
439 <xs:element name="strain">
442 <xs:extension base="xs:string">
443 <xs:attribute name="evidence" type="intListType" use="optional"/>
448 <xs:element name="plasmid">
451 <xs:extension base="xs:string">
452 <xs:attribute name="evidence" type="intListType" use="optional"/>
457 <xs:element name="transposon">
460 <xs:extension base="xs:string">
461 <xs:attribute name="evidence" type="intListType" use="optional"/>
466 <xs:element name="tissue">
469 <xs:extension base="xs:string">
470 <xs:attribute name="evidence" type="intListType" use="optional"/>
477 <!-- Citation summary definition ends -->
479 <!-- Comment definition begins -->
480 <xs:complexType name="commentType">
482 <xs:documentation>Describes different types of general annotations.
483 Equivalent to the flat file CC-line.</xs:documentation>
486 <xs:element name="molecule" type="moleculeType" minOccurs="0"/>
487 <xs:choice minOccurs="0">
488 <xs:group ref="bpcCommentGroup"/>
492 <xs:documentation>Used in 'cofactor' annotations.</xs:documentation>
494 <xs:element name="cofactor" type="cofactorType" maxOccurs="unbounded"/>
499 <xs:documentation>Used in 'subcellular location' annotations.</xs:documentation>
501 <xs:element name="subcellularLocation" type="subcellularLocationType" maxOccurs="unbounded"/>
504 <xs:element name="conflict">
506 <xs:documentation>Used in 'sequence caution' annotations.</xs:documentation>
510 <xs:element name="sequence" minOccurs="0">
512 <xs:attribute name="resource" use="required">
514 <xs:restriction base="xs:string">
515 <xs:enumeration value="EMBL-CDS"/>
516 <xs:enumeration value="EMBL"/>
520 <xs:attribute name="id" type="xs:string" use="required"/>
521 <xs:attribute name="version" type="xs:int" use="optional"/>
525 <xs:attribute name="type" use="required">
527 <xs:restriction base="xs:string">
528 <xs:enumeration value="frameshift"/>
529 <xs:enumeration value="erroneous initiation"/>
530 <xs:enumeration value="erroneous termination"/>
531 <xs:enumeration value="erroneous gene model prediction"/>
532 <xs:enumeration value="erroneous translation"/>
533 <xs:enumeration value="miscellaneous discrepancy"/>
537 <xs:attribute name="ref" type="xs:string" use="optional">
539 <xs:documentation>Refers to the 'key' attribute of a 'reference' element.</xs:documentation>
546 <xs:element name="link" minOccurs="0" maxOccurs="unbounded">
548 <xs:documentation>Used in 'online information' annotations.</xs:documentation>
551 <xs:attribute name="uri" type="xs:anyURI" use="required"/>
558 <xs:documentation>Used in 'alternative products' annotations.</xs:documentation>
560 <xs:element name="event" type="eventType" maxOccurs="4"/>
561 <xs:element name="isoform" type="isoformType" minOccurs="0" maxOccurs="unbounded"/>
566 <xs:documentation>Used in 'interaction' annotations.</xs:documentation>
568 <xs:element name="interactant" type="interactantType" minOccurs="2" maxOccurs="2"/>
569 <xs:element name="organismsDiffer" type="xs:boolean" default="false"/>
570 <xs:element name="experiments" type="xs:int"/>
573 <xs:element name="disease">
575 <xs:documentation>Used in 'disease' annotations.</xs:documentation>
579 <xs:element name="name" type="xs:string"/>
580 <xs:element name="acronym" type="xs:string"/>
581 <xs:element name="description" type="xs:string"/>
582 <xs:element name="dbReference" type="dbReferenceType"/>
584 <xs:attribute name="id" type="xs:string" use="required"/>
590 <xs:element name="location" type="locationType" minOccurs="0" maxOccurs="unbounded">
592 <xs:documentation>Used in 'mass spectrometry' and 'sequence caution' annotations.</xs:documentation>
596 <xs:element name="text" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
600 <xs:attribute name="type" use="required">
602 <xs:documentation>Describes the type of a general annotation.
603 Equivalent to the flat file CC comment topics (except for "DATABASE" which is translated to "online information").</xs:documentation>
606 <xs:restriction base="xs:string">
607 <xs:enumeration value="allergen"/>
608 <xs:enumeration value="alternative products"/>
609 <xs:enumeration value="biotechnology"/>
610 <xs:enumeration value="biophysicochemical properties"/>
611 <xs:enumeration value="catalytic activity"/>
612 <xs:enumeration value="caution"/>
613 <xs:enumeration value="cofactor"/>
614 <xs:enumeration value="developmental stage"/>
615 <xs:enumeration value="disease"/>
616 <xs:enumeration value="domain"/>
617 <xs:enumeration value="disruption phenotype"/>
618 <xs:enumeration value="activity regulation"/>
619 <xs:enumeration value="function"/>
620 <xs:enumeration value="induction"/>
621 <xs:enumeration value="miscellaneous"/>
622 <xs:enumeration value="pathway"/>
623 <xs:enumeration value="pharmaceutical"/>
624 <xs:enumeration value="polymorphism"/>
625 <xs:enumeration value="PTM"/>
626 <xs:enumeration value="RNA editing"/>
627 <xs:enumeration value="similarity"/>
628 <xs:enumeration value="subcellular location"/>
629 <xs:enumeration value="sequence caution"/>
630 <xs:enumeration value="subunit"/>
631 <xs:enumeration value="tissue specificity"/>
632 <xs:enumeration value="toxic dose"/>
633 <xs:enumeration value="online information"/>
634 <xs:enumeration value="mass spectrometry"/>
635 <xs:enumeration value="interaction"/>
640 <xs:attribute name="locationType" type="xs:string" use="optional">
642 <xs:documentation>Describes the type of sequence location in 'RNA editing' annotations. Common values are "Not_applicable" and "Undetermined".</xs:documentation>
646 <xs:attribute name="name" type="xs:string" use="optional">
648 <xs:documentation>Describes an optional name for an 'online information'.</xs:documentation>
652 <xs:attribute name="mass" type="xs:float" use="optional">
654 <xs:documentation>Describes the molecular mass in 'mass spectrometry' annotations.</xs:documentation>
657 <xs:attribute name="error" type="xs:string" use="optional">
659 <xs:documentation>Describes the error of the mass measurement in 'mass spectrometry' annotations.</xs:documentation>
662 <xs:attribute name="method" type="xs:string" use="optional">
664 <xs:documentation>Describes the experimental method in 'mass spectrometry' annotations.</xs:documentation>
668 <xs:attribute name="evidence" type="intListType" use="optional"/>
671 <xs:group name="bpcCommentGroup">
673 <xs:documentation>Describes different types of biophysicochemical properties.</xs:documentation>
676 <xs:element name="absorption" minOccurs="0">
679 <xs:element name="max" type="evidencedStringType" minOccurs="0"/>
680 <xs:element name="text" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
684 <xs:element name="kinetics" minOccurs="0">
687 <xs:element name="KM" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
688 <xs:element name="Vmax" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
689 <xs:element name="text" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
693 <xs:element name="phDependence" minOccurs="0">
696 <xs:element name="text" type="evidencedStringType" maxOccurs="unbounded"/>
700 <xs:element name="redoxPotential" minOccurs="0">
703 <xs:element name="text" type="evidencedStringType" maxOccurs="unbounded"/>
707 <xs:element name="temperatureDependence" minOccurs="0">
710 <xs:element name="text" type="evidencedStringType" maxOccurs="unbounded"/>
717 <xs:complexType name="cofactorType">
719 <xs:documentation>Describes a cofactor.</xs:documentation>
722 <xs:element name="name" type="xs:string"/>
723 <xs:element name="dbReference" type="dbReferenceType"/>
725 <xs:attribute name="evidence" type="intListType" use="optional"/>
728 <xs:complexType name="subcellularLocationType">
730 <xs:documentation>Describes the subcellular location and optionally the topology and orientation of a molecule.</xs:documentation>
733 <xs:element name="location" type="evidencedStringType" maxOccurs="unbounded"/>
734 <xs:element name="topology" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
735 <xs:element name="orientation" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
739 <xs:complexType name="eventType">
741 <xs:documentation>Describes the type of events that cause alternative products.</xs:documentation>
743 <xs:attribute name="type" use="required">
745 <xs:restriction base="xs:string">
746 <xs:enumeration value="alternative splicing"/>
747 <xs:enumeration value="alternative initiation"/>
748 <xs:enumeration value="alternative promoter"/>
749 <xs:enumeration value="ribosomal frameshifting"/>
755 <xs:complexType name="isoformType">
757 <xs:documentation>Describes isoforms in 'alternative products' annotations.</xs:documentation>
760 <xs:element name="id" type="xs:string" maxOccurs="unbounded"/>
761 <xs:element name="name" maxOccurs="unbounded">
764 <xs:extension base="xs:string">
765 <xs:attribute name="evidence" type="intListType" use="optional"/>
770 <xs:element name="sequence">
772 <xs:attribute name="type" use="required">
774 <xs:restriction base="xs:string">
775 <xs:enumeration value="not described"/>
776 <xs:enumeration value="described"/>
777 <xs:enumeration value="displayed"/>
778 <xs:enumeration value="external"/>
782 <xs:attribute name="ref" type="xs:string" use="optional"/>
785 <xs:element name="text" type="evidencedStringType" minOccurs="0" maxOccurs="unbounded"/>
789 <xs:group name="interactantGroup">
791 <xs:element name="id" type="xs:string"/>
792 <xs:element name="label" type="xs:string" minOccurs="0"/>
795 <xs:complexType name="interactantType">
796 <xs:group ref="interactantGroup" minOccurs="0"/>
797 <xs:attribute name="intactId" type="xs:string" use="required"/>
799 <!-- Comment definition ends -->
801 <!-- Database cross-reference definition begins -->
802 <xs:complexType name="dbReferenceType">
804 <xs:documentation>Describes a database cross-reference.
805 Equivalent to the flat file DR-line.
809 <xs:element name="molecule" type="moleculeType" minOccurs="0"/>
810 <xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
812 <xs:attribute name="type" type="xs:string" use="required">
814 <xs:documentation>Describes the name of the database.</xs:documentation>
817 <xs:attribute name="id" type="xs:string" use="required">
819 <xs:documentation>Describes a unique database identifier.</xs:documentation>
822 <xs:attribute name="evidence" type="intListType" use="optional"/>
823 <!-- xs:attribute name="key" type="xs:string" use="optional"/ -->
826 <xs:complexType name="propertyType">
827 <xs:attribute name="type" type="xs:string" use="required"/>
828 <xs:attribute name="value" type="xs:string" use="required"/>
830 <!-- Database cross-reference definition ends -->
832 <!-- Protein existence definition begins -->
833 <xs:complexType name="proteinExistenceType">
835 <xs:documentation>Describes the evidence for the protein's existence.
836 Equivalent to the flat file PE-line.</xs:documentation>
838 <xs:attribute name="type" use="required">
840 <xs:restriction base="xs:string">
841 <xs:enumeration value="evidence at protein level"/>
842 <xs:enumeration value="evidence at transcript level"/>
843 <xs:enumeration value="inferred from homology"/>
844 <xs:enumeration value="predicted"/>
845 <xs:enumeration value="uncertain"/>
850 <!-- Protein existence definition ends -->
852 <!-- Keyword definition begins -->
853 <xs:complexType name="keywordType">
855 <xs:extension base="xs:string">
856 <xs:attribute name="evidence" type="intListType" use="optional"/>
857 <xs:attribute name="id" type="xs:string" use="required"/>
861 <!-- Keyword definition ends -->
863 <!-- Feature definition begins -->
864 <xs:complexType name="featureType">
866 <xs:documentation>Describes different types of sequence annotations.
867 Equivalent to the flat file FT-line.</xs:documentation>
870 <xs:element name="original" type="xs:string" minOccurs="0">
872 <xs:documentation>Describes the original sequence in annotations that describe natural or artifical sequence variations.</xs:documentation>
875 <xs:element name="variation" type="xs:string" minOccurs="0" maxOccurs="unbounded">
877 <xs:documentation>Describes the variant sequence in annotations that describe natural or artifical sequence variations.</xs:documentation>
880 <xs:element name="location" type="locationType">
882 <xs:documentation>Describes the sequence coordinates of the annotation.</xs:documentation>
886 <xs:attribute name="type" use="required">
888 <xs:documentation>Describes the type of a sequence annotation.
889 Equivalent to the flat file FT feature keys, but using full terms instead of acronyms.</xs:documentation>
892 <xs:restriction base="xs:string">
893 <xs:enumeration value="active site"/>
894 <xs:enumeration value="binding site"/>
895 <xs:enumeration value="calcium-binding region"/>
896 <xs:enumeration value="chain"/>
897 <xs:enumeration value="coiled-coil region"/>
898 <xs:enumeration value="compositionally biased region"/>
899 <xs:enumeration value="cross-link"/>
900 <xs:enumeration value="disulfide bond"/>
901 <xs:enumeration value="DNA-binding region"/>
902 <xs:enumeration value="domain"/>
903 <xs:enumeration value="glycosylation site"/>
904 <xs:enumeration value="helix"/>
905 <xs:enumeration value="initiator methionine"/>
906 <xs:enumeration value="lipid moiety-binding region"/>
907 <xs:enumeration value="metal ion-binding site"/>
908 <xs:enumeration value="modified residue"/>
909 <xs:enumeration value="mutagenesis site"/>
910 <xs:enumeration value="non-consecutive residues"/>
911 <xs:enumeration value="non-terminal residue"/>
912 <xs:enumeration value="nucleotide phosphate-binding region"/>
913 <xs:enumeration value="peptide"/>
914 <xs:enumeration value="propeptide"/>
915 <xs:enumeration value="region of interest"/>
916 <xs:enumeration value="repeat"/>
917 <xs:enumeration value="non-standard amino acid"/>
918 <xs:enumeration value="sequence conflict"/>
919 <xs:enumeration value="sequence variant"/>
920 <xs:enumeration value="short sequence motif"/>
921 <xs:enumeration value="signal peptide"/>
922 <xs:enumeration value="site"/>
923 <xs:enumeration value="splice variant"/>
924 <xs:enumeration value="strand"/>
925 <xs:enumeration value="topological domain"/>
926 <xs:enumeration value="transit peptide"/>
927 <xs:enumeration value="transmembrane region"/>
928 <xs:enumeration value="turn"/>
929 <xs:enumeration value="unsure residue"/>
930 <xs:enumeration value="zinc finger region"/>
931 <xs:enumeration value="intramembrane region"/>
935 <xs:attribute name="status" use="optional">
937 <xs:restriction base="xs:string">
938 <xs:enumeration value="by similarity"/>
939 <xs:enumeration value="probable"/>
940 <xs:enumeration value="potential"/>
944 <xs:attribute name="id" type="xs:string" use="optional"/>
945 <xs:attribute name="description" type="xs:string" use="optional"/>
946 <xs:attribute name="evidence" type="intListType" use="optional"/>
947 <xs:attribute name="ref" type="xs:string" use="optional"/>
950 <xs:complexType name="locationType">
952 <xs:documentation>Describes a sequence location as either a range with a begin and end or as a position. The 'sequence' attribute is only used when the location is not on the canonical sequence displayed in the current entry.</xs:documentation>
956 <xs:element name="begin" type="positionType"/>
957 <xs:element name="end" type="positionType"/>
959 <xs:element name="position" type="positionType"/>
961 <xs:attribute name="sequence" type="xs:string" use="optional"/>
964 <xs:complexType name="positionType">
965 <xs:attribute name="position" type="xs:unsignedLong" use="optional"/>
966 <xs:attribute name="status" use="optional" default="certain">
968 <xs:restriction base="xs:string">
969 <xs:enumeration value="certain"/>
970 <xs:enumeration value="uncertain"/>
971 <xs:enumeration value="less than"/>
972 <xs:enumeration value="greater than"/>
973 <xs:enumeration value="unknown"/>
977 <xs:attribute name="evidence" type="intListType" use="optional"/>
979 <!-- Feature definition ends -->
981 <!-- Sequence definition begins -->
982 <xs:complexType name="sequenceType">
984 <xs:extension base="xs:string">
985 <xs:attribute name="length" type="xs:int" use="required"/>
986 <xs:attribute name="mass" type="xs:int" use="required"/>
987 <xs:attribute name="checksum" type="xs:string" use="required"/>
988 <xs:attribute name="modified" type="xs:date" use="required"/>
989 <xs:attribute name="version" type="xs:int" use="required"/>
990 <xs:attribute name="precursor" type="xs:boolean" use="optional"/>
991 <xs:attribute name="fragment" use="optional">
993 <xs:restriction base="xs:string">
994 <xs:enumeration value="single"/>
995 <xs:enumeration value="multiple"/>
1002 <!-- Sequence definition ends -->
1004 <!-- Molecule definition begins -->
1005 <xs:complexType name="moleculeType">
1007 <xs:documentation>Describes a molecule by name or unique identifier.</xs:documentation>
1010 <xs:extension base="xs:string">
1011 <xs:attribute name="id" type="xs:string" use="optional"/>
1015 <!-- Molecule definition ends -->
1017 <!-- Evidence definition begins -->
1018 <xs:complexType name="evidenceType">
1020 <xs:documentation>Describes the evidence for an annotation.
1021 No flat file equivalent.</xs:documentation>
1024 <xs:element name="source" type="sourceType" minOccurs="0"/>
1025 <xs:element name="importedFrom" type="importedFromType" minOccurs="0"/>
1027 <xs:attribute name="type" type="xs:string" use="required">
1029 <xs:documentation>Describes the type of an evidence using the Evidence Code Ontology (http://www.obofoundry.org/cgi-bin/detail.cgi?id=evidence_code).</xs:documentation>
1032 <xs:attribute name="key" type="xs:integer" use="required">
1034 <xs:documentation>A unique key to link annotations (via 'evidence' attributes) to evidences.</xs:documentation>
1038 <xs:complexType name="sourceType">
1040 <xs:documentation>Describes the source of the data using a database cross-reference (or a 'ref' attribute when the source cannot be found in a public data source, such as PubMed, and is cited only within the UniProtKB entry).</xs:documentation>
1043 <xs:element name="dbReference" type="dbReferenceType" minOccurs="0"/>
1045 <xs:attribute name="ref" type="xs:integer" use="optional"/>
1047 <xs:complexType name="importedFromType">
1049 <xs:documentation>Describes the source of the evidence, when it is not assigned by UniProt, but imported from an external database.</xs:documentation>
1052 <xs:element name="dbReference" type="dbReferenceType"/>
1055 <!-- Evidence definition ends -->
1057 <xs:complexType name="evidencedStringType">
1059 <xs:extension base="xs:string">
1060 <xs:attribute name="evidence" type="intListType" use="optional"/>
1061 <xs:attribute name="status" use="optional">
1063 <xs:restriction base="xs:string">
1064 <xs:enumeration value="by similarity"/>
1065 <xs:enumeration value="probable"/>
1066 <xs:enumeration value="potential"/>
1074 <xs:simpleType name="intListType">
1075 <xs:list itemType="xs:int"/>