This file is indexed.

/usr/share/pyshared/cfflib/schema/connectome.xsd is in python-cfflib 2.0.5-1.

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
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema elementFormDefault="qualified"
	targetNamespace="http://www.connectomics.org/cff-2"
    xmlns:cml="http://www.connectomics.org/cff-2"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:dcterms="http://purl.org/dc/terms/">

<xsd:import namespace="http://purl.org/dc/terms/" 
        schemaLocation="http://dublincore.org/schemas/xmls/qdc/2008/02/11/dcterms.xsd"/>

<xsd:annotation xml:lang="en">
    <xsd:documentation>
    Connectome File Markup, Version 2.0
    Created 17-01-2011 by Stephan Gerhard (connectome@unidesign.ch)
    Updated 9-03-2011 by Stephan Gerhard (connectome@unidesign.ch)
    </xsd:documentation>
</xsd:annotation>

<!-- odML schema parts (http://www.g-node.org/odml) -->

<xsd:element name ="property">
  <xsd:complexType>
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
  <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
  <xsd:element name="value" type="xsd:string" minOccurs="0" maxOccurs="1"/>
  <xsd:element name="type" type="xsd:string" minOccurs="0" maxOccurs="1"/>
  <xsd:element name="uncertainty" type="xsd:string" minOccurs="0" maxOccurs="1"/>
  <xsd:element name="unit" type="xsd:string" minOccurs="0" maxOccurs="1"/>
  </xsd:choice>
  </xsd:complexType>
</xsd:element>


<xsd:complexType name="section" mixed="false" >
  <xsd:choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
    <xsd:element name="type" type="xsd:string" minOccurs="1" maxOccurs="1"/>
    <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded"/>
  </xsd:choice>
  <xsd:attribute name="title" type="xsd:string" use="required"></xsd:attribute>
</xsd:complexType>


<!-- end odML schema parts -->

<xsd:complexType name="metadata">

  <xsd:sequence>
  
    <xsd:element maxOccurs="unbounded" minOccurs="0" name="tag">  
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      A tag element contains a key attribute and the value
      </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
      <xsd:simpleContent>
        <xsd:extension base="xsd:string">
            <xsd:attribute name="key" type="xsd:string">
            <xsd:annotation xml:lang="en">
              <xsd:documentation>
              The key to be used later in the dictionary
              </xsd:documentation>
            </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
      </xsd:simpleContent>
    </xsd:complexType>
    
    </xsd:element>
    
   <xsd:element minOccurs="0" maxOccurs="unbounded" name="section" type="section">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      An odML section containing properties
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>  
    
  </xsd:sequence>

</xsd:complexType>

<xsd:simpleType name="networkFileFormat">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="GraphML"/>
    <xsd:enumeration value="GEXF"/>
    <xsd:enumeration value="NXGPickle"/>
    <xsd:enumeration value="Other"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="volumeFileFormat">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Nifti1"/>
        <xsd:enumeration value="Other"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="surfaceFileFormat">
	<xsd:restriction base="xsd:string">
		<xsd:enumeration value="Gifti"/>
		<xsd:enumeration value="Other"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="dataFileFormat">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="NumPy"/>
    <xsd:enumeration value="HDF5"/>
    <xsd:enumeration value="XML"/>
    <xsd:enumeration value="JSON"/>
    <xsd:enumeration value="CSV"/>
    <xsd:enumeration value="Pickle"/>
    <xsd:enumeration value="Other"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="timeserieFileFormat">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="HDF5"/>
    <xsd:enumeration value="NumPy"/>
    <xsd:enumeration value="Other"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="trackFileFormat">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="TrackVis"/>
    <xsd:enumeration value="Other"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="imagestackFileFormat">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="PNG"/>
    <xsd:enumeration value="JPG"/>
    <xsd:enumeration value="TIFF"/>
    <xsd:enumeration value="SVG"/>
    <xsd:enumeration value="Other"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="scriptFileFormat">
  <xsd:restriction base="xsd:string">
    <xsd:enumeration value="ASCII"/>
    <xsd:enumeration value="UTF-8"/>
    <xsd:enumeration value="UTF-16"/>
    <xsd:enumeration value="Other"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="networkEnumDType">
	<xsd:restriction base="xsd:string">
	  <xsd:whiteSpace value="collapse"/>
	</xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="volumeEnumDType">
  <xsd:restriction base="xsd:string">
    <xsd:whiteSpace value="collapse"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="surfaceEnumDType">
  <xsd:restriction base="xsd:string">
    <xsd:whiteSpace value="collapse"/>
  </xsd:restriction>
</xsd:simpleType>

<xsd:simpleType name="scriptEnumType">
	<xsd:restriction base="xsd:string">
	 <xsd:whiteSpace value="collapse"/>
	</xsd:restriction>
</xsd:simpleType>


<xsd:element name="connectome">
  <xsd:complexType>
    <xsd:sequence>
      
      <xsd:element maxOccurs="1" minOccurs="1" name="connectome-meta" type="CMetadata">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        Connectome File Metadata
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>
      
      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-network" type="CNetwork">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of networks. They can reference objects of type CVolume, CSurface, CTrack, CTimeseries, CImagestack and/or CData.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>

      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-surface" type="CSurface">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of surfaces. Surface sources are in Gifti format, and can define labels.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>

      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-volume" type="CVolume">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of volumes. Volume sources are in Nifti1 format, and can also define segmentations.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>

      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-track" type="CTrack">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of track files. Track sources are in TrackVis format, and can also contain data.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>
      
      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-timeseries" type="CTimeseries">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of timeserie files. The timeseries files are defined using the HDF5 format.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>
      
      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-data" type="CData">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of data files. Data files can store arbitrary data.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>  
      
      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-script" type="CScript">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of scripts. Scripts are represented by executable text files.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>
      
      <xsd:element maxOccurs="unbounded" minOccurs="0" name="connectome-imagestack" type="CImagestack">
      <xsd:annotation xml:lang="en">
        <xsd:documentation>
        A list of image stacks. Image stacks represent an enumerated list of 2d images.
        </xsd:documentation>
      </xsd:annotation>
      </xsd:element>  

   </xsd:sequence>
  </xsd:complexType>
  
</xsd:element>

<xsd:complexType name="CMetadata">

  <xsd:sequence>

    <!-- this sequance should refrence ref="dcterms:title", but we do not
    want the generateDS to create objects here -->
   <xsd:element minOccurs="1" name="dcterms:title" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Title of the connectome resource
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>


   <xsd:element minOccurs="1" name="dcterms:creator" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Author(s) of the data
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    
   <xsd:element minOccurs="1" name="dcterms:publisher" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Institution/Organisation the data was generated or the authors are associated with
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>

   <xsd:element minOccurs="1" name="dcterms:created" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      When was the file created? YYYY-MM-DD
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    
   <xsd:element minOccurs="1" name="dcterms:modified" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      When was the file modified? YYYY-MM-DD
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>

   <xsd:element minOccurs="0" name="dcterms:rights" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Information about rights held in and over the resource such as copyrights.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
         
   <xsd:element minOccurs="0" name="dcterms:license" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The license of the data
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    
   <xsd:element minOccurs="0" name="dcterms:references" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      References to the paper where the data has been published.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    
   <xsd:element minOccurs="0" name="dcterms:relation" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      A related resource. References to URL with further information or download location.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    
   <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      A connectome file wide description
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>

   <xsd:element minOccurs="1" name="generator" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      software version/converter this file was generated with
      </xsd:documentation>
    </xsd:annotation>
  </xsd:element>
  
   <xsd:element minOccurs="1" name="species" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      species name according to the internationally used binomial nomenclature.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>
    
   <xsd:element minOccurs="0" name="email" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      E-Mail for contact related to the dataset
      </xsd:documentation>
    </xsd:annotation>
    </xsd:element>

    <xsd:element maxOccurs="1" minOccurs="0" name="metadata" type="metadata">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Any metadata that does not fit the predefined tags can be accomodated using the flexible schema of a key-value pair.
      </xsd:documentation>
      </xsd:annotation>
    </xsd:element>
    
  </xsd:sequence>
  
   <xsd:attribute name="version" type="xsd:string" use="required">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Defines the version of the Connectome Schema Definition the current Connectome File is compatible with. Should be 2.0
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
</xsd:complexType>  


<xsd:complexType name="CNetwork">

  <xsd:sequence>

          <xsd:element maxOccurs="1" minOccurs="0" name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            Often, there is particular metadata for networks one wants to use for later processing. For example one can annotate networks that represent subjects with
            information about being member of the control or test group. The very flexible schema of a dictionary (key/value pairs) is adopted to represent any kind of
            metadata. The values are strings.
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>

	    <xsd:element maxOccurs="1" minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>

  </xsd:sequence>

  
    <xsd:attribute name="name" type="xsd:string" use="required">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The short name of the network
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the file according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>

    <xsd:attribute default="GraphML" name="fileformat" type="networkFileFormat">
    <xsd:annotation xml:lang="en">
	<xsd:documentation>
	Is the network stored it "GEXF" or "GraphML" format, "NXGPickle" as NetworkX pickled object,
	or "Other" format?
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute default="AttributeNetwork" name="dtype" type="networkEnumDType">
    <xsd:annotation xml:lang="en">
	<xsd:documentation>
	- dtype="AttributeNetwork"
	A network with arbitrary number of attributes for nodes and edges.
	- dtype="DynamicNetwork"
	Network with either with lifespan attributes for nodes and edges (See GEXF)
	or timeseries on nodes and edges.
	- dtype="HierarchicalNetwork"
	Network with hierarchical structure.
  - dtype="StructuralNetwork"
  A structural network e.g. derived from Diffusion MRI
  - dtype="FunctionalNetwork"
  Networks derived from functional measures such as EEG/MEG/fMRI/PET etc.
  - dtype="EffectiveNetwork"
  Networks representing effective connectivity
	- dtype="Other"
	Other kind of network.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
</xsd:complexType>


<xsd:complexType name="CSurface">
    <xsd:all>
	    <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>
	    
          <xsd:element name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            More metadata
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>
	    
    </xsd:all>

    <xsd:attribute name="name" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Descriptive name of the surface.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>

    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the file according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>

    <xsd:attribute name="fileformat" type="surfaceFileFormat">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Set to "gifti" to use the only supported Gifti format by cfflib.
      See http://www.nitrc.org/frs/download.php/158/gifti.xsd for schema information
      
      Use "Other" for other formats with custom IO Handling
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute default="Surfaceset" name="dtype" type="surfaceEnumDType">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      What type of surface does the Gifti file contain:
      - type="Labeling"
      The Gifti file contains surface labels. This file can be referenced
      in connectome-network with either the name attribute or in addition to another
      surface defined by name and using the labelname attribute and matching labelid. If
      referenced in such a way, the networks' nodes attribute dn_intensityvalue value
      may match the label array integers, thereby relating a network node to a surface
      patch (a region of interest defined on the surface). See also example datasets.
      - type="Surfaceset"
      The Gifti file contains a set of surfaces where the metadata tag AnatomicalStructurePrimary match.
      Individual elements of the set are distinguished by the metadta tag AnatomicalStructureSecondary.
      The Gifti file contains information about the coordinate system used.
      - type="Surfaceset+Labeling"
      If the Gifti file contains data as described for both surfaceset and label above.
      - type="Other"
      Any other kind of data storable in a Gifti file.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
</xsd:complexType>


<xsd:complexType name="CVolume">
     <xsd:all>
	    <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>
	    
          <xsd:element name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            More metadata
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>
	    
    </xsd:all>
    
    <xsd:attribute name="name" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Name of the volume.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the file according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>

    <xsd:attribute default="Nifti1" name="fileformat" type="volumeFileFormat">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Set to "Nifti1" to use the only supported Nifti format. This works also
      for compressed files with name ending .nii.gz
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="dtype" type="volumeEnumDType">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The Nifti file contains information about the coordinate system used.
      Set type of volume the Nifti file contains:
      - type="Segmentation"
      The Nifti file contains a single volume where the voxel values are integers,
      representing a segmented Region of Interest. If this volume is referenced by
      a connectome-network, its nodes dn_intensityvalue attribute may match these
      integer values. Such a segmentation volume can referenced in a connectome-volume
      by the segmentationname attribute in addition to another, e.g. T1-weighted volume
      which is referenced by the name attribute. See also example datasets.
      - type="T1-weighted"
      The Nifti file contains a T1-weighted volume.
      - type="T2-weighted"
      The Nifti file contains a T2-weighted volume.
      - type="PD-weighted"
      The voxel values represent a proton-density weighted signal.
      - type="fMRI"
      The Nifti file contains functional MRI time series data.
      - type="Probabilitymap"
      Voxel values are in the range [0,1]. Can stand for tissue probability maps.
      - type="MD"
      Diffusion-related signal. Stands for mean diffusivity.
      - type="FA"
      Diffusion-related signal. Stands for fractional anisotropy.
      - type="LD"
      Diffusion-related signal. Stands for longitudinal diffusivity.
      - type="TD"
      Diffusion-related signal. Stands for transversal diffusivity.
      - type="FLAIR"
      Stands for Fluid attenuated inversion recovery 
      - type="MRA"
      Stands for Magnetic resonance angiography
      - type="MRS"
      Stands for Magnetic resonance spectroscopy
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
 
</xsd:complexType>


<xsd:complexType name="CTrack">

  <xsd:all>
	    <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>
	    
          <xsd:element name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            More metadata
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>

	    
  </xsd:all>
  
    <xsd:attribute name="name" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Name of the track file.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the file according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute default="TrackVis" name="fileformat" type="trackFileFormat">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Set to "TrackVis" (default) to use the only supported TrackVis file format.
      The TrackVis file format allows to store any number of additional numerical
      data on the individual fibers.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="dtype" type="xsd:string"></xsd:attribute>
    
</xsd:complexType>

<xsd:complexType name="CTimeseries">

  <xsd:all>
	    <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>
	    
          <xsd:element name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            More metadata
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>
	    
  </xsd:all>
  
    <xsd:attribute name="name" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Name of the timeseries.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the file according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute default="HDF5" name="fileformat" type="timeserieFileFormat">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Set to "HDF5" (default) to use the only supported Hierarchical Data File format.
      The HDF5 allows to store any number of time series or other large homogeneous data.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="dtype" type="xsd:string"></xsd:attribute>
    
</xsd:complexType>


<xsd:complexType name="CData">

  <xsd:all>
	    <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>
	    
          <xsd:element name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            More metadata
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>
	    
  </xsd:all>
  
    <xsd:attribute name="name" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Name of the data file
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the file according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="fileformat" type="dataFileFormat">
    <xsd:annotation xml:lang="en">
       <xsd:documentation>
	Use one of 'NumPy', 'HDF5', 'XML', 'Other'
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="dtype" type="xsd:string"></xsd:attribute>
    
</xsd:complexType>


<xsd:complexType name="CScript">

  <xsd:all>
	    <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>
	    
          <xsd:element name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            More metadata
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>
	    
  </xsd:all>
  
    <xsd:attribute name="name" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Name of the script file
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the file according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>

    <xsd:attribute default="UTF-8" name="fileformat" type="scriptFileFormat">
    </xsd:attribute>
       
    <xsd:attribute default="Python" name="dtype" type="scriptEnumType">
    <xsd:annotation xml:lang="en">
       <xsd:documentation>
	What kind of script. Use one of "Python" (default), "Bash", "Matlab",
	or "Other".
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
</xsd:complexType>


<xsd:complexType name="CImagestack">

  <xsd:all>
	    <xsd:element minOccurs="0" name="dcterms:description" type="xsd:string">
	     <xsd:annotation xml:lang="en">
	       <xsd:documentation>
	       A description according to the format attribute syntax.
	       </xsd:documentation>
	     </xsd:annotation>
	     </xsd:element>
	    
          <xsd:element name="metadata" type="metadata">
          <xsd:annotation xml:lang="en">
            <xsd:documentation>
            More metadata. Following keys are proposed to position the image
	    stack sensibly in 3D.
	    location : x,y,z
		The location of the left-bottom pixel of the first stack in
		the image stack
	    orientation_x : x,y,z
		Unit length vector pointing in the positive x direction
	    orientation_y : x,y,z
		Unit length vector pointing in the positive y direction
		Should be orthogonal to orientation_x
	    orientation_z : x,y,z
		Unit length vector pointing in the positive z direction
		Should be orthogonal to orientation_x and orientation_y
	    coordsystem : "RAS"
		"RAS" means for x-axes: left-right, y-axes: anterior-posterior,
		z-axes: superior-inferior. Right, Anterior, Posterior denotes
		the positive axes direction.
	    pixelsize : x,y,z
		The actual extent of the pixel in the three dimensional euclidean
		metric space given in nanometer "nm", micrometer "um" or milimeter "mm"
		Example: 1 mm, 1 mm, 2 mm
           </xsd:documentation>
          </xsd:annotation>
          </xsd:element>
	    
  </xsd:all>
  
    <xsd:attribute name="name" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      Name of the image stack
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="src" type="xsd:string">
    <xsd:annotation xml:lang="en">
      <xsd:documentation>
      The path to the enumerated files according to location attribute
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="pattern" type="xsd:string">
    <xsd:annotation xml:lang="en">
	<xsd:documentation>
	The file name pattern that may contain simple shell-style wildcards a la fnmatch.
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
    <xsd:attribute name="fileformat" type="imagestackFileFormat">
    <xsd:annotation xml:lang="en">
       <xsd:documentation>
	Use one of 'PNG', 'JPG', 'TIFF', 'Other'
      </xsd:documentation>
    </xsd:annotation>
    </xsd:attribute>
    
</xsd:complexType>


</xsd:schema>