Repository navigation
Expand file tree
/
Copy pathTEM_schema.json
More file actions
2467 lines (2467 loc) · 102 KB
/
Copy pathTEM_schema.json
File metadata and controls
2467 lines (2467 loc) · 102 KB
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
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"type": "object",
"description": "Note: The purpose of this JSON Schema is to provide description of a transmission electron microscopy (TEM) measurement. The cardinality of all properties are either defined as required or optional and wherever possible a list of controlled vocabularies is provided. Also each property is labelled to indicate if it is automatically extractable (AE) or not automatically extractable (NAE). Note that some of the items which are of the type - object might have some properties which are AE and some others which are NAE, so the overall automatic extractability of these objects would be given as NAE. The automatic extractability of the individual properties of dimensional quantities are, on the contrary, is not always possible to be labelled in the definition, as these are repeated in multiple instances, with each instance having its own automatic extractability. Contributors: Ali Ahmadian (KIT -- INT), Carina B. Maliakkal (KIT -- INT), Christian Kübel (KIT -- INT), Dorothee-Vinga Szabo (KIT -- INT), Di Wang (KIT -- INT), Maximilian Töllner (KIT -- INT), Reetu Elza Joseph (KIT -- SCC), Regina Ciancio (CNR-IOM- Trieste), Rossella Aversa (KIT -- SCC), Sabine Schlabach (KIT -- INT), Shyam Chethala Neelakandhan (KIT -- INT), Xiaoke Mu (KIT -- INT), Yuting Dai (KIT -- INT).",
"properties": {
"technique": {
"type": "string",
"description": "(Required, AE) - Any experimental, theoretical or computational method used during Data Acquisition or during any of the processes included in the Data Analysis Lifecycle to acquire, process or analyse Research Data about a System or a set of them with an Instrument, which is used to generate this metadata."
},
"measurementPurpose": {
"type": "string",
"description": "(Required, NAE) - Measurement is experimental Data Acquisition, typically performed on a Sample using an experimental Technique. It may also be performed during Fabrication or Sample Preparation, e.g., to characterise the intermediate stages and/or the final resulting Precursor(s) or Sample(s), respectively. A Measurement may require the use of Consumables. The purpose of the measurement needs to be selected from a controlled list - assessment (to given categories or values), completeness check (presence or absence of given properties), exploratory (routine check of known properties),feasibility (quick check, rough estimate), high quality measurement (precise, careful treatment), test specific hypothesis (focus only on given aspects)",
"enum": [
"assessment (to given categories or values)",
"completeness check (presence or absence of given properties)",
"correlative characterization (dedicated sample treatment to emphasise given features)",
"exploratory (routine check of known properties)",
"feasibility (quick check, rough estimate)",
"high quality measurement (precise, careful treatment)",
"test specific hypothesis (focus only on given aspects)"
]
},
"measurementDescription": {
"type": "string",
"description": "(Optional, NAE) - Description about the measurement."
},
"equipment": {
"type": "string",
"description": "(Optional, NAE) - Any kind of physical or virtual item, device, machine or other tools used to perform one or more Fabrication(s), Sample Preparation(s), Model Preparation(s), Data Acquisition(s) and/or any of the processes included in the Data Analysis Lifecycle. Usually, the Equipment is located in a Laboratory hosted by an Institution and/or can be virtually or remotely accessed. Equipment is usually an investment. According to this definition, an Instrument is a particular type of Equipment."
},
"consumables": {
"type": "array",
"minItems": 1,
"description": "(Optional, NAE) - Auxiliary entity used during Fabrication, Sample Preparation or Measurement which has a limited time capacity or is limited in its number of uses before it is disposed of, necessary to the process itself and normally bought from third party manufacturers. Examples are: gloves, syringes, wipes, etching solutions, glass slides, spatulas, weighing paper, two-sided tape.",
"items": {
"type": "string"
}
},
"parents": {
"type": "array",
"minItems": 1,
"description": "(Required, NAE) - Parents of this metadata like the metadata document of the sample with which the measurement was performed.",
"items": {
"type": "object",
"properties": {
"parentType": {
"type": "string",
"description": "(Required, NAE) - Type of the parent. If no parent data is availbale, select *not applicable*.",
"enum": [
"not applicable",
"sample"
],
"default": "sample"
},
"parentReferenceType": {
"type": "string",
"description": "(Optional, NAE) - Type of the parent reference.",
"enum": [
"plain text",
"external URL",
"MetaStore URI"
],
"default": "MetaStore URI"
},
"parentReference": {
"type": "string",
"description": "(Optional, NAE) - A link or relative reference to the parent in the form of a URI - reference.",
"format": "uri-reference"
}
},
"required": [
"parentType"
],
"if": {
"properties": {
"parentType": {
"not": {
"const": "not applicable"
}
}
}
},
"then": {
"required": [
"parentReferenceType",
"parentReference"
]
}
}
},
"entryID": {
"$ref": "#/$defs/identifier",
"description": "(Optional, NAE) - Identifier of the metadata entry usually provided by the project or the laboratory."
},
"measurementTitle": {
"type": "string",
"description": "(Required, AE) - Extended title of the measurement, which could also be the file name."
},
"startTime": {
"type": "string",
"description": "(Required, NAE) - Start time of the measurement in the ISO 8601 format YYYY-MM-DDThh:mm:ss.sss.",
"pattern": "^(\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z?)$"
},
"endTime": {
"type": "string",
"description": "(Required, AE) - End time of the measurement in the ISO 8601 format YYYY-MM-DDThh:mm:ss.sss.",
"pattern": "^(\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z?)$"
},
"program": {
"$ref": "#/$defs/program",
"description": "(Required, AE) - Details concerning the program (or software) used for aquisition."
},
"revision": {
"$ref": "#/$defs/revision",
"description": "(Optional, NAE) - Details concerning any revision to the document due to e.g. re-calibration, reprocessing, new analysis, new instrument definition format."
},
"user": {
"$ref": "#/$defs/user",
"description": "(Required, NAE)- The contact information of the user responsible for the measurement."
},
"instrument": {
"$ref": "#/$defs/instrumentDetails",
"description": "(Required, NAE)- Details concerning the instrument settings. Instrument is a physical or virtual identifiable piece of Equipment used to perform a Data Acquisition and to generate Raw Data. The Instrument is located in a Laboratory hosted by an Institution and/or can be virtually or remotely accessed. A virtual Instrument may be any computational resource or HPC infrastructure (cloud infrastructure or supercomputer) needed to perform Calculations or Simulations."
}
},
"required": [
"title",
"technique",
"definition",
"parents",
"measurementPurpose",
"startTime",
"endTime",
"program",
"user",
"instrument"
],
"$defs": {
"identifier": {
"type": "object",
"description": "(Optional, NAE) - Details of an identifier element",
"additionalProperties": false,
"properties": {
"identifierValue": {
"type": "string",
"description": "(Optional, NAE) - a string containing the value of an identifier."
},
"identifierType": {
"type": "string",
"description": "(Optional, NAE) - type of the identifier to be chosen from a controlled list of values -*ROR *GRID *ISNI *URL *DOI *Handle *Internal.",
"enum": [
"ROR",
"GRID",
"ISNI",
"URL",
"DOI",
"Handle",
"Internal"
]
}
}
},
"program": {
"type": "object",
"description": "(Optional, NAE) - Details concerning the program (or software) used for aquisition.",
"additionalProperties": false,
"properties": {
"programName": {
"type": "string",
"description": "(Optional, AE) - Name of the program (or software) used for acquisition of datatype string."
},
"programVersion": {
"type": "string",
"description": "(Optional, AE)- Program (or software) version number of datatype string."
}
}
},
"revision": {
"type": "object",
"additionalProperties": false,
"description": "(Optional, NAE) - Details concerning any revision to the xml document due to e.g. re-calibration, reprocessing, new analysis, new instrument definition format.",
"properties": {
"revisonID": {
"$ref": "#/$defs/identifier",
"description": "(Optional, NAE) - Identifier of the file."
},
"revisionComment": {
"type": "string",
"description": "(Optional, NAE)- any comments to the revision of the datatype string."
}
}
},
"user": {
"type": "object",
"additionalProperties": false,
"description": "Lists the contact information of the user responsible for the measurement.",
"properties": {
"userName": {
"type": "string",
"description": "(Required, NAE) - the full name of the user preferrably written in the order (familyName, givenName) defined to be of the datatype string."
},
"givenName": {
"type": "string",
"description": "(Optional, NAE)-Given name (first name) of the user."
},
"familyName": {
"type": "string",
"description": "(Optional, NAE) - Family name or last name of the user."
},
"role": {
"type": "string",
"description": "(Optional, NAE) - Role of the user to be selected from an enumerated list - *Data Curator *Instrument Scientist *Principal Investigator *Project Member *Research User *Site Leader *Work Package Leader.",
"enum": [
"Data Curator",
"Instrument Scientist",
"Team Leader",
"Team Member"
]
},
"affiliation": {
"$ref": "#/$defs/institutionDetails",
"description": "(Optional, NAE) - Details of the institution to which the user is affiliated."
},
"email": {
"type": "string",
"format": "email",
"description": "(Optional, NAE) - Email of the userof datatype string (only valid email-ids are acceptable)."
},
"ORCID": {
"type": "string",
"description": "(Optional, NAE) - Open Researcher and Contributor ID expressed as a URI.",
"pattern": "^https://orcid\\.org/[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[X0-9]{1}$"
}
},
"required": [
"userName"
]
},
"institutionDetails": {
"type": "object",
"additionalProperties": false,
"description": "Details of the institution to which the user is affiliated.",
"properties": {
"institutionName": {
"type": "string",
"description": "(Optional, NAE) - Full name of an institution of datatype string."
},
"institutionAcronym": {
"type": "string",
"description": "(Optional, NAE) - Acronym of the institution of datatype string. Note that authors often cite with acronyms, so this information can be important in matching a query."
},
"institutionDepartment": {
"type": "string",
"description": "(Optional, NAE)- The department within an institution of datatype string."
},
"institutionID": {
"$ref": "#/$defs/identifier",
"description": "(Optional, NAE) - Identifier pertaining to the institution."
}
}
},
"distanceDetails": {
"type": "object",
"description": "Describes a distance, size or length.",
"additionalProperties": false,
"properties": {
"value": {
"type": "number",
"description": "(Required) Distance, size or length expressed as an integer or floating point value of datatype number."
},
"unit": {
"type": "string",
"description": "(Optional) - the unit of the value to be selected from a controlled list (nm, µm, mm, cm, m, N.A.) of datatype string. If the distance or length is expressed as a relative number, the unit should be selected as 'N.A.' meaning 'not applicable' as the value is then dimensionless.",
"enum": [
"nm",
"µm",
"mm",
"cm",
"m",
"N.A."
]
},
"qualifier": {
"type": "string",
"description": "(Optional, NAE) - A qualifier to describe the value (e.g., avg, max, min) of datatype string.",
"enum": [
"max",
"min",
"average"
]
},
"uncertainty": {
"$ref": "#/$defs/uncertaintyDetails",
"description": "(Optional, NAE) - Uncertainty in the value,(choice between an absolute uncertainty or relative uncertainty)."
},
"notes": {
"type": "string",
"description": "(Optional, NAE) - Further notes about the value of datatype string."
}
},
"required": [
"value",
"unit"
]
},
"uncertaintyDetails": {
"type": "object",
"description": "Describes an uncertainty",
"additionalProperties": false,
"properties": {
"uncertaintyType": {
"type": "string",
"description": "(Required, NAE) - type of the uncertainty to be chosen between absolute or relative of datatype string.",
"enum": [
"absolute",
"relative"
]
},
"value": {
"type": "number",
"description": "(Required, NAE) - value of the uncertainty expressed as a number."
}
},
"required": [
"value",
"unit"
]
},
"eBeamSensitivityDetails": {
"type": "object",
"description": "Describes the details concerning the type of sensitivity to the electron beam.",
"additionalProperties": false,
"properties": {
"radiolysis": {
"type": "boolean",
"default": false,
"description": "(Optional, NAE) - to be set as true if the material undergoes radiolysis upon interaction with the electron beam (of the datatype boolean)."
},
"knockON": {
"type": "boolean",
"default": false,
"description": "(Optional, NAE) - to be set as true if the material undergoes knockON upon interaction with the electron beam (of the datatype boolean)."
},
"optimizedIncidentEnergy": {
"$ref": "#/$defs/energyDetails",
"description": "(Optional, NAE) - The optimized incident energy of electrons selected to reduce effect of the e-beam on the sample usually expressed in keV."
},
"comment": {
"type": "string",
"description": "(Optional, NAE) - To include any relevant details about the e-beam contamination of the sample of the datatype string."
},
"beamContaminated": {
"type": "boolean",
"default": false,
"description": "(Optional, NAE) - to be set as true is the sample is already contaminated by the e-beam of the datatype boolean."
}
}
},
"iBeamSensitivityDetails": {
"type": "object",
"description": "Describes the details concerning the type of sensitivity to the ion beam.",
"properties": {
"GaSensitive": {
"type": "boolean",
"default": false,
"description": "(Optional, NAE) - to be set as true if the material is sensitive to Ga ions (of the datatype boolean)."
},
"HeSensitive": {
"type": "boolean",
"default": false,
"description": "(Optional, NAE) - to be set as true if the material is sensitive to He ions (of the datatype boolean)."
},
"other": {
"type": "string",
"description": "(Optional, NAE) - option to include any other type of ions other than Ga or He (of the datatype string)."
}
}
},
"plasmaCleaningDetails": {
"type": "object",
"description": "(Optional, NAE) - Details of the plasma cleaning procedure if performed.",
"properties": {
"gasComposition": {
"type": "string",
"description": "(Optional, NAE) - Description of the composition of gases used for plasma cleaning (of the datatype string)."
},
"power": {
"$ref": "#/$defs/powerDetails",
"description": "(Optional, NAE) - power used for plasma cleaning."
},
"percentPower": {
"type": "number",
"description": "(Optional, NAE) - percentage (out of 100) of the total power of the plasma cleaning device used (of the datatype number)."
},
"duration": {
"$ref": "#/$defs/timeDetails",
"description": "(Optional, NAE) - Duration of time (in seconds) for which plasma cleaning is performed."
},
"noOfCycles": {
"type": "number",
"description": "(Optional, NAE) - Number of cycles of plasma cleaning performed, of datatype integer."
}
}
},
"powerDetails": {
"type": "object",
"description": "Describes a power.",
"additionalProperties": false,
"properties": {
"value": {
"type": "number",
"description": "(Required, NAE) - The power expressed as an integer or floating point value of datatype number."
},
"unit": {
"type": "string",
"description": "(Required, NAE) - the unit of the value to be selected from a controlled list (mW, W, kW, typical unit - W) of datatype string.",
"enum": [
"nW",
"µW",
"mW",
"W",
"kW",
"GW"
]
},
"qualifier": {
"type": "string",
"description": "(Optional, NAE) - A qualifier to describe the value (e.g., avg, max, min) of datatype string.",
"enum": [
"max",
"min",
"average"
]
},
"uncertainty": {
"$ref": "#/$defs/uncertaintyDetails",
"description": "(Optional, NAE) - Uncertainty in the value, (choice between absolute uncertainty or relative uncertainty)."
},
"notes": {
"type": "string",
"description": "(Optional, NAE) - Further notes about the value of datatype string."
}
},
"required": [
"value",
"unit"
]
},
"instrumentDetails": {
"type": "object",
"additionalProperties": false,
"description": "Details giving the relevant instrument settings and the collection of the components of the instrument.",
"properties": {
"instrumentName": {
"type": "string",
"description": "(Required, AE) - Name of the instrument of datatype string."
},
"instrumentID": {
"$ref": "#/$defs/identifier",
"description": "(Optional, NAE) - Identifier for the instrument."
},
"instrumentManufacturer": {
"$ref": "#/$defs/manufacturerDetails",
"description": "(Optional, AE) - details like manufacturer name, model name and manufacturer ID, grouped together."
},
"additionalAttachments": {
"type": "string",
"description": "(Optional, NAE) - Additional attachments or features included which is relevant for the measurement, if any."
},
"setMagnification": {
"type": "number",
"description": "(Required, AE) - The magnification set for the diffraction pattern or image (of the datatype number)."
},
"actualMagnification": {
"type": "number",
"description": "(Optional, AE) - The actual magnification observed which might differ from the set magnification (of the datatype number)."
},
"driftCorrectionApplied": {
"type": "boolean",
"default": false,
"description": "(Optional, AE) - To bet set as true if drift correction is applied to compensate for xy drift (of the datatype boolean)."
},
"setCameraLength": {
"$ref": "#/$defs/distanceDetails",
"description": "(Required, AE) - the effective distance or magnification between the specimen and the detector plane."
},
"actualCameraLength": {
"$ref": "#/$defs/distanceDetails",
"description": "(Optional, AE) - The actual camera length as opposed to the set camera length."
},
"operationMode": {
"type": "string",
"enum": [
"TEM",
"STEM",
"4D-STEM"
],
"description": "(Required, AE) - to select the operation mode between TEM, STEM or 4D-STEM (of the datatype string)."
},
"4DSTEMType": {
"type": "string",
"enum": [
"Centre of Mass",
"Strain Mapping",
"Ptychography",
"Automated Crystal Orientation",
"Paired Distribution Function",
"Virtual Detector"
],
"description": "(Optional/Required, NAE) - to select the type of 4D-STEM measurement from a controlled list (of the datatype string). If the operationMode is selected as '4D-STEM', this property is required."
},
"objectiveLensMode": {
"type": "string",
"enum": [
"HM",
"LM",
"SA",
"Lorentz",
"normal"
],
"description": "(Optional, NAE) - to select the objective lens mode used from a controlled list (of the datatype string)."
},
"illuminationMode": {
"type": "string",
"enum": [
"probe",
"parallel"
],
"description": "(Optional, NAE) - to select the illumination mode used from a controlled list (of the datatype string)."
},
"probeMode": {
"type": "string",
"enum": [
"micro probe mode",
"nano probe mode"
],
"description": "(Optional, AE) - to select the type of probe mode used (nano probe mode or micro probe mode; of the datatype string)."
},
"imageMode": {
"type": "string",
"enum": [
"TEM",
"STEM",
"SAD",
"EDS",
"NBD",
"CBED"
],
"description": "(Required, NAE) - to select the image mode out of a controlled list of strings consisiting of * TEM * STEM * Selected Area Diffraction (SAD) * Energy-Dispersive X-Ray Spectroscopy (EDXS) * Scanning Transmission Electron Microscopy (STEM) * Nano-Beam Diffraction (NBD) * Convergent Beam Electron Diffraction (CBED)."
},
"fieldMode": {
"type": "string",
"enum": [
"dark field",
"bright field"
],
"description": "(Optional, AE) - to select between dark field and bright field modes (of the datatype string)."
},
"spotSize": {
"$ref": "#/$defs/distanceDetails",
"description": "(Required, NAE) - Spotsize (diameter) of the beam or a parameter (integer) indicating the spread of the beam entering the aperture such that a lower number means more electrons are hitting the sample (alternatively it is the size of the first spot formed by the beam after being emitted from the gun); it is the size of the first spot formed by the beam after being emitted from the gun."
},
"defocus": {
"$ref": "#/$defs/distanceDetails",
"description": "(Required, AE) - Value indicating how far the sample is away from the focus of the electron beam."
},
"probeSize": {
"$ref": "#/$defs/distanceDetails",
"description": "(Optional, NAE) - Size of the beam at the sample. Typical unit - nm."
},
"chamberPressure": {
"$ref": "#/$defs/pressureDetails",
"description": "(Required, AE) - Pressure maintained inside the chamber (in which the sample is housed) during the measurement."
},
"stage": {
"$ref": "#/$defs/stageDetails",
"description": "(Required, AE) - Details pertaining to the stage."
},
"source": {
"$ref": "#/$defs/sourceDetails",
"description": "(Required, NAE) - Details pertaining to the source of the electron beam."
},
"aperture": {
"$ref": "#/$defs/apertureDetails",
"description": "(Optional, AE) - Details pertaining to the apertures used."
},
"lens": {
"$ref": "#/$defs/lensDetails",
"description": "(Required, AE) - Details pertaining to the lenses used."
},
"scan": {
"$ref": "#/$defs/scanDetails",
"description": "(Required, AE) - Details pertaining to the scanning."
},
"ASTAR": {
"$ref": "#/$defs/ASTARdetails",
"description": "(Optional, AE) - Details about an ASTAR attachment used with the microscope for orientation-phase imaging."
},
"EFTEM": {
"$ref": "#/$defs/EFTEMdetails",
"description": "(Optional, AE) - Details about Energy Filtered TEM (EFTEM) Mode."
},
"monochromator": {
"$ref": "#/$defs/monochromatorDetails",
"description": "(Optional, AE) - Details pertaining to the monochromator."
},
"detector": {
"$ref": "#/$defs/detectorDetails",
"description": "(Required, NAE) - Details pertaining to the detector used."
}
},
"required": [
"instrumentName",
"setMagnification",
"setCameraLength",
"operationMode",
"imageMode",
"spotSize",
"defocus",
"source",
"stage",
"aperture",
"lens",
"detector"
],
"if": {
"properties": {
"operationMode": {
"const": "4D-STEM"
}
}
},
"then": {
"required": [
"4DSTEMType"
]
}
},
"manufacturerDetails": {
"type": "object",
"description": "Details like the name of the manufacturer and model of the instrument and an identifier.",
"additionalProperties": false,
"properties": {
"manufacturerName": {
"type": "string",
"description": "(Optional, AE) - Name of the manufacturer of datatype string."
},
"modelName": {
"type": "string",
"description": "(Optional, AE) - Model of the instrument of datatype string."
},
"manufacturerID": {
"$ref": "#/$defs/identifier",
"description": "(Optional, NAE) - Identifier for the manufacturer."
}
}
},
"precessionDetails": {
"type": "object",
"description": "(Optional, AE) - Details about the precession.",
"additionalProperties": false,
"properties": {
"precessionAngle": {
"$ref": "#/$defs/angleDetails",
"description": "(Optional, AE) - Angle of the precession."
},
"precessionFrequency": {
"$ref": "#/$defs/frequencyDetails",
"description": "(Optional, AE) - Frequency of the precession."
},
"beamScanAlignment": {
"type": "string",
"description": "(Optional, AE) - Description of how the beam scan is aligned, of datatype string."
},
"precessionAlignment": {
"type": "string",
"description": "(Optional, AE) - Description of how precession is aligned, of datatype string."
},
"precessionOn": {
"type": "boolean",
"description": "(Optional, AE) - To be set to True if precession is turned on."
},
"descanOn": {
"type": "boolean",
"description": "(Optional, AE) - To be set to True if descan is turned on."
},
"precessionsPerFrame": {
"type": "number",
"description": "(Optional, AE) - Number of precessions per frame, of datatype number."
},
"interactionMode": {
"type": "string",
"description": "(Optional, AE) - Manual or Auto interaction mode.",
"enum": [
"Auto",
"Manual"
]
},
"Optimization": {
"type": "object",
"description": "(Optional, AE) - Description of the optimization done in terms of x and y compensation points.",
"additionalProperties": false,
"properties": {
"xCompensationPoints": {
"type": "number",
"description": "(Optional, AE) - Number of compensation points in x dimension."
},
"yCompensationPoints": {
"type": "number",
"description": "(Optional, AE) - Number of compensation points in y dimension."
}
}
},
"diffraction": {
"type": "object",
"description": "(Optional, AE) - Settings of the diffraction.",
"additionalProperties": false,
"properties": {
"frameSize": {
"type": "number",
"description": "(Optional, AE) - Size of the frame eg:- 512, 256, 128.",
"default": 512,
"enum": [
1024,
512,
256,
128
]
},
"frameTime": {
"$ref": "#/$defs/timeDetails",
"description": "(Optional, AE) - Time per frame, typical unit - s."
},
"cameraLength": {
"$ref": "#/$defs/distanceDetails",
"description": "(Optional, AE) - Distance which is present between the specimen surface and the detector plane."
}
}
},
"thresholdOverlayEnabled": {
"type": "boolean",
"description": "(Optional, AE) - To be set to true if threshold overlay is enabled."
},
"scanning": {
"type": "object",
"description": "(Optional, AE) - Description of scanning with respect to precession.",
"additionalProperties": false,
"properties": {
"frameSize": {
"type": "number",
"description": "(Optional, AE) - Size of the frame eg:- 512, 256, 128.",
"default": 512,
"enum": [
1024,
512,
256,
128
]
},
"rotation": {
"description": "(Optional -AE) - Angle of rotation.",
"$ref": "#/$defs/angleDetails"
},
"virtualSTEMSignal": {
"type": "string",
"description": "(Optional -AE) - Is the virtual STEM signal inside or outside?",
"enum": [
"inside",
"outside"
]
}
}
},
"focus": {
"type": "object",
"description": "(Optional, AE) - Description of focus with respect to precession.",
"additionalProperties": false,
"properties": {
"frameSize": {
"type": "number",
"description": "(Optional, AE) - Size of the frame eg:- 512, 256, 128.",
"default": 512,
"enum": [
1024,
512,
256,
128
]
},
"frameTime": {
"$ref": "#/$defs/timeDetails",
"description": "(Optional, AE) - Time per frame, typical unit - s."
}
}
},
"capture": {
"type": "object",
"description": "(Optional, AE) - Description of capture with respect to precession.",
"additionalProperties": false,
"properties": {
"frameSize": {
"type": "number",
"description": "(Optional, AE) - Size of the frame eg:- 512, 256, 128.",
"default": 512,
"enum": [
1024,
512,
256,
128
]
},
"frameTime": {
"$ref": "#/$defs/timeDetails",
"description": "(Optional, AE) - Time per frame, typical unit - s."
}
}
},
"scanRange": {
"type": "object",
"description": "(Optional - AE) - Details regarding STEM with respect to precession.",
"additionalProperties": false,
"properties": {
"alignmentPlatform": {
"type": "boolean",
"description": "(Optional - AE) - To be set to true if alignment platform is used."
},
"STEMMagnification": {
"type": "number",
"description": "(Optional -AE) - Set Magnification of the STEM."
},
"scanrotation": {
"$ref": "#/$defs/angleDetails",
"description": "(Optional - AE) - Angle of scan rotation, typical unit - degree."
}
}
}
}
},
"frequencyDetails": {
"type": "object",
"description": "Describes a frequency.",
"additionalProperties": false,
"properties": {
"value": {
"type": "number",
"description": "(Required, AE) - The frequency expressed as an integer or floating point value of datatype number."
},
"unit": {
"type": "string",
"enum": [
"Hz",
"kHz",
"MHz"
],
"description": "(Required, AE) - The unit of the value to be selected from a controlled list (Hz, kHz, default value - Hz) of datatype string."
},
"qualifier": {
"type": "string",
"enum": [
"max",
"min",
"average"
],
"description": "(Optional, NAE) - A qualifier to describe the value (e.g., avg, max, min), default value - max) of datatype string."
},
"uncertainty": {
"$ref": "#/$defs/uncertaintyDetails",
"description": "(Optional, NAE) - Uncertainty in the value, which gives the option of choosing between an absolute uncertainty or relative uncertainty and entering the value of uncertainty as a number."
},
"notes": {
"type": "string",
"description": "(Optional, NAE) - Further notes about the value of datatype string."
}
},
"required": [
"unit",
"value"
]
},
"pressureDetails": {
"type": "object",
"description": "Describes a pressure measurement.",
"additionalProperties": false,
"properties": {
"value": {
"type": "number",
"description": "(Required, AE) - The pressure expressed as an integer or floating point value of datatype number."
},
"unit": {
"type": "string",
"enum": [
"Pa",
"hPa",
"kPa",
"MPa",
"GPa",
"mbar",
"bar",
"psi"
],
"description": "(Required, AE) - The unit of the value to be selected from a controlled list (Pa, hPa, kPa, MPa, GPa, mbar, bar, psi, default value - Pa) of datatype string."
},
"qualifier": {
"type": "string",
"enum": [
"max",
"min",
"average"
],
"description": "(Optional, NAE) - A qualifier to describe the value (e.g., avg, max, min)."
},
"uncertainty": {
"$ref": "#/$defs/uncertaintyDetails",
"description": "(Optional, NAE) - Uncertainty in the value, which gives the option of choosing between an absolute uncertainty or relative uncertainty."
},
"notes": {
"type": "string",
"description": "(Optional, NAE) - Further notes about the value of datatype string."
}
},
"required": [
"unit",
"value"
]
},
"EFTEMdetails": {
"type": "object",
"description": "(Optional, AE) - Details about energy filtered transmission electron microscopy (EFTEM).",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean",
"description": "(Optional, AE) - To be set to true if EFTEM mode is enabled."
},
"zeroEnergyLoss": {
"type": "boolean",
"description": "(Optional, AE) - To be set to true if energy loss is set at zero."
},
"setEnergyLoss": {
"$ref": "#/$defs/energyDetails",
"description": "(Optional, AE) - The value of the specific non-zero energy loss selected for the filter."
},
"inColumnFilter": {
"type": "object",
"description": "(Optional, AE) - Description about the in-column filter used between the intermediate and projector lenses.",
"additionalProperties": false,
"properties": {
"inColumnFilterType": {
"description": "(Optional, AE) - Type of the in-column filter used. E.g. JEOL omega filter",
"type": "string"
},
"slitOffset": {
"description": "(Optional, AE) - Offset used to adjust the slit position when an omega filter allows only positive energy shifts.",
"$ref": "#/$defs/energyDetails"
},
"slitWidth": {
"description": "(Optional, AE) - Slit width in electron volts (It also represents a physical slit opening in µm).",
"$ref": "#/$defs/energyDetails"
}
}
},
"postColumnFilter": {
"type": "object",
"description": "(Optional, NAE) - Details about a post column filter like the gatan image filter (GIF) used with EFTEM.",
"additionalProperties": false,
"properties": {
"energyOffset": {
"description": "(Optional, NAE) - The centroid or the middle of the energy range used for forming the EFTEM. This offset is normally expressed in eV.",
"$ref": "#/$defs/energyDetails"
},
"slitWidth": {
"description": "(Optional, NAE) - The width of the slit used in EFTEM normally expressed in eV.",
"$ref": "#/$defs/energyDetails"
},
"matchPixelSizeON": {
"type": "boolean",
"description": "(Optional, NAE) - To be set to true if the function to adjust the magnification to minimize the change in pixel size when switching between EFTEM and regular magnification is enabled."
},
"matchIntensityON": {
"type": "boolean",
"description": "(Optional, NAE) - To be set to true if the program changes the beam intensity when switching between regular and EFTEM magnifications, so as to maintain a constant electron flux per camera pixel."
}
}
}
}
},
"monochromatorDetails": {
"type": "object",
"description": "(Optional, AE) - Details about the monochromator if it is used in the measurement.",
"additionalProperties": false,
"properties": {
"monochromatorActive": {
"type": "boolean",
"default": false,
"description": "(Required, AE) - To be set as true if the monochromator is active in the measurement (of the datatype boolean)"
},
"monoShiftX": {
"$ref": "#/$defs/voltageDetails",
"description": "(Required, AE) - Voltage shift applied in the X dimension."
},