mdmodels 0.2.9

A tool to generate models, code and schemas from markdown files
Documentation
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
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
{
    "title": "EnzymeMLDocument",
    "description": "This is the root object that composes all objects found in an EnzymeML document. It also includes general metadata such as the name of the document, when it was created/modified and references to publications, databases and arbitrary links to the web.",
    "type": "object",
    "properties": {
      "id": {
        "title": "Id",
        "description": "Unique identifier of the given object.",
        "xml": "@id",
        "type": "string"
      },
      "name": {
        "title": "Name",
        "description": "Title of the EnzymeML Document.",
        "type": "string"
      },
      "pubmedid": {
        "title": "Pubmedid",
        "description": "Pubmed ID reference.",
        "type": "string"
      },
      "url": {
        "title": "Url",
        "description": "Arbitrary type of URL that is related to the EnzymeML document.",
        "type": "string"
      },
      "doi": {
        "title": "Doi",
        "description": "Digital Object Identifier of the referenced publication or the EnzymeML document.",
        "type": "string"
      },
      "created": {
        "title": "Created",
        "description": "Date the EnzymeML document was created.",
        "type": "string",
        "format": "date-time"
      },
      "modified": {
        "title": "Modified",
        "description": "Date the EnzymeML document was modified.",
        "type": "string",
        "format": "date-time"
      },
      "creators": {
        "title": "Creators",
        "description": "Contains all authors that are part of the experiment.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/Creator"
        }
      },
      "vessels": {
        "title": "Vessels",
        "description": "Contains all vessels that are part of the experiment.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/Vessel"
        }
      },
      "proteins": {
        "title": "Proteins",
        "description": "Contains all proteins that are part of the experiment.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/Protein"
        }
      },
      "complexes": {
        "title": "Complexes",
        "description": "Contains all complexes that are part of the experiment.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/Complex"
        }
      },
      "reactants": {
        "title": "Reactants",
        "description": "Contains all reactants that are part of the experiment.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/Reactant"
        }
      },
      "reactions": {
        "title": "Reactions",
        "description": "Dictionary mapping from reaction IDs to reaction describing objects.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/Reaction"
        }
      },
      "measurements": {
        "title": "Measurements",
        "description": "Contains measurements that describe outcomes of an experiment.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/Measurement"
        }
      },
      "files": {
        "title": "Files",
        "description": "Contains files attached to the data model.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/File"
        }
      },
      "global_parameters": {
        "title": "Global Parameters",
        "description": "Dictionary mapping from parameter IDs to global kinetic parameter describing objects.",
        "multiple": true,
        "type": "array",
        "items": {
          "$ref": "#/definitions/KineticParameter"
        }
      }
    },
    "required": [
      "name"
    ],
    "definitions": {
      "Creator": {
        "title": "Creator",
        "description": "The creator object contains all information about authors that contributed to the resulting document.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "given_name": {
            "title": "Given Name",
            "description": "Given name of the author or contributor.",
            "type": "string"
          },
          "family_name": {
            "title": "Family Name",
            "description": "Family name of the author or contributor.",
            "type": "string"
          },
          "mail": {
            "title": "Mail",
            "description": "Email address of the author or contributor.",
            "type": "string"
          }
        },
        "required": [
          "given_name",
          "family_name",
          "mail"
        ]
      },
      "Vessel": {
        "title": "Vessel",
        "description": "This object describes vessels in which the experiment has been carried out. These can include any type of vessel used in biocatalytic experiments.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "Name of the used vessel.",
            "template_alias": "Name",
            "type": "string"
          },
          "volume": {
            "title": "Volume",
            "description": "Volumetric value of the vessel.",
            "template_alias": "Volume value",
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "unit": {
            "title": "Unit",
            "description": "Volumetric unit of the vessel.",
            "template_alias": "Volume unit",
            "type": "string"
          },
          "constant": {
            "title": "Constant",
            "description": "Whether the volume of the vessel is constant or not.",
            "default": true,
            "type": "boolean"
          },
          "uri": {
            "title": "Uri",
            "description": "URI of the vessel.",
            "type": "string"
          },
          "creator_id": {
            "title": "Creator Id",
            "description": "Unique identifier of the author.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "volume",
          "unit"
        ]
      },
      "SBOTerm": {
        "title": "SBOTerm",
        "type": "string",
        "description": "An enumeration.",
        "enum": [
          "SBO:0000176",
          "SBO:0000208",
          "SBO:0000181",
          "SBO:0000182",
          "SBO:0000179",
          "SBO:0000180",
          "SBO:0000209",
          "SBO:0000377",
          "SBO:0000177",
          "SBO:0000200",
          "SBO:0000672",
          "SBO:0000252",
          "SBO:0000251",
          "SBO:0000247",
          "SBO:0000327",
          "SBO:0000328",
          "SBO:0000336",
          "SBO:0000015",
          "SBO:0000011",
          "SBO:0000013",
          "SBO:0000020",
          "SBO:0000461",
          "SBO:0000462",
          "SBO:0000021",
          "SBO:0000296",
          "SBO:0000297",
          "SBO:0000607",
          "SBO:0000028",
          "SBO:0000025",
          "SBO:0000027",
          "SBO:0000186"
        ]
      },
      "Protein": {
        "title": "Protein",
        "description": "This objects describes the proteins that were used or produced in the course of the experiment.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "None",
            "type": "string"
          },
          "vessel_id": {
            "title": "Vessel Id",
            "description": "None",
            "type": "string"
          },
          "init_conc": {
            "title": "Init Conc",
            "description": "None",
            "type": "number"
          },
          "constant": {
            "title": "Constant",
            "description": "None",
            "type": "boolean"
          },
          "unit": {
            "title": "Unit",
            "description": "None",
            "type": "string"
          },
          "uri": {
            "title": "Uri",
            "description": "None",
            "type": "string"
          },
          "creator_id": {
            "title": "Creator Id",
            "description": "None",
            "type": "string"
          },
          "sequence": {
            "title": "Sequence",
            "description": "Amino acid sequence of the protein",
            "template_alias": "Sequence",
            "type": "string"
          },
          "ecnumber": {
            "title": "Ecnumber",
            "description": "EC number of the protein.",
            "pattern": "(\\d+.)(\\d+.)(\\d+.)(\\d+)",
            "template_alias": "EC Number",
            "type": "string"
          },
          "organism": {
            "title": "Organism",
            "description": "Organism the protein was expressed in.",
            "template_alias": "Source organism",
            "type": "string"
          },
          "organism_tax_id": {
            "title": "Organism Tax Id",
            "description": "Taxonomy identifier of the expression host.",
            "type": "string"
          },
          "uniprotid": {
            "title": "Uniprotid",
            "description": "Unique identifier referencing a protein entry at UniProt. Use this identifier to initialize the object from the UniProt database.",
            "template_alias": "UniProt ID",
            "type": "string"
          },
          "ontology": {
            "description": "None",
            "default": "SBO:0000013",
            "allOf": [
              {
                "$ref": "#/definitions/SBOTerm"
              }
            ]
          }
        },
        "required": [
          "name",
          "vessel_id",
          "constant",
          "sequence"
        ]
      },
      "Complex": {
        "title": "Complex",
        "description": "This object describes complexes made of reactants and/or proteins that were used or produced in the course of the experiment.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "None",
            "type": "string"
          },
          "vessel_id": {
            "title": "Vessel Id",
            "description": "None",
            "type": "string"
          },
          "init_conc": {
            "title": "Init Conc",
            "description": "None",
            "type": "number"
          },
          "constant": {
            "title": "Constant",
            "description": "None",
            "type": "boolean"
          },
          "unit": {
            "title": "Unit",
            "description": "None",
            "type": "string"
          },
          "uri": {
            "title": "Uri",
            "description": "None",
            "type": "string"
          },
          "creator_id": {
            "title": "Creator Id",
            "description": "None",
            "type": "string"
          },
          "participants": {
            "title": "Participants",
            "description": "Array of IDs the complex contains",
            "pattern": "[s|p][\\d]+",
            "multiple": true,
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "[s|p][\\d]+"
            }
          },
          "ontology": {
            "description": "None",
            "default": "SBO:0000296",
            "allOf": [
              {
                "$ref": "#/definitions/SBOTerm"
              }
            ]
          }
        },
        "required": [
          "name",
          "vessel_id",
          "constant"
        ]
      },
      "Reactant": {
        "title": "Reactant",
        "description": "This objects describes the reactants that were used or produced in the course of the experiment.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "None",
            "type": "string"
          },
          "vessel_id": {
            "title": "Vessel Id",
            "description": "None",
            "type": "string"
          },
          "init_conc": {
            "title": "Init Conc",
            "description": "None",
            "type": "number"
          },
          "constant": {
            "title": "Constant",
            "description": "None",
            "type": "boolean"
          },
          "unit": {
            "title": "Unit",
            "description": "None",
            "type": "string"
          },
          "uri": {
            "title": "Uri",
            "description": "None",
            "type": "string"
          },
          "creator_id": {
            "title": "Creator Id",
            "description": "None",
            "type": "string"
          },
          "smiles": {
            "title": "Smiles",
            "description": "Simplified Molecular Input Line Entry System (SMILES) encoding of the reactant.",
            "template_alias": "SMILES",
            "type": "string"
          },
          "inchi": {
            "title": "Inchi",
            "description": "International Chemical Identifier (InChI) encoding of the reactant.",
            "template_alias": "InCHI",
            "type": "string"
          },
          "chebi_id": {
            "title": "Chebi Id",
            "description": "Unique identifier of the CHEBI database. Use this identifier to initialize the object from the CHEBI database.",
            "type": "string"
          },
          "ontology": {
            "description": "None",
            "default": "SBO:0000247",
            "allOf": [
              {
                "$ref": "#/definitions/SBOTerm"
              }
            ]
          }
        },
        "required": [
          "name",
          "vessel_id",
          "constant"
        ]
      },
      "KineticParameter": {
        "title": "KineticParameter",
        "description": "This object describes the parameters of the kinetic model and can include all estimated values.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "Name of the estimated parameter.",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "description": "Numerical value of the estimated parameter.",
            "type": "number"
          },
          "unit": {
            "title": "Unit",
            "description": "Unit of the estimated parameter.",
            "type": "string"
          },
          "initial_value": {
            "title": "Initial Value",
            "description": "Initial value that was used for the parameter estimation.",
            "type": "number"
          },
          "upper": {
            "title": "Upper",
            "description": "Upper bound of the estimated parameter.",
            "type": "number"
          },
          "lower": {
            "title": "Lower",
            "description": "Lower bound of the estimated parameter.",
            "type": "number"
          },
          "is_global": {
            "title": "Is Global",
            "description": "Specifies if this parameter is a global parameter.",
            "default": false,
            "type": "boolean"
          },
          "stdev": {
            "title": "Stdev",
            "description": "Standard deviation of the estimated parameter.",
            "type": "number"
          },
          "constant": {
            "title": "Constant",
            "description": "Specifies if this parameter is constant",
            "default": false,
            "type": "boolean"
          },
          "ontology": {
            "description": "Type of the estimated parameter.",
            "allOf": [
              {
                "$ref": "#/definitions/SBOTerm"
              }
            ]
          }
        },
        "required": [
          "name",
          "value",
          "unit"
        ]
      },
      "KineticModel": {
        "title": "KineticModel",
        "description": "This object describes a kinetic model that was derived from the experiment.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "Name of the kinetic law.",
            "type": "string"
          },
          "equation": {
            "title": "Equation",
            "description": "Equation for the kinetic law.",
            "type": "string"
          },
          "parameters": {
            "title": "Parameters",
            "description": "List of estimated parameters.",
            "multiple": true,
            "type": "array",
            "items": {
              "$ref": "#/definitions/KineticParameter"
            }
          },
          "ontology": {
            "description": "Type of the estimated parameter.",
            "allOf": [
              {
                "$ref": "#/definitions/SBOTerm"
              }
            ]
          }
        },
        "required": [
          "name",
          "equation"
        ]
      },
      "ReactionElement": {
        "title": "ReactionElement",
        "description": "This object is part of the Reaction object and describes either an educt, product or modifier. The latter includes buffers, counter-ions as well as proteins/enzymes.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "species_id": {
            "title": "Species Id",
            "description": "Internal identifier to either a protein or reactant defined in the EnzymeMLDocument.",
            "type": "string"
          },
          "stoichiometry": {
            "title": "Stoichiometry",
            "description": "Positive float number representing the associated stoichiometry.",
            "default": 1,
            "exclusiveMinimum": 0,
            "type": "number"
          },
          "constant": {
            "title": "Constant",
            "description": "Whether or not the concentration of this species remains constant.",
            "default": false,
            "type": "boolean"
          },
          "ontology": {
            "description": "Ontology defining the role of the given species.",
            "allOf": [
              {
                "$ref": "#/definitions/SBOTerm"
              }
            ]
          }
        },
        "required": [
          "species_id"
        ]
      },
      "Reaction": {
        "title": "Reaction",
        "description": "This object describes a chemical or enzymatic reaction that was investigated in the course of the experiment. All species used within this object need to be part of the data model.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "Name of the reaction.",
            "template_alias": "Name",
            "type": "string"
          },
          "reversible": {
            "title": "Reversible",
            "description": "Whether the reaction is reversible or irreversible",
            "default": false,
            "template_alias": "Reversible",
            "type": "boolean"
          },
          "temperature": {
            "title": "Temperature",
            "description": "Numeric value of the temperature of the reaction.",
            "template_alias": "Temperature value",
            "type": "number"
          },
          "temperature_unit": {
            "title": "Temperature Unit",
            "description": "Unit of the temperature of the reaction.",
            "pattern": "kelvin|Kelvin|k|K|celsius|Celsius|C|c",
            "template_alias": "Temperature unit",
            "type": "string"
          },
          "ph": {
            "title": "Ph",
            "description": "PH value of the reaction.",
            "template_alias": "pH value",
            "inclusiveminimum": 0,
            "inclusivemaximum": 14,
            "type": "number"
          },
          "ontology": {
            "description": "Ontology defining the role of the given species.",
            "default": "SBO:0000176",
            "allOf": [
              {
                "$ref": "#/definitions/SBOTerm"
              }
            ]
          },
          "uri": {
            "title": "Uri",
            "description": "URI of the reaction.",
            "type": "string"
          },
          "creator_id": {
            "title": "Creator Id",
            "description": "Unique identifier of the author.",
            "type": "string"
          },
          "model": {
            "title": "Model",
            "description": "Kinetic model decribing the reaction.",
            "allOf": [
              {
                "$ref": "#/definitions/KineticModel"
              }
            ]
          },
          "educts": {
            "title": "Educts",
            "description": "List of educts containing ReactionElement objects.",
            "multiple": true,
            "template_alias": "Educts",
            "type": "array",
            "items": {
              "$ref": "#/definitions/ReactionElement"
            }
          },
          "products": {
            "title": "Products",
            "description": "List of products containing ReactionElement objects.",
            "multiple": true,
            "template_alias": "Products",
            "type": "array",
            "items": {
              "$ref": "#/definitions/ReactionElement"
            }
          },
          "modifiers": {
            "title": "Modifiers",
            "description": "List of modifiers (Proteins, snhibitors, stimulators) containing ReactionElement objects.",
            "multiple": true,
            "template_alias": "Modifiers",
            "type": "array",
            "items": {
              "$ref": "#/definitions/ReactionElement"
            }
          }
        },
        "required": [
          "name"
        ]
      },
      "DataTypes": {
        "title": "DataTypes",
        "description": "An enumeration.",
        "enum": [
          "conc",
          "abs",
          "feed",
          "biomass",
          "conversion",
          "peak-area"
        ]
      },
      "Replicate": {
        "title": "Replicate",
        "description": "This object contains the measured time course data as well as metadata to the replicate itself.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "species_id": {
            "title": "Species Id",
            "description": "Unique identifier of the species that has been measured.",
            "type": "string"
          },
          "measurement_id": {
            "title": "Measurement Id",
            "description": "Unique identifier of the measurement that the replicate is part of.",
            "type": "string"
          },
          "data_type": {
            "description": "Type of data that was measured (e.g. concentration)",
            "default": "conc",
            "allOf": [
              {
                "$ref": "#/definitions/DataTypes"
              }
            ]
          },
          "data_unit": {
            "title": "Data Unit",
            "description": "SI unit of the data that was measured.",
            "type": "string"
          },
          "time_unit": {
            "title": "Time Unit",
            "description": "Time unit of the replicate.",
            "type": "string"
          },
          "time": {
            "title": "Time",
            "description": "Time steps of the replicate.",
            "multiple": true,
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "data": {
            "title": "Data",
            "description": "Data that was measured.",
            "multiple": true,
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "is_calculated": {
            "title": "Is Calculated",
            "description": "Whether or not the data has been generated by simulation.",
            "default": false,
            "type": "boolean"
          },
          "uri": {
            "title": "Uri",
            "description": "URI of the protein.",
            "type": "string"
          },
          "creator_id": {
            "title": "Creator Id",
            "description": "Unique identifier of the author.",
            "type": "string"
          }
        },
        "required": [
          "species_id",
          "measurement_id",
          "data_unit",
          "time_unit"
        ]
      },
      "MeasurementData": {
        "title": "MeasurementData",
        "description": "This object describes a single entity of a measurement, which corresponds to one species. It also holds replicates which contain time course data.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "init_conc": {
            "title": "Init Conc",
            "description": "Initial concentration of the measurement data.",
            "type": "number"
          },
          "unit": {
            "title": "Unit",
            "description": "The unit of the measurement data.",
            "type": "string"
          },
          "measurement_id": {
            "title": "Measurement Id",
            "description": "Unique measurement identifier this dataset belongs to.",
            "type": "string"
          },
          "species_id": {
            "title": "Species Id",
            "description": "The identifier for the described reactant.",
            "type": "string"
          },
          "replicates": {
            "title": "Replicates",
            "description": "A list of replicate objects holding raw data of the measurement.",
            "multiple": true,
            "type": "array",
            "items": {
              "$ref": "#/definitions/Replicate"
            }
          }
        },
        "required": [
          "init_conc",
          "unit",
          "measurement_id"
        ]
      },
      "Measurement": {
        "title": "Measurement",
        "description": "This object describes the result of a measurement, which includes time course data of any type defined in DataTypes. It includes initial concentrations of all species used in a single measurement.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "Name of the measurement",
            "type": "string"
          },
          "temperature": {
            "title": "Temperature",
            "description": "Numeric value of the temperature of the reaction.",
            "template_alias": "Temperature value",
            "type": "number"
          },
          "temperature_unit": {
            "title": "Temperature Unit",
            "description": "Unit of the temperature of the reaction.",
            "pattern": "kelvin|Kelvin|k|K|celsius|Celsius|C|c",
            "type": "string"
          },
          "ph": {
            "title": "Ph",
            "description": "PH value of the reaction.",
            "inclusiveminimum": 0,
            "inclusivemaximum": 14,
            "type": "number"
          },
          "species": {
            "title": "Species",
            "description": "Species of the measurement.",
            "multiple": true,
            "type": "array",
            "items": {
              "$ref": "#/definitions/MeasurementData"
            }
          },
          "global_time": {
            "title": "Global Time",
            "description": "Global time of the measurement all replicates agree on.",
            "multiple": true,
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "global_time_unit": {
            "title": "Global Time Unit",
            "description": "Unit of the global time.",
            "type": "string"
          },
          "uri": {
            "title": "Uri",
            "description": "URI of the reaction.",
            "type": "string"
          },
          "creator_id": {
            "title": "Creator Id",
            "description": "Unique identifier of the author.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "temperature",
          "temperature_unit",
          "ph",
          "global_time_unit"
        ]
      },
      "File": {
        "title": "File",
        "description": "This objects contains a files that has been attached to the document.",
        "type": "object",
        "properties": {
          "id": {
            "title": "Id",
            "description": "Unique identifier of the given object.",
            "xml": "@id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "description": "Name of the file",
            "type": "string"
          },
          "content": {
            "title": "Content",
            "description": "Contents of the file",
            "type": "string",
            "format": "binary"
          },
          "filetype": {
            "title": "Filetype",
            "description": "Type of the file such as .xml, .json and so on",
            "type": "string"
          }
        },
        "required": [
          "name",
          "content",
          "filetype"
        ]
      }
    }
  }