mat3ra-esse 2025.6.14.post0__py3-none-any.whl → 2025.7.1.post0__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 (118) hide show
  1. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/METADATA +2 -2
  2. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/RECORD +5 -118
  3. mat3ra/esse/models/coordinates_shape_enum.py +0 -15
  4. mat3ra/esse/models/core/abstract/2d_data.py +0 -17
  5. mat3ra/esse/models/core/abstract/2d_plot.py +0 -34
  6. mat3ra/esse/models/core/abstract/3d_grid.py +0 -14
  7. mat3ra/esse/models/core/abstract/3d_tensor.py +0 -19
  8. mat3ra/esse/models/core/abstract/3d_vector_basis.py +0 -15
  9. mat3ra/esse/models/core/abstract/_3d_tensor.py +0 -19
  10. mat3ra/esse/models/core/abstract/_3d_vector_basis.py +0 -15
  11. mat3ra/esse/models/core/abstract/point.py +0 -13
  12. mat3ra/esse/models/core/abstract/vector.py +0 -13
  13. mat3ra/esse/models/core/primitive/1d_data_series.py +0 -13
  14. mat3ra/esse/models/core/primitive/3d_lattice.py +0 -34
  15. mat3ra/esse/models/core/primitive/_3d_lattice.py +0 -34
  16. mat3ra/esse/models/core/reusable/accuracy_level.py +0 -27
  17. mat3ra/esse/models/core/reusable/atomic_strings.py +0 -24
  18. mat3ra/esse/models/core/reusable/coordinate_conditions/cylinder.py +0 -26
  19. mat3ra/esse/models/core/reusable/coordinate_conditions/plane.py +0 -24
  20. mat3ra/esse/models/core/reusable/coordinate_conditions/sphere.py +0 -24
  21. mat3ra/esse/models/core/reusable/coordinate_conditions/triangular_prism.py +0 -27
  22. mat3ra/esse/models/core/reusable/energy_accuracy_levels/__init__.py +0 -3
  23. mat3ra/esse/models/core/reusable/energy_accuracy_levels.py +0 -31
  24. mat3ra/esse/models/enums/__init__.py +0 -3
  25. mat3ra/esse/models/enums/chemical_elements.py +0 -13
  26. mat3ra/esse/models/material/builders/base/__init__.py +0 -3
  27. mat3ra/esse/models/material/builders/base/selector_parameters.py +0 -16
  28. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/__init__.py +0 -3
  29. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/builder_parameters.py +0 -28
  30. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/selector_parameters.py +0 -151
  31. mat3ra/esse/models/material/reusable/__init__.py +0 -3
  32. mat3ra/esse/models/material/reusable/coordinate_conditions/__init__.py +0 -3
  33. mat3ra/esse/models/material/reusable/coordinate_conditions/base.py +0 -21
  34. mat3ra/esse/models/material/reusable/coordinate_conditions/box.py +0 -24
  35. mat3ra/esse/models/material/reusable/coordinate_conditions/cylinder.py +0 -26
  36. mat3ra/esse/models/material/reusable/coordinate_conditions/plane.py +0 -24
  37. mat3ra/esse/models/material/reusable/coordinate_conditions/sphere.py +0 -24
  38. mat3ra/esse/models/material/reusable/coordinate_conditions/triangular_prism.py +0 -27
  39. mat3ra/esse/models/material/reusable/repetitions.py +0 -25
  40. mat3ra/esse/models/material/reusable/slab/__init__.py +0 -3
  41. mat3ra/esse/models/material/reusable/slab/enums/__init__.py +0 -3
  42. mat3ra/esse/models/material/reusable/slab/enums/exposed_face.py +0 -13
  43. mat3ra/esse/models/material/reusable/slab/enums.py +0 -13
  44. mat3ra/esse/models/material/reusable/slab/miller_indices.py +0 -16
  45. mat3ra/esse/models/material/reusable/slab/number_of_layers.py +0 -16
  46. mat3ra/esse/models/material/reusable/slab/slab_configuration_with_termination.py +0 -589
  47. mat3ra/esse/models/material/reusable/slab/slab_with_termination.py +0 -593
  48. mat3ra/esse/models/material/reusable/slab/termination.py +0 -144
  49. mat3ra/esse/models/material/reusable/slab/two_slabs_stack.py +0 -618
  50. mat3ra/esse/models/material/reusable/slab/vacuum.py +0 -16
  51. mat3ra/esse/models/material/reusable/slab_configuration_with_termination.py +0 -712
  52. mat3ra/esse/models/material/reusable/stack/__init__.py +0 -3
  53. mat3ra/esse/models/material/reusable/stack/slab_configuration_with_termination.py +0 -593
  54. mat3ra/esse/models/material/reusable/stack/slab_in_stack.py +0 -720
  55. mat3ra/esse/models/material/reusable/stack/stack_of_slabs.py +0 -737
  56. mat3ra/esse/models/material/reusable/stack/stack_of_two_slabs.py +0 -737
  57. mat3ra/esse/models/material/reusable/supercell/__init__.py +0 -3
  58. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_2d.py +0 -25
  59. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_3d.py +0 -27
  60. mat3ra/esse/models/material/reusable/supercell_matrix_2d.py +0 -25
  61. mat3ra/esse/models/material/reusable/supercell_matrix_3d.py +0 -27
  62. mat3ra/esse/models/materials_category/defects/__init__.py +0 -3
  63. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/__init__.py +0 -3
  64. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/configuration.py +0 -672
  65. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/layered/__init__.py +0 -3
  66. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/layered/configuration.py +0 -549
  67. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/point/__init__.py +0 -3
  68. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/point/configuration.py +0 -550
  69. mat3ra/esse/models/materials_category/defects/configuration.py +0 -545
  70. mat3ra/esse/models/materials_category/defects/enums/__init__.py +0 -3
  71. mat3ra/esse/models/materials_category/defects/enums/point_defect_type.py +0 -13
  72. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/__init__.py +0 -3
  73. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/configuration.py +0 -563
  74. mat3ra/esse/models/materials_category/defects/two_dimensional/grain_boundary_plane/__init__.py +0 -3
  75. mat3ra/esse/models/materials_category/defects/two_dimensional/grain_boundary_plane/configuration.py +0 -1200
  76. mat3ra/esse/models/materials_category/defects/two_dimensional/island/__init__.py +0 -3
  77. mat3ra/esse/models/materials_category/defects/two_dimensional/island/condition_json.py +0 -28
  78. mat3ra/esse/models/materials_category/defects/two_dimensional/island/configuration.py +0 -564
  79. mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/__init__.py +0 -3
  80. mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/configuration.py +0 -1538
  81. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/__init__.py +0 -3
  82. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/configuration.py +0 -672
  83. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/__init__.py +0 -3
  84. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/configuration.py +0 -672
  85. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/__init__.py +0 -3
  86. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/configuration.py +0 -672
  87. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/__init__.py +0 -3
  88. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/configuration.py +0 -672
  89. mat3ra/esse/models/materials_category/multi_material/interfaces/__init__.py +0 -3
  90. mat3ra/esse/models/materials_category/multi_material/interfaces/configuration.py +0 -737
  91. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/__init__.py +0 -3
  92. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/configuration.py +0 -567
  93. mat3ra/esse/models/methods_directory/physical/psp/file/__init__.py +0 -129
  94. mat3ra/esse/models/methods_directory/physical/psp/file_data_item/__init__.py +0 -111
  95. mat3ra/esse/models/properties_directory/structural/lattice/lattice_bravais.py +0 -74
  96. mat3ra/esse/models/property/base/__init__.py +0 -200
  97. mat3ra/esse/models/property/meta/__init__.py +0 -200
  98. mat3ra/esse/models/property/raw/__init__.py +0 -200
  99. mat3ra/esse/models/property/source/__init__.py +0 -150
  100. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/__init__.py +0 -3
  101. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/atoms.py +0 -41
  102. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/db_entry.py +0 -55
  103. mat3ra/esse/models/third_party/file/applications/espresso/7.2/__init__.py +0 -3
  104. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/__init__.py +0 -3
  105. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_positions.py +0 -51
  106. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_species.py +0 -34
  107. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell.py +0 -111
  108. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell_parameters.py +0 -36
  109. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/control.py +0 -169
  110. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/electrons.py +0 -139
  111. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/hubbard.py +0 -194
  112. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/ions.py +0 -422
  113. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/k_points.py +0 -73
  114. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/system.py +0 -841
  115. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw_x.py +0 -1990
  116. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/WHEEL +0 -0
  117. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/licenses/LICENSE.md +0 -0
  118. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/top_level.txt +0 -0
