/usr/share/openms-common/OpenMS/SCHEMAS/FeatureXML_1_2.xsd is in openms-common 1.11.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 | <?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="featureMap">
<xs:annotation>
<xs:documentation>Base node of the FeatureXML format.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="description" minOccurs="0">
<xs:annotation>
<xs:documentation>The desctiption section of the map the featurelist was created from, can be added here as well. It is taken from mzData 1.05!</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="admin" type="adminType" minOccurs="0">
<xs:annotation>
<xs:documentation>Administrative information pertaining to the entire mzData file (i.e. not specific to any part of the data set) is stored here.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="instrument" type="instrumentDescriptionType" minOccurs="0">
<xs:annotation>
<xs:documentation>Instrument descripton (not 'run time' parameters, which should properly be captured in spectrumInstrument); these features must be common to all acquisitions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dataProcessing" type="dataProcessingType" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the default processing by which the peak list(s) were generated.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="featureList">
<xs:annotation>
<xs:documentation>A list of several features</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="feature" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>a single feature</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="position" minOccurs="2" maxOccurs="2">
<xs:annotation>
<xs:documentation>position in the map</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anySimpleType">
<xs:attribute name="dim" use="required">
<xs:annotation>
<xs:documentation>Dimension 0 for retention time and 1 for m/z</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="intensity" type="xs:double">
<xs:annotation>
<xs:documentation>Intensity of the feature (the sum of all the peak intensities that belong to it)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="quality" minOccurs="0" maxOccurs="2">
<xs:annotation>
<xs:documentation>model fitting quality for one dimension</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anySimpleType">
<xs:attribute name="dim" use="required">
<xs:annotation>
<xs:documentation>Dimension 0 for retention time and 1 for m/z</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="overallquality" type="xs:double" minOccurs="0">
<xs:annotation>
<xs:documentation>overall model fitting quality of both dimension</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="charge" type="xs:double" minOccurs="0">
<xs:annotation>
<xs:documentation>charge of the feature</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="model" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the model that was fitted to the feature</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="param" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Model parameters</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="name" use="required">
<xs:annotation>
<xs:documentation>name of the parameter</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" use="required">
<xs:annotation>
<xs:documentation>value of the prameter</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" use="required">
<xs:annotation>
<xs:documentation>Model name</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="convexhull" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>convex hulls of the feature in map coordinates. Points must be stored count-clockwise! Normally there is only one hull, but for high resolution data, each isotope pattern can have its own hull.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="hullpoint" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A single point in the convex hull</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="hposition" minOccurs="2" maxOccurs="2">
<xs:annotation>
<xs:documentation>coordinate position of a point</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anySimpleType">
<xs:attribute name="dim" use="required">
<xs:annotation>
<xs:documentation>Dimension 0 for retention time and 1 for m/z</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="nr">
<xs:annotation>
<xs:documentation>number of hull points to expect</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="userParam" type="UserParam" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="id" type="xs:ID" use="required" form="unqualified">
<xs:annotation>
<xs:documentation>File-wide unique identifier for the features. It is only used to reference inside the file. It should start at 0 and contain consecutive numbers. As an xs:id cannot be an integer number, the values are typically prefixed with 'f_'.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="count" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>number of feature to expect in the list</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" type="xs:string">
<xs:annotation>
<xs:documentation>Schema version, e.g. '1.1'. If it is missing, version 1.0 is assumed.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:complexType name="UserParam">
<xs:annotation>
<xs:documentation>Type-Name-Value type for annotations</xs:documentation>
</xs:annotation>
<xs:attribute name="type" use="required">
<xs:annotation>
<xs:documentation>value type ('int', 'float' or 'string')</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="int"/>
<xs:enumeration value="float"/>
<xs:enumeration value="string"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>name of the annotation</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:anySimpleType" use="required">
<xs:annotation>
<xs:documentation>actual value of the annotation</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="sourceFileType">
<xs:annotation>
<xs:documentation>Description of the source file, including location and type.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="nameOfFile" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the source file, without reference to location (either URI or local path).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pathToFile" type="xs:anyURI">
<xs:annotation>
<xs:documentation>URI-formatted full path to file, without actual file name appended.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="fileType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Type of the file if appropriate, else a description of the software or reference resource used.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="supDataType">
<xs:annotation>
<xs:documentation>Data type for additional data vectors (beyond m/z and intensity).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="arrayName" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the supplemental data array.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="float" type="xs:float" maxOccurs="unbounded"/>
<xs:element name="double" type="xs:double" maxOccurs="unbounded"/>
<xs:element name="int" type="xs:int" maxOccurs="unbounded"/>
<xs:element name="boolean" type="xs:boolean" maxOccurs="unbounded"/>
<xs:element name="string" type="xs:string" maxOccurs="unbounded"/>
<xs:element name="time" type="xs:float" maxOccurs="unbounded"/>
<xs:element name="URI" type="xs:anyURI" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="id" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The value to which the supDataArrayRef attribute on suppDesc refers; values should never be shared between binary and non-binary supplemental arrays.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="length" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>Number of items in the supDataArray.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="indexed" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation>Each supDataArray can either be related to the mzArray or not.If the elements are related to the mzArray then this flag is set to 1.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="offset" type="xs:int" use="optional" default="0">
<xs:annotation>
<xs:documentation>If the indexed flag is set, then this value gives the element count (starting from 1) in the mzArray which aligns with the first element in this supDataArray.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="cvLookupType">
<xs:annotation>
<xs:documentation>Information about an ontology/CV source and a short 'lookup' tag to
refer to.</xs:documentation>
</xs:annotation>
<xs:attribute name="cvLabel" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The short label to be used as a reference tag with which to refer to this particulart Controlled Vocabulary source description, from an instance of the cvLabel attribute, where it appears (i.e. in things of type paramType).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fullName" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The usual name for the resource (e.g. The MGED Ontology).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="version" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The version of the CV from which the referred-to terms are drawn.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="address" type="xs:anyURI" use="required">
<xs:annotation>
<xs:documentation>The URI for the resource.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="cvParamType">
<xs:annotation>
<xs:documentation>Parameters from a controlled vocbulary.</xs:documentation>
</xs:annotation>
<xs:attribute name="cvLabel" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The short tag for the resource as defined in cvLookupType.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="accession" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The accession number of the referred-to term in the named resource.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The actual name for the parameter, from the referred-to controlled vocabulary.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The value for the parameter; may be absent if not appropriate, or a numeric or symbolic value, or may itself be CV (legal values for a parameter should be enumerated and defined in the ontology).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="personType">
<xs:annotation>
<xs:documentation>Data type for operator identification information.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="name" type="xs:string">
<xs:annotation>
<xs:documentation>Contact person name, or role name (e.g. "Group leader of team 42") of the individual responsible for this dataset.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="institution" type="xs:string">
<xs:annotation>
<xs:documentation>Academic or corporate organisation with which the contact person or role is associated.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="contactInfo" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Phone number, email, postal address or other appropriate means of contact.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="softwareType">
<xs:annotation>
<xs:documentation>Software information (the software that produced the peak list).</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="name" type="xs:string">
<xs:annotation>
<xs:documentation>The official name for the software package used.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="version" type="xs:string">
<xs:annotation>
<xs:documentation>The version number of the software package.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="comments" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Additional comments on the use of the software.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="completionTime" type="xs:dateTime" use="optional">
<xs:annotation>
<xs:documentation>The time to complete the processing that resulted in this mzData file, if the mzData file was generated in a single use of the software (i.e. if the software was not used with more than one parameter set, not whether the job was completed in several phases).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="dataProcessingType">
<xs:annotation>
<xs:documentation>Description of the software, and the way in which it was used to generate the peak list.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="software">
<xs:annotation>
<xs:documentation>Specific information on the conversion or processing software.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="softwareType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="processingMethod" type="paramType" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the default peak processing method.This element describes the base method used in the generation of a particular mzData file. Variable methods should be described in the appropriate acquisition section - if no acquisition-specific details are found, then this information serves as the default.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="spectrumType">
<xs:annotation>
<xs:documentation>The structure tha captures the generation of a peak list (including
the underlying acquisitions)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="spectrumDesc" type="spectrumDescType">
<xs:annotation>
<xs:documentation>There is one spectrumDesc per spectrum. It captures both the instance-specific parameters for the underlying acquisitions, and where applicable, the postion of this spectrum in a possible hierarchy of spectra. For example, for 'tandem' mass spectrometry; the id attribute on the spectrum element allows the survey scan to be identified from which the parent ion was selected that gave rise to this MSMS spectrum - note that these identifying numbers can be given, in a list if necessary, whether or not the actual referred-to spectra are present in the file - they are the 'family tree' of this spectrum.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="supDesc" type="supDescType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>There is one supDesc for each supDataArray (binary or otherwise) found under this particular spectrum element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="mzArrayBinary" type="peakListBinaryType">
<xs:annotation>
<xs:documentation>The list of m/z values (for any type of spectrum). The array is stored as a base64 encoded binary.The only type allowed is IEEE-754 floating point; the precision must be specified as either 32- or 64-bit; endianess must also be specified.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="intenArrayBinary" type="peakListBinaryType">
<xs:annotation>
<xs:documentation>The intensities for each member of the m/z array, also in base64 encoded binary as IEEE-754 floating point, with specified precision and endianess.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>For each acquisition, there can be a mixture of binary and other data arrays. This is mostly to allow string and other data not conveniently handled by base64 to be associated with binary data. This [0..n] choice allows the number of arrays to be arbitrary.</xs:documentation>
</xs:annotation>
<xs:element name="supDataArrayBinary" type="supDataBinaryType">
<xs:annotation>
<xs:documentation>In addition to the m/z and intensity arrays, an arbitrary number of other arrays can be stored using the same indexing. For each array stored as base64 binary, precision and endianess must be specified.The only type allowed is IEEE-754 floating point (even booleans must be re-encoded this way).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="supDataArray" type="supDataType">
<xs:annotation>
<xs:documentation>If the raw data representation method was not binary, or if the supplemental data array was a string or other non-binary type, then it can be represented in the supDataArray element (again with the same indexing).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="id" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The identifier for a particular spectrum; to serve as both an internal (to the file) reference with which to order spectra and also to as a means to associate them with each other (e.g. parent and child soectra from a tandem experiment). This number should be provided whether it legitmately comes from the source data, or has to be generated. In the absence of a parent spectrum for an MS</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="supDataBinaryType">
<xs:annotation>
<xs:documentation>Extension of binary data group for supplemental data</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="arrayName" type="xs:string">
<xs:annotation>
<xs:documentation>Name of the supplemental data array.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:group ref="binaryDataGroup"/>
</xs:sequence>
<xs:attribute name="id" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The value to which the supDataArrayRef attribute on suppDesc refers; values should never be shared between binary and non-binary supplemental arrays.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="peakListBinaryType">
<xs:annotation>
<xs:documentation>Extension of binary data group for m/z and intensity values</xs:documentation>
</xs:annotation>
<xs:group ref="binaryDataGroup"/>
</xs:complexType>
<xs:group name="binaryDataGroup">
<xs:annotation>
<xs:documentation>The structure into which base64-encoded binary data go</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="data">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:base64Binary">
<xs:attribute name="precision" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="32"/>
<xs:enumeration value="64"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="endian" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="big"/>
<xs:enumeration value="little"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="length" type="xs:int" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="adminType">
<xs:annotation>
<xs:documentation>'Header' information - sample description, contact details, comments</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="sampleName" type="xs:string">
<xs:annotation>
<xs:documentation>A short label that is referable to the sample used to generate the dataset. This will often be a copy of the internal (lab) reference code for the sample being analysed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="sampleDescription" type="descriptionType" minOccurs="0">
<xs:annotation>
<xs:documentation>Expansible description of the sample used to generate the dataset, named in sampleName.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="sourceFile" type="sourceFileType" minOccurs="0">
<xs:annotation>
<xs:documentation>Information about the original source file (i.e. that generated by the instrument) used in generating the instance document.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="contact" type="personType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Audit information concerning the means by which the originator/owner of this mzData file can be identified, and contacted if necessary.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="spectrumSettingsType">
<xs:annotation>
<xs:documentation>Description of the parameters for the mass spectrometer for a given acquisition (or list of)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="acqSpecification" minOccurs="0">
<xs:annotation>
<xs:documentation>Specification for combining raw scans/acquisitions into a single peak list or spectrum. A list of acquisitions from the original raw file can be specified. Software parameters specified in the cv/userParams under acquisition automatically override the default parameters given in dataProcessing.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="acquisition" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Scan or acquisition from original raw file used to create this peak list, as specified in sourceFile.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="paramType">
<xs:attribute name="acqNumber" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The actual acquisition number taken directly from the raw file.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="spectrumType" use="required">
<xs:annotation>
<xs:documentation>Whether these are discrete or continuous spectra.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="discrete"/>
<xs:enumeration value="continuous"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="methodOfCombination" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The method (most usually summing or some form of averaging) by which the acquisitions were combined to make the spectrum.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="count" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The total number of acquisitions attached (as a simple data integrity check).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="spectrumInstrument">
<xs:annotation>
<xs:documentation>The instrument's 'run time' parameters; common to the whole of this spectrum.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="paramType">
<xs:attribute name="msLevel" type="xs:int" use="required"/>
<xs:attribute name="mzRangeStart" type="xs:float" use="optional"/>
<xs:attribute name="mzRangeStop" type="xs:float" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="precursorType">
<xs:annotation>
<xs:documentation>The method of precursor ion selection and activation</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ionSelection" type="paramType">
<xs:annotation>
<xs:documentation>This captures the type of ion selection being performed, and trigger m/z (or m/z's), neutral loss criteria etc. for tandem MS or data dependent scans.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="activation" type="paramType">
<xs:annotation>
<xs:documentation>The type and energy level used for activation.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="msLevel" type="xs:int" use="required"/>
<xs:attribute name="spectrumRef" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>Reference to the id attribute of the spectrum from which the precursor was selected.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="spectrumDescType">
<xs:annotation>
<xs:documentation>Description of the process of performing an acquisition</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="spectrumSettings" type="spectrumSettingsType">
<xs:annotation>
<xs:documentation>Both run time instrument settings and variations in software parameters all leading to the generation of the specific spectrum being described.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="precursorList" minOccurs="0">
<xs:annotation>
<xs:documentation>List and descriptions of precursors to the spectrum currently being described.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="precursor" type="precursorType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>This is the precursor step. If source activation is used then both msLevel and spectrumRef have the value 0. The spectrumRef holds the value of the id attrubute of the spectrum from which the precursor ion was selected. An ordered list of these precursors can be given; the referred-to id numbers my not represent spectra present in the mzData file, but this should not present a bar to providing the history of this scan. Example (trivially); MS survey scan has id = 1 and the first MSMS spectrum has id= 2, with the spectrumRef attribute on precursor for the MSMS spectrum having the value 1.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="count" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The number of precursor selection processes described in the attached list.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="comments" type="xs:string" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Additional comments regarding the acquisition are captured here as free text. This should only be used as a lifeboat for when the cv/userParams are inappropriate; or as a 'scratch' comment space.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="supDescType">
<xs:annotation>
<xs:documentation>Description of a supplemental data array</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="supDataDesc" type="descriptionType" minOccurs="0">
<xs:annotation>
<xs:documentation>Description of the supplemental dataset, in both CV and free-text.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="supSourceFile" type="sourceFileType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Information about the original source file used to generate the supDataArray.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="supDataArrayRef" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>Reference to the id attribute of the supplemental data array/binary.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="instrumentDescriptionType">
<xs:annotation>
<xs:documentation>Description of the components of the mass spectrometer used</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="instrumentName" type="xs:string">
<xs:annotation>
<xs:documentation>Descriptive name of the instrument (make, model, significant customisations).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="source" type="paramType">
<xs:annotation>
<xs:documentation>Invariant ion source (e.g. MALDI) information, as a run of name-value pairs.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="analyzerList">
<xs:annotation>
<xs:documentation>Mass analyzer component list; ordered so as to reflect the physical order of the desribed components in the mass spectrometer.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="analyzer" type="paramType" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A single component of the mass analyzer (e.g. quadrupole, collision cell), decribed with a run of name-value pairs.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="count" type="xs:int" use="required">
<xs:annotation>
<xs:documentation>The number of analyzers that are described in the attached list.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="detector" type="paramType">
<xs:annotation>
<xs:documentation>Ion detector information, as a run of name-value pairs.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="additional" type="paramType" minOccurs="0">
<xs:annotation>
<xs:documentation>Subsidiary information about the instrument; a run of additional parameters captured as name-value pairs</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="paramType">
<xs:annotation>
<xs:documentation>Structure allowing the use of controlled or uncontrolled vocabulary</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="cvParam" type="cvParamType">
<xs:annotation>
<xs:documentation>This element holds additional data or annotation. Only controlled values are allowed here.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="userParam" type="userParamType">
<xs:annotation>
<xs:documentation>This element holds additional data or annotation. Uncontrolled, or user controlled values are allowed here.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="userParamType">
<xs:annotation>
<xs:documentation>Uncontrolled user parameters (vocabulary).</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The actual name for the parameter.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The value for the parameter, where appropriate.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="descriptionType">
<xs:annotation>
<xs:documentation>Extension of 'paramType' with an added free-text comment attribute.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="paramType">
<xs:attribute name="comment" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Free text opportunity to supplement, but not to replace, to the main CV-based description.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
|