Mercurial > repos > recetox > mzml_validator
comparison schemas/mzML1.1.1_idx.xsd @ 0:5961146e0d1a draft default tip
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/mzml_validator commit d9676cbf7a1f8bd1cf0af742585893459d4861aa
| author | recetox |
|---|---|
| date | Fri, 20 Jan 2023 12:41:59 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:5961146e0d1a |
|---|---|
| 1 <?xml version="1.0" encoding="utf-8"?> | |
| 2 <!-- Created with Liquid XML Studio 1.0.8.0 (http://www.liquid-technologies.com) --> | |
| 3 <xs:schema xmlns:dx="http://psi.hupo.org/ms/mzml" | |
| 4 xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
| 5 targetNamespace="http://psi.hupo.org/ms/mzml" | |
| 6 attributeFormDefault="unqualified" | |
| 7 elementFormDefault="qualified" | |
| 8 version="1.1.1"> | |
| 9 <xs:include schemaLocation="mzML1.1.0.xsd" /> | |
| 10 <xs:complexType name="IndexListType"> | |
| 11 <xs:sequence> | |
| 12 <xs:element minOccurs="1" maxOccurs="unbounded" name="index" type="dx:IndexType"> | |
| 13 <xs:annotation> | |
| 14 <xs:documentation>Index element containing one or more offsets for random data access for the entity described in the 'name' attribute.</xs:documentation> | |
| 15 </xs:annotation> | |
| 16 </xs:element> | |
| 17 </xs:sequence> | |
| 18 <xs:attribute name="count" type="xs:nonNegativeInteger" use="required"> | |
| 19 <xs:annotation> | |
| 20 <xs:documentation>Number of indices in this list.</xs:documentation> | |
| 21 </xs:annotation> | |
| 22 </xs:attribute> | |
| 23 </xs:complexType> | |
| 24 <xs:complexType name="IndexType"> | |
| 25 <xs:sequence> | |
| 26 <xs:element maxOccurs="unbounded" name="offset" type="dx:OffsetType"> | |
| 27 <xs:annotation> | |
| 28 <xs:documentation>File pointer offset (in bytes) of the element identified by the 'id' attribute.</xs:documentation> | |
| 29 </xs:annotation> | |
| 30 </xs:element> | |
| 31 </xs:sequence> | |
| 32 <xs:attribute name="name" use="required"> | |
| 33 <xs:annotation> | |
| 34 <xs:documentation>The name of the entity the index entries are pointing to.</xs:documentation> | |
| 35 </xs:annotation> | |
| 36 <xs:simpleType> | |
| 37 <xs:restriction base="xs:string"> | |
| 38 <xs:enumeration value="spectrum" /> | |
| 39 <xs:enumeration value="chromatogram" /> | |
| 40 </xs:restriction> | |
| 41 </xs:simpleType> | |
| 42 </xs:attribute> | |
| 43 </xs:complexType> | |
| 44 <xs:complexType name="OffsetType"> | |
| 45 <xs:simpleContent> | |
| 46 <xs:extension base="xs:long"> | |
| 47 <xs:attribute name="idRef" type="xs:string" use="required"> | |
| 48 <xs:annotation> | |
| 49 <xs:documentation>Reference to the 'id' attribute of the indexed element.</xs:documentation> | |
| 50 </xs:annotation> | |
| 51 </xs:attribute> | |
| 52 <xs:attribute name="spotID" type="xs:string" use="optional"> | |
| 53 <xs:annotation> | |
| 54 <xs:documentation>The identifier for the spot from which this spectrum was derived, if a MALDI or similar run.</xs:documentation> | |
| 55 </xs:annotation> | |
| 56 </xs:attribute> | |
| 57 <xs:attribute name="scanTime" type="xs:double" use="optional"> | |
| 58 <xs:annotation> | |
| 59 <xs:documentation>In the case of a spectrum representing a single scan, this attribute may be used to reference it by the time at which the scan was acquired (a.k.a. scan time or retention time).</xs:documentation> | |
| 60 </xs:annotation> | |
| 61 </xs:attribute> | |
| 62 </xs:extension> | |
| 63 </xs:simpleContent> | |
| 64 </xs:complexType> | |
| 65 <xs:element name="indexedmzML"> | |
| 66 <xs:annotation> | |
| 67 <xs:documentation>Container element for mzML which allows the addition of an index.</xs:documentation> | |
| 68 </xs:annotation> | |
| 69 <xs:complexType> | |
| 70 <xs:sequence> | |
| 71 <xs:element ref="dx:mzML" /> | |
| 72 <xs:element minOccurs="1" name="indexList" type="dx:IndexListType"> | |
| 73 <xs:annotation> | |
| 74 <xs:documentation>List of indices.</xs:documentation> | |
| 75 </xs:annotation> | |
| 76 </xs:element> | |
| 77 <xs:element name="indexListOffset" nillable="true" type="xs:long"> | |
| 78 <xs:annotation> | |
| 79 <xs:documentation>File pointer offset (in bytes) of the 'indexList' element.</xs:documentation> | |
| 80 </xs:annotation> | |
| 81 </xs:element> | |
| 82 <xs:element name="fileChecksum" type="xs:string"> | |
| 83 <xs:annotation> | |
| 84 <xs:documentation>SHA-1 checksum from beginning of file to end of 'fileChecksum' open tag.</xs:documentation> | |
| 85 </xs:annotation> | |
| 86 </xs:element> | |
| 87 </xs:sequence> | |
| 88 </xs:complexType> | |
| 89 <xs:key name="KEY_ID_IDX"> | |
| 90 <xs:selector xpath=".//dx:indexedmzML/dx:mzML/dx:run/dx:spectrumList/dx:spectrum | .//dx:indexedmzML/dx:mzML/dx:run/dx:chromatogramList/dx:chromatogram" /> | |
| 91 <xs:field xpath="@id" /> | |
| 92 </xs:key> | |
| 93 <xs:keyref name="FKNID" refer="dx:KEY_ID_IDX"> | |
| 94 <xs:selector xpath=".//dx:indexedmzML/dx:indexList/dx:index/dx:offset" /> | |
| 95 <xs:field xpath="@id" /> | |
| 96 </xs:keyref> | |
| 97 </xs:element> | |
| 98 </xs:schema> |
