mat3ra-esse 2025.5.13.post0__py3-none-any.whl → 2025.5.16.post1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mat3ra-esse might be problematic. Click here for more details.

Files changed (74) hide show
  1. mat3ra/esse/data/examples.py +1 -1
  2. mat3ra/esse/data/schemas.py +1 -1
  3. mat3ra/esse/models/apse/file/applications/espresso/7.2/pw_x.py +8 -8
  4. mat3ra/esse/models/apse/materials/builders/slab/pymatgen/__init__.py +3 -0
  5. mat3ra/esse/models/apse/materials/builders/slab/pymatgen/parameters.py +28 -0
  6. mat3ra/esse/models/core/reusable/energy.py +2 -2
  7. mat3ra/esse/models/element.py +128 -10
  8. mat3ra/esse/models/enums/__init__.py +3 -0
  9. mat3ra/esse/models/enums/chemical_elements.py +13 -0
  10. mat3ra/esse/models/material/__init__.py +140 -14
  11. mat3ra/esse/models/material/builders/base/__init__.py +3 -0
  12. mat3ra/esse/models/material/builders/base/selector_parameters.py +16 -0
  13. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/__init__.py +3 -0
  14. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/builder_parameters.py +28 -0
  15. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/selector_parameters.py +151 -0
  16. mat3ra/esse/models/material/reusable/slab/enums/__init__.py +3 -0
  17. mat3ra/esse/models/material/reusable/slab/enums/exposed_face.py +13 -0
  18. mat3ra/esse/models/material/reusable/slab/number_of_layers.py +1 -1
  19. mat3ra/esse/models/material/reusable/slab/termination.py +129 -3
  20. mat3ra/esse/models/material/reusable/slab/vacuum.py +2 -2
  21. mat3ra/esse/models/materials_category/defects/__init__.py +3 -0
  22. mat3ra/esse/models/materials_category/defects/configuration.py +538 -0
  23. mat3ra/esse/models/materials_category/defects/enums/__init__.py +3 -0
  24. mat3ra/esse/models/materials_category/defects/enums/atom_placement_method.py +22 -0
  25. mat3ra/esse/models/materials_category/defects/enums/complex_defect_type.py +18 -0
  26. mat3ra/esse/models/materials_category/defects/enums/coordinates_shape.py +21 -0
  27. mat3ra/esse/models/materials_category/defects/enums/point_defect_type.py +13 -0
  28. mat3ra/esse/models/materials_category/defects/enums/slab_defect_type.py +19 -0
  29. mat3ra/esse/models/materials_category/defects/enums.py +13 -0
  30. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/__init__.py +3 -0
  31. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/configuration.py +425 -0
  32. mat3ra/esse/models/materials_category/defects/slab/__init__.py +3 -0
  33. mat3ra/esse/models/materials_category/defects/slab/configuration.py +412 -0
  34. mat3ra/esse/models/materials_category/defects/two_dimensional/island/__init__.py +3 -0
  35. mat3ra/esse/models/materials_category/defects/two_dimensional/island/configuration.py +449 -0
  36. mat3ra/esse/models/materials_category/defects/two_dimensional/slab_grain_boundary/__init__.py +3 -0
  37. mat3ra/esse/models/materials_category/defects/two_dimensional/slab_grain_boundary/configuration.py +1105 -0
  38. mat3ra/esse/models/materials_category/defects/zero_dimensional/adatom/__init__.py +3 -0
  39. mat3ra/esse/models/materials_category/defects/zero_dimensional/adatom/base_configuration.py +418 -0
  40. mat3ra/esse/models/materials_category/defects/zero_dimensional/adatom/configuration.py +418 -0
  41. mat3ra/esse/models/materials_category/defects/zero_dimensional/defect_pair/__init__.py +3 -0
  42. mat3ra/esse/models/materials_category/defects/zero_dimensional/defect_pair/configuration.py +1026 -0
  43. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/__init__.py +3 -0
  44. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/base_configuration.py +30 -0
  45. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/configuration.py +672 -0
  46. mat3ra/esse/models/materials_category/defects/zero_dimensional/slab/__init__.py +3 -0
  47. mat3ra/esse/models/materials_category/defects/zero_dimensional/slab/configuration.py +434 -0
  48. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/configuration.py +142 -16
  49. mat3ra/esse/models/properties_directory/derived_properties.py +11 -11
  50. mat3ra/esse/models/properties_directory/non_scalar/density_of_states.py +2 -2
  51. mat3ra/esse/models/properties_directory/non_scalar/phonon_dispersions.py +2 -2
  52. mat3ra/esse/models/properties_directory/non_scalar/phonon_dos.py +2 -2
  53. mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +50 -50
  54. mat3ra/esse/models/properties_directory/non_scalar/vibrational_spectrum.py +2 -2
  55. mat3ra/esse/models/properties_directory/scalar/electron_affinity.py +2 -2
  56. mat3ra/esse/models/properties_directory/scalar/fermi_energy.py +2 -2
  57. mat3ra/esse/models/properties_directory/scalar/formation_energy.py +2 -2
  58. mat3ra/esse/models/properties_directory/scalar/ionization_potential.py +2 -2
  59. mat3ra/esse/models/properties_directory/scalar/reaction_energy_barrier.py +2 -2
  60. mat3ra/esse/models/properties_directory/scalar/surface_energy.py +2 -2
  61. mat3ra/esse/models/properties_directory/scalar/total_energy.py +2 -2
  62. mat3ra/esse/models/properties_directory/scalar/valence_band_offset.py +2 -2
  63. mat3ra/esse/models/properties_directory/scalar/zero_point_energy.py +2 -2
  64. mat3ra/esse/models/properties_directory/structural/basis/__init__.py +128 -2
  65. mat3ra/esse/models/properties_directory/structural/basis/atomic_element.py +131 -2
  66. mat3ra/esse/models/properties_directory/structural/basis/atomic_elements.py +130 -3
  67. mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
  68. mat3ra/esse/models/properties_directory/workflow/convergence/ionic.py +2 -2
  69. {mat3ra_esse-2025.5.13.post0.dist-info → mat3ra_esse-2025.5.16.post1.dist-info}/METADATA +1 -1
  70. {mat3ra_esse-2025.5.13.post0.dist-info → mat3ra_esse-2025.5.16.post1.dist-info}/RECORD +73 -36
  71. {mat3ra_esse-2025.5.13.post0.dist-info → mat3ra_esse-2025.5.16.post1.dist-info}/WHEEL +1 -1
  72. mat3ra/esse/models/material/reusable/slab/thickness.py +0 -16
  73. {mat3ra_esse-2025.5.13.post0.dist-info → mat3ra_esse-2025.5.16.post1.dist-info}/licenses/LICENSE.md +0 -0
  74. {mat3ra_esse-2025.5.13.post0.dist-info → mat3ra_esse-2025.5.16.post1.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,434 @@
1
+ # generated by datamodel-codegen:
2
+ # filename: materials_category/defects/zero_dimensional/slab/configuration.json
3
+ # version: 0.28.5
4
+
5
+ from __future__ import annotations
6
+
7
+ from enum import Enum
8
+ from typing import Any, Dict, List, Literal, Optional, Union
9
+
10
+ from pydantic import BaseModel, Field, RootModel, confloat, conint
11
+
12
+
13
+ class AtomicElementSchema(BaseModel):
14
+ value: str
15
+ """
16
+ value of this entry
17
+ """
18
+ id: int
19
+ """
20
+ integer id of this entry
21
+ """
22
+
23
+
24
+ class AtomicCoordinateSchema(BaseModel):
25
+ value: List[float] = Field(..., max_length=3, min_length=3, title="coordinate 3d schema")
26
+ """
27
+ value of this entry
28
+ """
29
+ id: int
30
+ """
31
+ integer id of this entry
32
+ """
33
+
34
+
35
+ class BasisUnitsEnum(Enum):
36
+ crystal = "crystal"
37
+ cartesian = "cartesian"
38
+
39
+
40
+ class AtomicLabelSchema(BaseModel):
41
+ value: Union[Union[int, str, float], conint(ge=1, le=9)]
42
+ """
43
+ value of this entry
44
+ """
45
+ id: int
46
+ """
47
+ integer id of this entry
48
+ """
49
+
50
+
51
+ class BasisSchema(BaseModel):
52
+ elements: List[AtomicElementSchema] = Field(..., title="atomic elements schema")
53
+ """
54
+ atomic elements schema
55
+ """
56
+ coordinates: List[AtomicCoordinateSchema] = Field(..., title="atomic coordinates schema")
57
+ """
58
+ atomic coordinates schema
59
+ """
60
+ units: Optional[BasisUnitsEnum] = Field("crystal", title="basis units enum")
61
+ labels: Optional[List[AtomicLabelSchema]] = Field(None, title="atomic labels schema")
62
+ """
63
+ atomic labels schema
64
+ """
65
+
66
+
67
+ class LatticeVectorsUnitsEnum(Enum):
68
+ angstrom = "angstrom"
69
+ bohr = "bohr"
70
+
71
+
72
+ class LatticeVectorsSchema(BaseModel):
73
+ a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
74
+ b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
75
+ c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
76
+ alat: Optional[float] = 1
77
+ """
78
+ lattice parameter for fractional coordinates
79
+ """
80
+ units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
81
+
82
+
83
+ class LatticeTypeEnum(Enum):
84
+ CUB = "CUB"
85
+ BCC = "BCC"
86
+ FCC = "FCC"
87
+ TET = "TET"
88
+ MCL = "MCL"
89
+ ORC = "ORC"
90
+ ORCC = "ORCC"
91
+ ORCF = "ORCF"
92
+ ORCI = "ORCI"
93
+ HEX = "HEX"
94
+ BCT = "BCT"
95
+ TRI = "TRI"
96
+ MCLC = "MCLC"
97
+ RHL = "RHL"
98
+
99
+
100
+ class LatticeUnitsLengthEnum(Enum):
101
+ angstrom = "angstrom"
102
+ bohr = "bohr"
103
+
104
+
105
+ class LatticeUnitsAngleEnum(Enum):
106
+ degree = "degree"
107
+ radian = "radian"
108
+
109
+
110
+ class LatticeUnitsSchema(BaseModel):
111
+ length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
112
+ angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
113
+
114
+
115
+ class LatticeSchema(BaseModel):
116
+ a: float
117
+ """
118
+ length of the first lattice vector
119
+ """
120
+ b: float
121
+ """
122
+ length of the second lattice vector
123
+ """
124
+ c: float
125
+ """
126
+ length of the third lattice vector
127
+ """
128
+ alpha: float
129
+ """
130
+ angle between first and second lattice vector
131
+ """
132
+ beta: float
133
+ """
134
+ angle between second and third lattice vector
135
+ """
136
+ gamma: float
137
+ """
138
+ angle between first and third lattice vector
139
+ """
140
+ vectors: Optional[LatticeVectorsSchema] = Field(None, title="lattice vectors schema")
141
+ type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
142
+ units: Optional[LatticeUnitsSchema] = Field(
143
+ default_factory=lambda: LatticeUnitsSchema.model_validate({"length": "angstrom", "angle": "degree"}),
144
+ title="Lattice units schema",
145
+ )
146
+
147
+
148
+ class Name(Enum):
149
+ volume = "volume"
150
+
151
+
152
+ class Units(Enum):
153
+ angstrom_3 = "angstrom^3"
154
+
155
+
156
+ class VolumeSchema(BaseModel):
157
+ name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
158
+ units: Optional[Units] = None
159
+ value: float
160
+
161
+
162
+ class Name48(Enum):
163
+ density = "density"
164
+
165
+
166
+ class Units25(Enum):
167
+ g_cm_3 = "g/cm^3"
168
+
169
+
170
+ class DensitySchema(BaseModel):
171
+ name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
172
+ units: Optional[Units25] = None
173
+ value: float
174
+
175
+
176
+ class Units26(Enum):
177
+ angstrom = "angstrom"
178
+
179
+
180
+ class ScalarSchema(BaseModel):
181
+ units: Optional[Units26] = None
182
+ value: float
183
+
184
+
185
+ class Name49(Enum):
186
+ symmetry = "symmetry"
187
+
188
+
189
+ class SymmetrySchema(BaseModel):
190
+ pointGroupSymbol: Optional[str] = None
191
+ """
192
+ point group symbol in Schoenflies notation
193
+ """
194
+ spaceGroupSymbol: Optional[str] = None
195
+ """
196
+ space group symbol in Hermann–Mauguin notation
197
+ """
198
+ tolerance: Optional[ScalarSchema] = Field(None, title="scalar schema")
199
+ """
200
+ tolerance used for symmetry calculation
201
+ """
202
+ name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
203
+
204
+
205
+ class Name50(Enum):
206
+ elemental_ratio = "elemental_ratio"
207
+
208
+
209
+ class ElementalRatio(BaseModel):
210
+ name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
211
+ value: confloat(ge=0.0, le=1.0)
212
+ element: Optional[str] = None
213
+ """
214
+ the element this ratio is for
215
+ """
216
+
217
+
218
+ class Name51(Enum):
219
+ p_norm = "p-norm"
220
+
221
+
222
+ class PNorm(BaseModel):
223
+ name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
224
+ degree: Optional[int] = None
225
+ """
226
+ degree of the dimensionality of the norm
227
+ """
228
+ value: float
229
+
230
+
231
+ class Name52(Enum):
232
+ inchi = "inchi"
233
+
234
+
235
+ class InChIRepresentationSchema(BaseModel):
236
+ name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
237
+ value: str
238
+
239
+
240
+ class Name53(Enum):
241
+ inchi_key = "inchi_key"
242
+
243
+
244
+ class InChIKeyRepresentationSchema(BaseModel):
245
+ name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
246
+ value: str
247
+
248
+
249
+ class DerivedPropertiesSchema(
250
+ RootModel[
251
+ Union[
252
+ VolumeSchema,
253
+ DensitySchema,
254
+ SymmetrySchema,
255
+ ElementalRatio,
256
+ PNorm,
257
+ InChIRepresentationSchema,
258
+ InChIKeyRepresentationSchema,
259
+ ]
260
+ ]
261
+ ):
262
+ root: Union[
263
+ VolumeSchema,
264
+ DensitySchema,
265
+ SymmetrySchema,
266
+ ElementalRatio,
267
+ PNorm,
268
+ InChIRepresentationSchema,
269
+ InChIKeyRepresentationSchema,
270
+ ] = Field(..., discriminator="name")
271
+
272
+
273
+ class DatabaseSourceSchema(BaseModel):
274
+ id: Union[str, float]
275
+ """
276
+ ID string for the materials uploaded from a third party source inside the third party source. For materialsproject.org an example ID is mp-32
277
+ """
278
+ source: str
279
+ """
280
+ Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.
281
+ """
282
+ origin: bool
283
+ """
284
+ Deprecated. To be removed. A flag that is true when material is initially imported from a third party * (as opposed to being independently designed from scratch).
285
+ """
286
+ data: Optional[Dict[str, Any]] = None
287
+ """
288
+ Original response from external source.
289
+ """
290
+ doi: Optional[str] = None
291
+ """
292
+ Digital Object Identifier, e.g. 10.1088/0953-8984/25/10/105506
293
+ """
294
+ url: Optional[str] = None
295
+ """
296
+ The URL of the original record, e.g. https://next-gen.materialsproject.org/materials/mp-48; ToDo: update to use URI type per https://json-schema.org/understanding-json-schema/reference/string#resource-identifiers
297
+ """
298
+
299
+
300
+ class FileSourceSchema(BaseModel):
301
+ extension: Optional[str] = None
302
+ """
303
+ file extension
304
+ """
305
+ filename: str
306
+ """
307
+ file name without extension
308
+ """
309
+ text: str
310
+ """
311
+ file content as raw text
312
+ """
313
+ hash: str
314
+ """
315
+ MD5 hash based on file content
316
+ """
317
+
318
+
319
+ class Name54(Enum):
320
+ default = "default"
321
+ atomsTooClose = "atomsTooClose"
322
+ atomsOverlap = "atomsOverlap"
323
+
324
+
325
+ class Severity(Enum):
326
+ info = "info"
327
+ warning = "warning"
328
+ error = "error"
329
+
330
+
331
+ class MaterialConsistencyCheckSchema(BaseModel):
332
+ name: Name54
333
+ """
334
+ Name of the consistency check that is performed, which is listed in an enum.
335
+ """
336
+ key: str
337
+ """
338
+ Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
339
+ """
340
+ severity: Severity
341
+ """
342
+ Severity level of the problem, which is used in UI to differentiate.
343
+ """
344
+ message: str
345
+ """
346
+ Message generated by the consistency check describing the problem.
347
+ """
348
+
349
+
350
+ class MaterialSchema(BaseModel):
351
+ formula: Optional[str] = None
352
+ """
353
+ reduced chemical formula
354
+ """
355
+ unitCellFormula: Optional[str] = None
356
+ """
357
+ chemical formula based on the number of atoms of each element in the supercell
358
+ """
359
+ basis: BasisSchema = Field(..., title="basis schema")
360
+ lattice: LatticeSchema = Field(..., title="lattice schema")
361
+ derivedProperties: Optional[List[DerivedPropertiesSchema]] = Field(None, title="derived properties schema")
362
+ external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
363
+ """
364
+ information about a database source
365
+ """
366
+ src: Optional[FileSourceSchema] = Field(None, title="file source schema")
367
+ """
368
+ file source with the information inside
369
+ """
370
+ scaledHash: Optional[str] = None
371
+ """
372
+ Hash string for a scaled structure with lattice vector a set to 1 (eg. for materials under pressure).
373
+ """
374
+ icsdId: Optional[int] = None
375
+ """
376
+ Corresponding ICSD id of the material
377
+ """
378
+ isNonPeriodic: Optional[bool] = None
379
+ """
380
+ Whether to work in the finite molecular picture (usually with atomic orbital basis)
381
+ """
382
+ consistencyChecks: Optional[List[MaterialConsistencyCheckSchema]] = None
383
+ field_id: Optional[str] = Field(None, alias="_id")
384
+ """
385
+ entity identity
386
+ """
387
+ slug: Optional[str] = None
388
+ """
389
+ entity slug
390
+ """
391
+ systemName: Optional[str] = None
392
+ schemaVersion: Optional[str] = "2022.8.16"
393
+ """
394
+ entity's schema version. Used to distinct between different schemas.
395
+ """
396
+ name: Optional[str] = None
397
+ """
398
+ entity name
399
+ """
400
+ isDefault: Optional[bool] = False
401
+ """
402
+ Identifies that entity is defaultable
403
+ """
404
+ metadata: Optional[Dict[str, Any]] = None
405
+
406
+
407
+ class DefectType(Enum):
408
+ vacancy = "vacancy"
409
+ substitution = "substitution"
410
+ interstitial = "interstitial"
411
+ adatom = "adatom"
412
+
413
+
414
+ class SlabPointDefectConfigurationSchema(BaseModel):
415
+ position_on_surface: List[float] = Field(..., max_length=2, min_length=2, title="coordinate 2d schema")
416
+ distance_z: confloat(ge=0.0)
417
+ """
418
+ Distance from the surface in Angstroms
419
+ """
420
+ number_of_added_layers: Optional[conint(ge=1)] = Field(1, title="Number of Layers Schema")
421
+ """
422
+ Number of atomic layers in a structural component
423
+ """
424
+ crystal: MaterialSchema = Field(..., title="material schema")
425
+ defect_type: DefectType
426
+ coordinate: List[float] = Field(..., max_length=3, min_length=3, title="coordinate 3d schema")
427
+ chemical_element: Optional[str] = None
428
+ """
429
+ The chemical element for substitution or interstitial defects
430
+ """
431
+ use_cartesian_coordinates: Optional[bool] = False
432
+ """
433
+ Whether coordinates are in cartesian rather than fractional coordinates
434
+ """
@@ -10,10 +10,136 @@ from typing import Any, Dict, List, Literal, Optional, Union
10
10
  from pydantic import BaseModel, Field, RootModel, confloat, conint
11
11
 
12
12
 
13
+ class Value(Enum):
14
+ H = "H"
15
+ He = "He"
16
+ Li = "Li"
17
+ Be = "Be"
18
+ B = "B"
19
+ C = "C"
20
+ N = "N"
21
+ O = "O"
22
+ F = "F"
23
+ Ne = "Ne"
24
+ Na = "Na"
25
+ Mg = "Mg"
26
+ Al = "Al"
27
+ Si = "Si"
28
+ P = "P"
29
+ S = "S"
30
+ Cl = "Cl"
31
+ Ar = "Ar"
32
+ K = "K"
33
+ Ca = "Ca"
34
+ Sc = "Sc"
35
+ Ti = "Ti"
36
+ V = "V"
37
+ Cr = "Cr"
38
+ Mn = "Mn"
39
+ Fe = "Fe"
40
+ Co = "Co"
41
+ Ni = "Ni"
42
+ Cu = "Cu"
43
+ Zn = "Zn"
44
+ Ga = "Ga"
45
+ Ge = "Ge"
46
+ As = "As"
47
+ Se = "Se"
48
+ Br = "Br"
49
+ Kr = "Kr"
50
+ Rb = "Rb"
51
+ Sr = "Sr"
52
+ Y = "Y"
53
+ Zr = "Zr"
54
+ Nb = "Nb"
55
+ Mo = "Mo"
56
+ Tc = "Tc"
57
+ Ru = "Ru"
58
+ Rh = "Rh"
59
+ Pd = "Pd"
60
+ Ag = "Ag"
61
+ Cd = "Cd"
62
+ In = "In"
63
+ Sn = "Sn"
64
+ Sb = "Sb"
65
+ Te = "Te"
66
+ I = "I"
67
+ Xe = "Xe"
68
+ Cs = "Cs"
69
+ Ba = "Ba"
70
+ La = "La"
71
+ Ce = "Ce"
72
+ Pr = "Pr"
73
+ Nd = "Nd"
74
+ Pm = "Pm"
75
+ Sm = "Sm"
76
+ Eu = "Eu"
77
+ Gd = "Gd"
78
+ Tb = "Tb"
79
+ Dy = "Dy"
80
+ Ho = "Ho"
81
+ Er = "Er"
82
+ Tm = "Tm"
83
+ Yb = "Yb"
84
+ Lu = "Lu"
85
+ Hf = "Hf"
86
+ Ta = "Ta"
87
+ W = "W"
88
+ Re = "Re"
89
+ Os = "Os"
90
+ Ir = "Ir"
91
+ Pt = "Pt"
92
+ Au = "Au"
93
+ Hg = "Hg"
94
+ Tl = "Tl"
95
+ Pb = "Pb"
96
+ Bi = "Bi"
97
+ Po = "Po"
98
+ At = "At"
99
+ Rn = "Rn"
100
+ Fr = "Fr"
101
+ Ra = "Ra"
102
+ Ac = "Ac"
103
+ Th = "Th"
104
+ Pa = "Pa"
105
+ U = "U"
106
+ Np = "Np"
107
+ Pu = "Pu"
108
+ Am = "Am"
109
+ Cm = "Cm"
110
+ Bk = "Bk"
111
+ Cf = "Cf"
112
+ Es = "Es"
113
+ Fm = "Fm"
114
+ Md = "Md"
115
+ No = "No"
116
+ Lr = "Lr"
117
+ Rf = "Rf"
118
+ Db = "Db"
119
+ Sg = "Sg"
120
+ Bh = "Bh"
121
+ Hs = "Hs"
122
+ Mt = "Mt"
123
+ Ds = "Ds"
124
+ Rg = "Rg"
125
+ Cn = "Cn"
126
+ Nh = "Nh"
127
+ Fl = "Fl"
128
+ Mc = "Mc"
129
+ Lv = "Lv"
130
+ Ts = "Ts"
131
+ Og = "Og"
132
+
133
+
134
+ class Value13(Enum):
135
+ X = "X"
136
+ Vac = "Vac"
137
+
138
+
13
139
  class AtomicElementSchema(BaseModel):
14
- value: str
140
+ value: Union[Value, Value13]
15
141
  """
16
- value of this entry
142
+ All elements, including extra elements
17
143
  """
18
144
  id: int
19
145
  """
@@ -159,30 +285,30 @@ class VolumeSchema(BaseModel):
159
285
  value: float
160
286
 
161
287
 
162
- class Name8(Enum):
288
+ class Name24(Enum):
163
289
  density = "density"
164
290
 
165
291
 
166
- class Units10(Enum):
292
+ class Units16(Enum):
167
293
  g_cm_3 = "g/cm^3"
168
294
 
169
295
 
170
296
  class DensitySchema(BaseModel):
171
297
  name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
172
- units: Optional[Units10] = None
298
+ units: Optional[Units16] = None
173
299
  value: float
174
300
 
175
301
 
176
- class Units11(Enum):
302
+ class Units17(Enum):
177
303
  angstrom = "angstrom"
178
304
 
179
305
 
180
306
  class ScalarSchema(BaseModel):
181
- units: Optional[Units11] = None
307
+ units: Optional[Units17] = None
182
308
  value: float
183
309
 
184
310
 
185
- class Name9(Enum):
311
+ class Name25(Enum):
186
312
  symmetry = "symmetry"
187
313
 
188
314
 
@@ -202,7 +328,7 @@ class SymmetrySchema(BaseModel):
202
328
  name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
203
329
 
204
330
 
205
- class Name10(Enum):
331
+ class Name26(Enum):
206
332
  elemental_ratio = "elemental_ratio"
207
333
 
208
334
 
@@ -215,7 +341,7 @@ class ElementalRatio(BaseModel):
215
341
  """
216
342
 
217
343
 
218
- class Name11(Enum):
344
+ class Name27(Enum):
219
345
  p_norm = "p-norm"
220
346
 
221
347
 
@@ -228,7 +354,7 @@ class PNorm(BaseModel):
228
354
  value: float
229
355
 
230
356
 
231
- class Name12(Enum):
357
+ class Name28(Enum):
232
358
  inchi = "inchi"
233
359
 
234
360
 
@@ -237,7 +363,7 @@ class InChIRepresentationSchema(BaseModel):
237
363
  value: str
238
364
 
239
365
 
240
- class Name13(Enum):
366
+ class Name29(Enum):
241
367
  inchi_key = "inchi_key"
242
368
 
243
369
 
@@ -316,7 +442,7 @@ class FileSourceSchema(BaseModel):
316
442
  """
317
443
 
318
444
 
319
- class Name14(Enum):
445
+ class Name30(Enum):
320
446
  default = "default"
321
447
  atomsTooClose = "atomsTooClose"
322
448
  atomsOverlap = "atomsOverlap"
@@ -329,7 +455,7 @@ class Severity(Enum):
329
455
 
330
456
 
331
457
  class MaterialConsistencyCheckSchema(BaseModel):
332
- name: Name14
458
+ name: Name30
333
459
  """
334
460
  Name of the consistency check that is performed, which is listed in an enum.
335
461
  """
@@ -414,11 +540,11 @@ class SlabConfigurationSchema(BaseModel):
414
540
  """
415
541
  Miller indices for crystallographic plane designation
416
542
  """
417
- number_of_layers: Optional[conint(ge=1)] = Field(1, title="number_of_layers Schema")
543
+ number_of_layers: Optional[conint(ge=1)] = Field(1, title="Number of Layers Schema")
418
544
  """
419
545
  Number of atomic layers in a structural component
420
546
  """
421
- vacuum: Optional[confloat(ge=0.0)] = Field(5, title="Vacuum Schema")
547
+ vacuum: Optional[confloat(ge=0.0)] = Field(5, title="Vacuum Thickness Schema")
422
548
  """
423
549
  Vacuum thickness in Angstroms
424
550
  """