@@ -1,3 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: schema
3
- # version: 0.28.5
@@ -1,28 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: materials_category/defects/two_dimensional/island/condition.json.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import List, Literal
9
-
10
- from pydantic import BaseModel, Field, RootModel
11
-
12
-
13
- class CoordinateShapeEnum(Enum):
14
- cylinder = "cylinder"
15
- sphere = "sphere"
16
- box = "box"
17
- triangular_prism = "triangular_prism"
18
- plane = "plane"
19
-
20
-
21
- class BoxCoordinateConditionSchema(BaseModel):
22
- shape: Literal["box"] = Field(..., title="Coordinate Shape Enum")
23
- min_coordinate: List[float] = Field(..., max_length=3, min_length=3, title="coordinate 3d schema")
24
- max_coordinate: List[float] = Field(..., max_length=3, min_length=3, title="coordinate 3d schema")
25
-
26
-
27
- class ESSE(RootModel[BoxCoordinateConditionSchema]):
28
- root: BoxCoordinateConditionSchema
@@ -1,564 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: materials_category/defects/two_dimensional/island/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 CoordinateShapeEnum(Enum):
14
- cylinder = "cylinder"
15
- sphere = "sphere"
16
- box = "box"
17
- triangular_prism = "triangular_prism"
18
- plane = "plane"
19
-
20
-
21
- class BoxCoordinateConditionSchema(BaseModel):
22
- shape: Literal["box"] = Field(..., title="Coordinate Shape Enum")
23
- min_coordinate: List[float] = Field(..., max_length=3, min_length=3, title="coordinate 3d schema")
24
- max_coordinate: List[float] = Field(..., max_length=3, min_length=3, title="coordinate 3d schema")
25
-
26
-
27
- class Value(Enum):
28
- H = "H"
29
- He = "He"
30
- Li = "Li"
31
- Be = "Be"
32
- B = "B"
33
- C = "C"
34
- N = "N"
35
- O = "O"
36
- F = "F"
37
- Ne = "Ne"
38
- Na = "Na"
39
- Mg = "Mg"
40
- Al = "Al"
41
- Si = "Si"
42
- P = "P"
43
- S = "S"
44
- Cl = "Cl"
45
- Ar = "Ar"
46
- K = "K"
47
- Ca = "Ca"
48
- Sc = "Sc"
49
- Ti = "Ti"
50
- V = "V"
51
- Cr = "Cr"
52
- Mn = "Mn"
53
- Fe = "Fe"
54
- Co = "Co"
55
- Ni = "Ni"
56
- Cu = "Cu"
57
- Zn = "Zn"
58
- Ga = "Ga"
59
- Ge = "Ge"
60
- As = "As"
61
- Se = "Se"
62
- Br = "Br"
63
- Kr = "Kr"
64
- Rb = "Rb"
65
- Sr = "Sr"
66
- Y = "Y"
67
- Zr = "Zr"
68
- Nb = "Nb"
69
- Mo = "Mo"
70
- Tc = "Tc"
71
- Ru = "Ru"
72
- Rh = "Rh"
73
- Pd = "Pd"
74
- Ag = "Ag"
75
- Cd = "Cd"
76
- In = "In"
77
- Sn = "Sn"
78
- Sb = "Sb"
79
- Te = "Te"
80
- I = "I"
81
- Xe = "Xe"
82
- Cs = "Cs"
83
- Ba = "Ba"
84
- La = "La"
85
- Ce = "Ce"
86
- Pr = "Pr"
87
- Nd = "Nd"
88
- Pm = "Pm"
89
- Sm = "Sm"
90
- Eu = "Eu"
91
- Gd = "Gd"
92
- Tb = "Tb"
93
- Dy = "Dy"
94
- Ho = "Ho"
95
- Er = "Er"
96
- Tm = "Tm"
97
- Yb = "Yb"
98
- Lu = "Lu"
99
- Hf = "Hf"
100
- Ta = "Ta"
101
- W = "W"
102
- Re = "Re"
103
- Os = "Os"
104
- Ir = "Ir"
105
- Pt = "Pt"
106
- Au = "Au"
107
- Hg = "Hg"
108
- Tl = "Tl"
109
- Pb = "Pb"
110
- Bi = "Bi"
111
- Po = "Po"
112
- At = "At"
113
- Rn = "Rn"
114
- Fr = "Fr"
115
- Ra = "Ra"
116
- Ac = "Ac"
117
- Th = "Th"
118
- Pa = "Pa"
119
- U = "U"
120
- Np = "Np"
121
- Pu = "Pu"
122
- Am = "Am"
123
- Cm = "Cm"
124
- Bk = "Bk"
125
- Cf = "Cf"
126
- Es = "Es"
127
- Fm = "Fm"
128
- Md = "Md"
129
- No = "No"
130
- Lr = "Lr"
131
- Rf = "Rf"
132
- Db = "Db"
133
- Sg = "Sg"
134
- Bh = "Bh"
135
- Hs = "Hs"
136
- Mt = "Mt"
137
- Ds = "Ds"
138
- Rg = "Rg"
139
- Cn = "Cn"
140
- Nh = "Nh"
141
- Fl = "Fl"
142
- Mc = "Mc"
143
- Lv = "Lv"
144
- Ts = "Ts"
145
- Og = "Og"
146
-
147
-
148
- class Value37(Enum):
149
- X = "X"
150
- Vac = "Vac"
151
-
152
-
153
- class AtomicElementSchema(BaseModel):
154
- value: Union[Value, Value37]
155
- """
156
- All elements, including extra elements
157
- """
158
- id: int
159
- """
160
- integer id of this entry
161
- """
162
-
163
-
164
- class AtomicCoordinateSchema(BaseModel):
165
- value: List[float] = Field(..., max_length=3, min_length=3, title="coordinate 3d schema")
166
- """
167
- value of this entry
168
- """
169
- id: int
170
- """
171
- integer id of this entry
172
- """
173
-
174
-
175
- class BasisUnitsEnum(Enum):
176
- crystal = "crystal"
177
- cartesian = "cartesian"
178
-
179
-
180
- class AtomicLabelSchema(BaseModel):
181
- value: Union[Union[int, str, float], conint(ge=1, le=9)]
182
- """
183
- value of this entry
184
- """
185
- id: int
186
- """
187
- integer id of this entry
188
- """
189
-
190
-
191
- class BasisSchema(BaseModel):
192
- elements: List[AtomicElementSchema] = Field(..., title="atomic elements schema")
193
- """
194
- atomic elements schema
195
- """
196
- coordinates: List[AtomicCoordinateSchema] = Field(..., title="atomic coordinates schema")
197
- """
198
- atomic coordinates schema
199
- """
200
- units: Optional[BasisUnitsEnum] = Field("crystal", title="basis units enum")
201
- labels: Optional[List[AtomicLabelSchema]] = Field(None, title="atomic labels schema")
202
- """
203
- atomic labels schema
204
- """
205
-
206
-
207
- class LatticeVectorsUnitsEnum(Enum):
208
- angstrom = "angstrom"
209
- bohr = "bohr"
210
-
211
-
212
- class LatticeVectorsSchema(BaseModel):
213
- a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
214
- b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
215
- c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
216
- alat: Optional[float] = 1
217
- """
218
- lattice parameter for fractional coordinates
219
- """
220
- units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
221
-
222
-
223
- class LatticeTypeEnum(Enum):
224
- CUB = "CUB"
225
- BCC = "BCC"
226
- FCC = "FCC"
227
- TET = "TET"
228
- MCL = "MCL"
229
- ORC = "ORC"
230
- ORCC = "ORCC"
231
- ORCF = "ORCF"
232
- ORCI = "ORCI"
233
- HEX = "HEX"
234
- BCT = "BCT"
235
- TRI = "TRI"
236
- MCLC = "MCLC"
237
- RHL = "RHL"
238
-
239
-
240
- class LatticeUnitsLengthEnum(Enum):
241
- angstrom = "angstrom"
242
- bohr = "bohr"
243
-
244
-
245
- class LatticeUnitsAngleEnum(Enum):
246
- degree = "degree"
247
- radian = "radian"
248
-
249
-
250
- class LatticeUnitsSchema(BaseModel):
251
- length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
252
- angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
253
-
254
-
255
- class LatticeSchema(BaseModel):
256
- a: float
257
- """
258
- length of the first lattice vector
259
- """
260
- b: float
261
- """
262
- length of the second lattice vector
263
- """
264
- c: float
265
- """
266
- length of the third lattice vector
267
- """
268
- alpha: float
269
- """
270
- angle between first and second lattice vector
271
- """
272
- beta: float
273
- """
274
- angle between second and third lattice vector
275
- """
276
- gamma: float
277
- """
278
- angle between first and third lattice vector
279
- """
280
- vectors: Optional[LatticeVectorsSchema] = Field(None, title="lattice vectors schema")
281
- type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
282
- units: Optional[LatticeUnitsSchema] = Field(
283
- default_factory=lambda: LatticeUnitsSchema.model_validate({"length": "angstrom", "angle": "degree"}),
284
- title="Lattice units schema",
285
- )
286
-
287
-
288
- class Name(Enum):
289
- volume = "volume"
290
-
291
-
292
- class Units(Enum):
293
- angstrom_3 = "angstrom^3"
294
-
295
-
296
- class VolumeSchema(BaseModel):
297
- name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
298
- units: Optional[Units] = None
299
- value: float
300
-
301
-
302
- class Name120(Enum):
303
- density = "density"
304
-
305
-
306
- class Units52(Enum):
307
- g_cm_3 = "g/cm^3"
308
-
309
-
310
- class DensitySchema(BaseModel):
311
- name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
312
- units: Optional[Units52] = None
313
- value: float
314
-
315
-
316
- class Units53(Enum):
317
- angstrom = "angstrom"
318
-
319
-
320
- class ScalarSchema(BaseModel):
321
- units: Optional[Units53] = None
322
- value: float
323
-
324
-
325
- class Name121(Enum):
326
- symmetry = "symmetry"
327
-
328
-
329
- class SymmetrySchema(BaseModel):
330
- pointGroupSymbol: Optional[str] = None
331
- """
332
- point group symbol in Schoenflies notation
333
- """
334
- spaceGroupSymbol: Optional[str] = None
335
- """
336
- space group symbol in Hermann–Mauguin notation
337
- """
338
- tolerance: Optional[ScalarSchema] = Field(None, title="scalar schema")
339
- """
340
- tolerance used for symmetry calculation
341
- """
342
- name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
343
-
344
-
345
- class Name122(Enum):
346
- elemental_ratio = "elemental_ratio"
347
-
348
-
349
- class ElementalRatio(BaseModel):
350
- name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
351
- value: confloat(ge=0.0, le=1.0)
352
- element: Optional[str] = None
353
- """
354
- the element this ratio is for
355
- """
356
-
357
-
358
- class Name123(Enum):
359
- p_norm = "p-norm"
360
-
361
-
362
- class PNorm(BaseModel):
363
- name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
364
- degree: Optional[int] = None
365
- """
366
- degree of the dimensionality of the norm
367
- """
368
- value: float
369
-
370
-
371
- class Name124(Enum):
372
- inchi = "inchi"
373
-
374
-
375
- class InChIRepresentationSchema(BaseModel):
376
- name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
377
- value: str
378
-
379
-
380
- class Name125(Enum):
381
- inchi_key = "inchi_key"
382
-
383
-
384
- class InChIKeyRepresentationSchema(BaseModel):
385
- name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
386
- value: str
387
-
388
-
389
- class DerivedPropertiesSchema(
390
- RootModel[
391
- Union[
392
- VolumeSchema,
393
- DensitySchema,
394
- SymmetrySchema,
395
- ElementalRatio,
396
- PNorm,
397
- InChIRepresentationSchema,
398
- InChIKeyRepresentationSchema,
399
- ]
400
- ]
401
- ):
402
- root: Union[
403
- VolumeSchema,
404
- DensitySchema,
405
- SymmetrySchema,
406
- ElementalRatio,
407
- PNorm,
408
- InChIRepresentationSchema,
409
- InChIKeyRepresentationSchema,
410
- ] = Field(..., discriminator="name")
411
-
412
-
413
- class DatabaseSourceSchema(BaseModel):
414
- id: Union[str, float]
415
- """
416
- 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
417
- """
418
- source: str
419
- """
420
- Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.
421
- """
422
- origin: bool
423
- """
424
- 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).
425
- """
426
- data: Optional[Dict[str, Any]] = None
427
- """
428
- Original response from external source.
429
- """
430
- doi: Optional[str] = None
431
- """
432
- Digital Object Identifier, e.g. 10.1088/0953-8984/25/10/105506
433
- """
434
- url: Optional[str] = None
435
- """
436
- 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
437
- """
438
-
439
-
440
- class FileSourceSchema(BaseModel):
441
- extension: Optional[str] = None
442
- """
443
- file extension
444
- """
445
- filename: str
446
- """
447
- file name without extension
448
- """
449
- text: str
450
- """
451
- file content as raw text
452
- """
453
- hash: str
454
- """
455
- MD5 hash based on file content
456
- """
457
-
458
-
459
- class Name126(Enum):
460
- default = "default"
461
- atomsTooClose = "atomsTooClose"
462
- atomsOverlap = "atomsOverlap"
463
-
464
-
465
- class Severity(Enum):
466
- info = "info"
467
- warning = "warning"
468
- error = "error"
469
-
470
-
471
- class MaterialConsistencyCheckSchema(BaseModel):
472
- name: Name126
473
- """
474
- Name of the consistency check that is performed, which is listed in an enum.
475
- """
476
- key: str
477
- """
478
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
479
- """
480
- severity: Severity
481
- """
482
- Severity level of the problem, which is used in UI to differentiate.
483
- """
484
- message: str
485
- """
486
- Message generated by the consistency check describing the problem.
487
- """
488
-
489
-
490
- class MaterialSchema(BaseModel):
491
- formula: Optional[str] = None
492
- """
493
- reduced chemical formula
494
- """
495
- unitCellFormula: Optional[str] = None
496
- """
497
- chemical formula based on the number of atoms of each element in the supercell
498
- """
499
- basis: BasisSchema = Field(..., title="basis schema")
500
- lattice: LatticeSchema = Field(..., title="lattice schema")
501
- derivedProperties: Optional[List[DerivedPropertiesSchema]] = Field(None, title="derived properties schema")
502
- external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
503
- """
504
- information about a database source
505
- """
506
- src: Optional[FileSourceSchema] = Field(None, title="file source schema")
507
- """
508
- file source with the information inside
509
- """
510
- scaledHash: Optional[str] = None
511
- """
512
- Hash string for a scaled structure with lattice vector a set to 1 (eg. for materials under pressure).
513
- """
514
- icsdId: Optional[int] = None
515
- """
516
- Corresponding ICSD id of the material
517
- """
518
- isNonPeriodic: Optional[bool] = None
519
- """
520
- Whether to work in the finite molecular picture (usually with atomic orbital basis)
521
- """
522
- consistencyChecks: Optional[List[MaterialConsistencyCheckSchema]] = None
523
- field_id: Optional[str] = Field(None, alias="_id")
524
- """
525
- entity identity
526
- """
527
- slug: Optional[str] = None
528
- """
529
- entity slug
530
- """
531
- systemName: Optional[str] = None
532
- schemaVersion: Optional[str] = "2022.8.16"
533
- """
534
- entity's schema version. Used to distinct between different schemas.
535
- """
536
- name: Optional[str] = None
537
- """
538
- entity name
539
- """
540
- isDefault: Optional[bool] = False
541
- """
542
- Identifies that entity is defaultable
543
- """
544
- metadata: Optional[Dict[str, Any]] = None
545
-
546
-
547
- class IslandSlabDefectConfigurationSchema(BaseModel):
548
- condition: Optional[BoxCoordinateConditionSchema] = None
549
- number_of_added_layers: Optional[conint(ge=1)] = Field(1, title="Number of Layers Schema")
550
- """
551
- Number of atomic layers in a structural component
552
- """
553
- host: Optional[MaterialSchema] = None
554
- """
555
- The base host for the defect
556
- """
557
- use_cartesian_coordinates: Optional[bool] = False
558
- """
559
- Whether to use Cartesian coordinates
560
- """
561
- isExternal: Optional[bool] = False
562
- """
563
- Whether the defect is external to the host material
564
- """
@@ -1,3 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: schema
3
- # version: 0.28.5