mat3ra-esse 2025.5.17.post1__py3-none-any.whl → 2025.5.17.post2__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 (83) 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 +6 -6
  4. mat3ra/esse/models/coordinates_shape_enum.py +15 -0
  5. mat3ra/esse/models/core/reusable/axis_enum.py +13 -0
  6. mat3ra/esse/models/core/reusable/coordinate_conditions/base.py +21 -0
  7. mat3ra/esse/models/core/reusable/coordinate_conditions/box.py +24 -0
  8. mat3ra/esse/models/core/reusable/coordinate_conditions/cylinder.py +26 -0
  9. mat3ra/esse/models/core/reusable/coordinate_conditions/enum.py +15 -0
  10. mat3ra/esse/models/core/reusable/coordinate_conditions/plane.py +24 -0
  11. mat3ra/esse/models/core/reusable/coordinate_conditions/sphere.py +24 -0
  12. mat3ra/esse/models/core/reusable/coordinate_conditions/triangular_prism.py +27 -0
  13. mat3ra/esse/models/core/reusable/energy.py +2 -2
  14. mat3ra/esse/models/element.py +6 -6
  15. mat3ra/esse/models/material/__init__.py +14 -14
  16. mat3ra/esse/models/material/reusable/coordinate_conditions/base.py +21 -0
  17. mat3ra/esse/models/material/reusable/coordinate_conditions/box.py +24 -0
  18. mat3ra/esse/models/material/reusable/coordinate_conditions/cylinder.py +26 -0
  19. mat3ra/esse/models/material/reusable/coordinate_conditions/plane.py +24 -0
  20. mat3ra/esse/models/material/reusable/coordinate_conditions/sphere.py +24 -0
  21. mat3ra/esse/models/material/reusable/coordinate_conditions/triangular_prism.py +27 -0
  22. mat3ra/esse/models/{materials_category/defects/by_host/two_dimensional/configuration.py → material/reusable/slab/slab_configuration_with_termination.py} +64 -25
  23. mat3ra/esse/models/{materials_category/defects/zero_dimensional/slab/configuration.py → material/reusable/slab/slab_with_termination.py} +191 -32
  24. mat3ra/esse/models/{materials_category/defects/zero_dimensional/adatom/configuration.py → material/reusable/slab/two_slabs_stack.py} +223 -23
  25. mat3ra/esse/models/{materials_category/defects/zero_dimensional/adatom/base_configuration.py → material/reusable/slab_configuration_with_termination.py} +318 -24
  26. mat3ra/esse/models/{materials_category/defects/slab/configuration.py → material/reusable/stack/slab_configuration_with_termination.py} +199 -18
  27. mat3ra/esse/models/material/reusable/stack/slab_in_stack.py +720 -0
  28. mat3ra/esse/models/material/reusable/stack/stack_of_slabs.py +737 -0
  29. mat3ra/esse/models/material/reusable/stack/stack_of_two_slabs.py +737 -0
  30. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_2d.py +25 -0
  31. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_3d.py +27 -0
  32. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/configuration.py +14 -14
  33. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/layered/configuration.py +14 -14
  34. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/point/configuration.py +14 -14
  35. mat3ra/esse/models/materials_category/defects/configuration.py +14 -14
  36. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/configuration.py +14 -14
  37. mat3ra/esse/models/materials_category/defects/{zero_dimensional/complex/pair.py → two_dimensional/grain_boundary_plane/configuration.py} +163 -497
  38. mat3ra/esse/models/materials_category/defects/two_dimensional/island/condition_json.py +28 -0
  39. mat3ra/esse/models/materials_category/defects/two_dimensional/island/configuration.py +163 -48
  40. mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/configuration.py +130 -130
  41. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/configuration.py +14 -14
  42. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/configuration.py +14 -14
  43. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/configuration.py +14 -14
  44. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/configuration.py +14 -14
  45. mat3ra/esse/models/materials_category/multi_material/interfaces/configuration.py +737 -0
  46. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/configuration.py +17 -21
  47. mat3ra/esse/models/properties_directory/derived_properties.py +11 -11
  48. mat3ra/esse/models/properties_directory/non_scalar/density_of_states.py +2 -2
  49. mat3ra/esse/models/properties_directory/non_scalar/phonon_dispersions.py +2 -2
  50. mat3ra/esse/models/properties_directory/non_scalar/phonon_dos.py +2 -2
  51. mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +50 -50
  52. mat3ra/esse/models/properties_directory/non_scalar/vibrational_spectrum.py +2 -2
  53. mat3ra/esse/models/properties_directory/scalar/electron_affinity.py +2 -2
  54. mat3ra/esse/models/properties_directory/scalar/fermi_energy.py +2 -2
  55. mat3ra/esse/models/properties_directory/scalar/formation_energy.py +2 -2
  56. mat3ra/esse/models/properties_directory/scalar/ionization_potential.py +2 -2
  57. mat3ra/esse/models/properties_directory/scalar/reaction_energy_barrier.py +2 -2
  58. mat3ra/esse/models/properties_directory/scalar/surface_energy.py +2 -2
  59. mat3ra/esse/models/properties_directory/scalar/total_energy.py +2 -2
  60. mat3ra/esse/models/properties_directory/scalar/valence_band_offset.py +2 -2
  61. mat3ra/esse/models/properties_directory/scalar/zero_point_energy.py +2 -2
  62. mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
  63. mat3ra/esse/models/properties_directory/workflow/convergence/ionic.py +2 -2
  64. {mat3ra_esse-2025.5.17.post1.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/METADATA +1 -1
  65. {mat3ra_esse-2025.5.17.post1.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/RECORD +74 -61
  66. mat3ra/esse/models/materials_category/defects/enums/atom_placement_method.py +0 -22
  67. mat3ra/esse/models/materials_category/defects/enums/complex_defect_type.py +0 -18
  68. mat3ra/esse/models/materials_category/defects/enums/coordinates_shape.py +0 -21
  69. mat3ra/esse/models/materials_category/defects/enums/slab_defect_type.py +0 -19
  70. mat3ra/esse/models/materials_category/defects/enums.py +0 -13
  71. mat3ra/esse/models/materials_category/defects/two_dimensional/slab_grain_boundary/configuration.py +0 -1105
  72. mat3ra/esse/models/materials_category/defects/zero_dimensional/defect_pair/configuration.py +0 -1026
  73. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/base_configuration.py +0 -30
  74. mat3ra/esse/models/materials_category/defects/zero_dimensional/slab/__init__.py +0 -3
  75. /mat3ra/esse/models/{materials_category/defects/by_host/two_dimensional → core/reusable/coordinate_conditions}/__init__.py +0 -0
  76. /mat3ra/esse/models/{materials_category/defects/slab → material/reusable/coordinate_conditions}/__init__.py +0 -0
  77. /mat3ra/esse/models/{materials_category/defects/two_dimensional/slab_grain_boundary → material/reusable/stack}/__init__.py +0 -0
  78. /mat3ra/esse/models/{materials_category/defects/zero_dimensional/adatom → material/reusable/supercell}/__init__.py +0 -0
  79. /mat3ra/esse/models/materials_category/defects/{zero_dimensional/complex → two_dimensional/grain_boundary_plane}/__init__.py +0 -0
  80. /mat3ra/esse/models/materials_category/{defects/zero_dimensional/defect_pair → multi_material/interfaces}/__init__.py +0 -0
  81. {mat3ra_esse-2025.5.17.post1.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/WHEEL +0 -0
  82. {mat3ra_esse-2025.5.17.post1.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/licenses/LICENSE.md +0 -0
  83. {mat3ra_esse-2025.5.17.post1.dist-info → mat3ra_esse-2025.5.17.post2.dist-info}/top_level.txt +0 -0
@@ -252,13 +252,13 @@ class Value(Enum):
252
252
  Og = "Og"
253
253
 
254
254
 
255
- class Value17(Enum):
255
+ class Value19(Enum):
256
256
  X = "X"
257
257
  Vac = "Vac"
258
258
 
259
259
 
260
260
  class AtomicElementSchema(BaseModel):
261
- value: Union[Value, Value17]
261
+ value: Union[Value, Value19]
262
262
  """
263
263
  All elements, including extra elements
264
264
  """
@@ -406,30 +406,30 @@ class VolumeSchema(BaseModel):
406
406
  value: float
407
407
 
408
408
 
409
- class Name40(Enum):
409
+ class Name48(Enum):
410
410
  density = "density"
411
411
 
412
412
 
413
- class Units22(Enum):
413
+ class Units25(Enum):
414
414
  g_cm_3 = "g/cm^3"
415
415
 
416
416
 
417
417
  class DensitySchema(BaseModel):
418
418
  name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
419
- units: Optional[Units22] = None
419
+ units: Optional[Units25] = None
420
420
  value: float
421
421
 
422
422
 
423
- class Units23(Enum):
423
+ class Units26(Enum):
424
424
  angstrom = "angstrom"
425
425
 
426
426
 
427
427
  class ScalarSchema(BaseModel):
428
- units: Optional[Units23] = None
428
+ units: Optional[Units26] = None
429
429
  value: float
430
430
 
431
431
 
432
- class Name41(Enum):
432
+ class Name49(Enum):
433
433
  symmetry = "symmetry"
434
434
 
435
435
 
@@ -449,7 +449,7 @@ class SymmetrySchema(BaseModel):
449
449
  name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
450
450
 
451
451
 
452
- class Name42(Enum):
452
+ class Name50(Enum):
453
453
  elemental_ratio = "elemental_ratio"
454
454
 
455
455
 
@@ -462,7 +462,7 @@ class ElementalRatio(BaseModel):
462
462
  """
463
463
 
464
464
 
465
- class Name43(Enum):
465
+ class Name51(Enum):
466
466
  p_norm = "p-norm"
467
467
 
468
468
 
@@ -475,7 +475,7 @@ class PNorm(BaseModel):
475
475
  value: float
476
476
 
477
477
 
478
- class Name44(Enum):
478
+ class Name52(Enum):
479
479
  inchi = "inchi"
480
480
 
481
481
 
@@ -484,7 +484,7 @@ class InChIRepresentationSchema(BaseModel):
484
484
  value: str
485
485
 
486
486
 
487
- class Name45(Enum):
487
+ class Name53(Enum):
488
488
  inchi_key = "inchi_key"
489
489
 
490
490
 
@@ -563,7 +563,7 @@ class FileSourceSchema(BaseModel):
563
563
  """
564
564
 
565
565
 
566
- class Name46(Enum):
566
+ class Name54(Enum):
567
567
  default = "default"
568
568
  atomsTooClose = "atomsTooClose"
569
569
  atomsOverlap = "atomsOverlap"
@@ -576,7 +576,7 @@ class Severity(Enum):
576
576
 
577
577
 
578
578
  class MaterialConsistencyCheckSchema(BaseModel):
579
- name: Name46
579
+ name: Name54
580
580
  """
581
581
  Name of the consistency check that is performed, which is listed in an enum.
582
582
  """
@@ -672,7 +672,7 @@ class PointDefectConfigurationSchema(BaseModel):
672
672
  """
673
673
 
674
674
 
675
- class Value18(Enum):
675
+ class Value20(Enum):
676
676
  H = "H"
677
677
  He = "He"
678
678
  Li = "Li"
@@ -793,13 +793,13 @@ class Value18(Enum):
793
793
  Og = "Og"
794
794
 
795
795
 
796
- class Value19(Enum):
796
+ class Value21(Enum):
797
797
  X = "X"
798
798
  Vac = "Vac"
799
799
 
800
800
 
801
- class AtomicElementSchema8(BaseModel):
802
- value: Union[Value18, Value19]
801
+ class AtomicElementSchema9(BaseModel):
802
+ value: Union[Value20, Value21]
803
803
  """
804
804
  All elements, including extra elements
805
805
  """
@@ -809,8 +809,8 @@ class AtomicElementSchema8(BaseModel):
809
809
  """
810
810
 
811
811
 
812
- class BasisSchema6(BaseModel):
813
- elements: List[AtomicElementSchema8] = Field(..., title="atomic elements schema")
812
+ class BasisSchema7(BaseModel):
813
+ elements: List[AtomicElementSchema9] = Field(..., title="atomic elements schema")
814
814
  """
815
815
  atomic elements schema
816
816
  """
@@ -825,7 +825,7 @@ class BasisSchema6(BaseModel):
825
825
  """
826
826
 
827
827
 
828
- class LatticeVectorsSchema5(BaseModel):
828
+ class LatticeVectorsSchema6(BaseModel):
829
829
  a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
830
830
  b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
831
831
  c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
@@ -836,12 +836,12 @@ class LatticeVectorsSchema5(BaseModel):
836
836
  units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
837
837
 
838
838
 
839
- class LatticeUnitsSchema5(BaseModel):
839
+ class LatticeUnitsSchema6(BaseModel):
840
840
  length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
841
841
  angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
842
842
 
843
843
 
844
- class LatticeSchema5(BaseModel):
844
+ class LatticeSchema6(BaseModel):
845
845
  a: float
846
846
  """
847
847
  length of the first lattice vector
@@ -866,56 +866,56 @@ class LatticeSchema5(BaseModel):
866
866
  """
867
867
  angle between first and third lattice vector
868
868
  """
869
- vectors: Optional[LatticeVectorsSchema5] = Field(None, title="lattice vectors schema")
869
+ vectors: Optional[LatticeVectorsSchema6] = Field(None, title="lattice vectors schema")
870
870
  type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
871
- units: Optional[LatticeUnitsSchema5] = Field(
872
- default_factory=lambda: LatticeUnitsSchema5.model_validate({"length": "angstrom", "angle": "degree"}),
871
+ units: Optional[LatticeUnitsSchema6] = Field(
872
+ default_factory=lambda: LatticeUnitsSchema6.model_validate({"length": "angstrom", "angle": "degree"}),
873
873
  title="Lattice units schema",
874
874
  )
875
875
 
876
876
 
877
- class Name47(Enum):
877
+ class Name55(Enum):
878
878
  volume = "volume"
879
879
 
880
880
 
881
- class Units24(Enum):
881
+ class Units27(Enum):
882
882
  angstrom_3 = "angstrom^3"
883
883
 
884
884
 
885
- class VolumeSchema5(BaseModel):
885
+ class VolumeSchema6(BaseModel):
886
886
  name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
887
- units: Optional[Units24] = None
887
+ units: Optional[Units27] = None
888
888
  value: float
889
889
 
890
890
 
891
- class Name48(Enum):
891
+ class Name56(Enum):
892
892
  density = "density"
893
893
 
894
894
 
895
- class Units25(Enum):
895
+ class Units28(Enum):
896
896
  g_cm_3 = "g/cm^3"
897
897
 
898
898
 
899
- class DensitySchema5(BaseModel):
899
+ class DensitySchema6(BaseModel):
900
900
  name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
901
- units: Optional[Units25] = None
901
+ units: Optional[Units28] = None
902
902
  value: float
903
903
 
904
904
 
905
- class Units26(Enum):
905
+ class Units29(Enum):
906
906
  angstrom = "angstrom"
907
907
 
908
908
 
909
- class ScalarSchema6(BaseModel):
910
- units: Optional[Units26] = None
909
+ class ScalarSchema7(BaseModel):
910
+ units: Optional[Units29] = None
911
911
  value: float
912
912
 
913
913
 
914
- class Name49(Enum):
914
+ class Name57(Enum):
915
915
  symmetry = "symmetry"
916
916
 
917
917
 
918
- class SymmetrySchema5(BaseModel):
918
+ class SymmetrySchema6(BaseModel):
919
919
  pointGroupSymbol: Optional[str] = None
920
920
  """
921
921
  point group symbol in Schoenflies notation
@@ -924,18 +924,18 @@ class SymmetrySchema5(BaseModel):
924
924
  """
925
925
  space group symbol in Hermann–Mauguin notation
926
926
  """
927
- tolerance: Optional[ScalarSchema6] = Field(None, title="scalar schema")
927
+ tolerance: Optional[ScalarSchema7] = Field(None, title="scalar schema")
928
928
  """
929
929
  tolerance used for symmetry calculation
930
930
  """
931
931
  name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
932
932
 
933
933
 
934
- class Name50(Enum):
934
+ class Name58(Enum):
935
935
  elemental_ratio = "elemental_ratio"
936
936
 
937
937
 
938
- class ElementalRatio5(BaseModel):
938
+ class ElementalRatio6(BaseModel):
939
939
  name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
940
940
  value: confloat(ge=0.0, le=1.0)
941
941
  element: Optional[str] = None
@@ -944,11 +944,11 @@ class ElementalRatio5(BaseModel):
944
944
  """
945
945
 
946
946
 
947
- class Name51(Enum):
947
+ class Name59(Enum):
948
948
  p_norm = "p-norm"
949
949
 
950
950
 
951
- class PNorm5(BaseModel):
951
+ class PNorm6(BaseModel):
952
952
  name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
953
953
  degree: Optional[int] = None
954
954
  """
@@ -957,56 +957,56 @@ class PNorm5(BaseModel):
957
957
  value: float
958
958
 
959
959
 
960
- class Name52(Enum):
960
+ class Name60(Enum):
961
961
  inchi = "inchi"
962
962
 
963
963
 
964
- class InChIRepresentationSchema5(BaseModel):
964
+ class InChIRepresentationSchema6(BaseModel):
965
965
  name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
966
966
  value: str
967
967
 
968
968
 
969
- class Name53(Enum):
969
+ class Name61(Enum):
970
970
  inchi_key = "inchi_key"
971
971
 
972
972
 
973
- class InChIKeyRepresentationSchema5(BaseModel):
973
+ class InChIKeyRepresentationSchema6(BaseModel):
974
974
  name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
975
975
  value: str
976
976
 
977
977
 
978
- class DerivedPropertiesSchema5(
978
+ class DerivedPropertiesSchema6(
979
979
  RootModel[
980
980
  Union[
981
- VolumeSchema5,
982
- DensitySchema5,
983
- SymmetrySchema5,
984
- ElementalRatio5,
985
- PNorm5,
986
- InChIRepresentationSchema5,
987
- InChIKeyRepresentationSchema5,
981
+ VolumeSchema6,
982
+ DensitySchema6,
983
+ SymmetrySchema6,
984
+ ElementalRatio6,
985
+ PNorm6,
986
+ InChIRepresentationSchema6,
987
+ InChIKeyRepresentationSchema6,
988
988
  ]
989
989
  ]
990
990
  ):
991
991
  root: Union[
992
- VolumeSchema5,
993
- DensitySchema5,
994
- SymmetrySchema5,
995
- ElementalRatio5,
996
- PNorm5,
997
- InChIRepresentationSchema5,
998
- InChIKeyRepresentationSchema5,
992
+ VolumeSchema6,
993
+ DensitySchema6,
994
+ SymmetrySchema6,
995
+ ElementalRatio6,
996
+ PNorm6,
997
+ InChIRepresentationSchema6,
998
+ InChIKeyRepresentationSchema6,
999
999
  ] = Field(..., discriminator="name")
1000
1000
 
1001
1001
 
1002
- class Name54(Enum):
1002
+ class Name62(Enum):
1003
1003
  default = "default"
1004
1004
  atomsTooClose = "atomsTooClose"
1005
1005
  atomsOverlap = "atomsOverlap"
1006
1006
 
1007
1007
 
1008
- class MaterialConsistencyCheckSchema5(BaseModel):
1009
- name: Name54
1008
+ class MaterialConsistencyCheckSchema6(BaseModel):
1009
+ name: Name62
1010
1010
  """
1011
1011
  Name of the consistency check that is performed, which is listed in an enum.
1012
1012
  """
@@ -1024,7 +1024,7 @@ class MaterialConsistencyCheckSchema5(BaseModel):
1024
1024
  """
1025
1025
 
1026
1026
 
1027
- class MaterialSchema5(BaseModel):
1027
+ class MaterialSchema6(BaseModel):
1028
1028
  formula: Optional[str] = None
1029
1029
  """
1030
1030
  reduced chemical formula
@@ -1033,9 +1033,9 @@ class MaterialSchema5(BaseModel):
1033
1033
  """
1034
1034
  chemical formula based on the number of atoms of each element in the supercell
1035
1035
  """
1036
- basis: BasisSchema6 = Field(..., title="basis schema")
1037
- lattice: LatticeSchema5 = Field(..., title="lattice schema")
1038
- derivedProperties: Optional[List[DerivedPropertiesSchema5]] = Field(None, title="derived properties schema")
1036
+ basis: BasisSchema7 = Field(..., title="basis schema")
1037
+ lattice: LatticeSchema6 = Field(..., title="lattice schema")
1038
+ derivedProperties: Optional[List[DerivedPropertiesSchema6]] = Field(None, title="derived properties schema")
1039
1039
  external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
1040
1040
  """
1041
1041
  information about a database source
@@ -1056,7 +1056,7 @@ class MaterialSchema5(BaseModel):
1056
1056
  """
1057
1057
  Whether to work in the finite molecular picture (usually with atomic orbital basis)
1058
1058
  """
1059
- consistencyChecks: Optional[List[MaterialConsistencyCheckSchema5]] = None
1059
+ consistencyChecks: Optional[List[MaterialConsistencyCheckSchema6]] = None
1060
1060
  field_id: Optional[str] = Field(None, alias="_id")
1061
1061
  """
1062
1062
  entity identity
@@ -1092,7 +1092,7 @@ class PointDefectConfigurationSchema1(BaseModel):
1092
1092
  """
1093
1093
  Whether coordinates are in cartesian rather than fractional coordinates
1094
1094
  """
1095
- host: Optional[MaterialSchema5] = None
1095
+ host: Optional[MaterialSchema6] = None
1096
1096
  """
1097
1097
  The base host for the defect
1098
1098
  """
@@ -1102,7 +1102,7 @@ class PointDefectConfigurationSchema1(BaseModel):
1102
1102
  """
1103
1103
 
1104
1104
 
1105
- class Value20(Enum):
1105
+ class Value22(Enum):
1106
1106
  H = "H"
1107
1107
  He = "He"
1108
1108
  Li = "Li"
@@ -1223,13 +1223,13 @@ class Value20(Enum):
1223
1223
  Og = "Og"
1224
1224
 
1225
1225
 
1226
- class Value21(Enum):
1226
+ class Value23(Enum):
1227
1227
  X = "X"
1228
1228
  Vac = "Vac"
1229
1229
 
1230
1230
 
1231
- class AtomicElementSchema9(BaseModel):
1232
- value: Union[Value20, Value21]
1231
+ class AtomicElementSchema10(BaseModel):
1232
+ value: Union[Value22, Value23]
1233
1233
  """
1234
1234
  All elements, including extra elements
1235
1235
  """
@@ -1239,8 +1239,8 @@ class AtomicElementSchema9(BaseModel):
1239
1239
  """
1240
1240
 
1241
1241
 
1242
- class BasisSchema7(BaseModel):
1243
- elements: List[AtomicElementSchema9] = Field(..., title="atomic elements schema")
1242
+ class BasisSchema8(BaseModel):
1243
+ elements: List[AtomicElementSchema10] = Field(..., title="atomic elements schema")
1244
1244
  """
1245
1245
  atomic elements schema
1246
1246
  """
@@ -1255,7 +1255,7 @@ class BasisSchema7(BaseModel):
1255
1255
  """
1256
1256
 
1257
1257
 
1258
- class LatticeVectorsSchema6(BaseModel):
1258
+ class LatticeVectorsSchema7(BaseModel):
1259
1259
  a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
1260
1260
  b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
1261
1261
  c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
@@ -1266,12 +1266,12 @@ class LatticeVectorsSchema6(BaseModel):
1266
1266
  units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
1267
1267
 
1268
1268
 
1269
- class LatticeUnitsSchema6(BaseModel):
1269
+ class LatticeUnitsSchema7(BaseModel):
1270
1270
  length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
1271
1271
  angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
1272
1272
 
1273
1273
 
1274
- class LatticeSchema6(BaseModel):
1274
+ class LatticeSchema7(BaseModel):
1275
1275
  a: float
1276
1276
  """
1277
1277
  length of the first lattice vector
@@ -1296,56 +1296,56 @@ class LatticeSchema6(BaseModel):
1296
1296
  """
1297
1297
  angle between first and third lattice vector
1298
1298
  """
1299
- vectors: Optional[LatticeVectorsSchema6] = Field(None, title="lattice vectors schema")
1299
+ vectors: Optional[LatticeVectorsSchema7] = Field(None, title="lattice vectors schema")
1300
1300
  type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
1301
- units: Optional[LatticeUnitsSchema6] = Field(
1302
- default_factory=lambda: LatticeUnitsSchema6.model_validate({"length": "angstrom", "angle": "degree"}),
1301
+ units: Optional[LatticeUnitsSchema7] = Field(
1302
+ default_factory=lambda: LatticeUnitsSchema7.model_validate({"length": "angstrom", "angle": "degree"}),
1303
1303
  title="Lattice units schema",
1304
1304
  )
1305
1305
 
1306
1306
 
1307
- class Name55(Enum):
1307
+ class Name63(Enum):
1308
1308
  volume = "volume"
1309
1309
 
1310
1310
 
1311
- class Units27(Enum):
1311
+ class Units30(Enum):
1312
1312
  angstrom_3 = "angstrom^3"
1313
1313
 
1314
1314
 
1315
- class VolumeSchema6(BaseModel):
1315
+ class VolumeSchema7(BaseModel):
1316
1316
  name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
1317
- units: Optional[Units27] = None
1317
+ units: Optional[Units30] = None
1318
1318
  value: float
1319
1319
 
1320
1320
 
1321
- class Name56(Enum):
1321
+ class Name64(Enum):
1322
1322
  density = "density"
1323
1323
 
1324
1324
 
1325
- class Units28(Enum):
1325
+ class Units31(Enum):
1326
1326
  g_cm_3 = "g/cm^3"
1327
1327
 
1328
1328
 
1329
- class DensitySchema6(BaseModel):
1329
+ class DensitySchema7(BaseModel):
1330
1330
  name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
1331
- units: Optional[Units28] = None
1331
+ units: Optional[Units31] = None
1332
1332
  value: float
1333
1333
 
1334
1334
 
1335
- class Units29(Enum):
1335
+ class Units32(Enum):
1336
1336
  angstrom = "angstrom"
1337
1337
 
1338
1338
 
1339
- class ScalarSchema7(BaseModel):
1340
- units: Optional[Units29] = None
1339
+ class ScalarSchema8(BaseModel):
1340
+ units: Optional[Units32] = None
1341
1341
  value: float
1342
1342
 
1343
1343
 
1344
- class Name57(Enum):
1344
+ class Name65(Enum):
1345
1345
  symmetry = "symmetry"
1346
1346
 
1347
1347
 
1348
- class SymmetrySchema6(BaseModel):
1348
+ class SymmetrySchema7(BaseModel):
1349
1349
  pointGroupSymbol: Optional[str] = None
1350
1350
  """
1351
1351
  point group symbol in Schoenflies notation
@@ -1354,18 +1354,18 @@ class SymmetrySchema6(BaseModel):
1354
1354
  """
1355
1355
  space group symbol in Hermann–Mauguin notation
1356
1356
  """
1357
- tolerance: Optional[ScalarSchema7] = Field(None, title="scalar schema")
1357
+ tolerance: Optional[ScalarSchema8] = Field(None, title="scalar schema")
1358
1358
  """
1359
1359
  tolerance used for symmetry calculation
1360
1360
  """
1361
1361
  name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
1362
1362
 
1363
1363
 
1364
- class Name58(Enum):
1364
+ class Name66(Enum):
1365
1365
  elemental_ratio = "elemental_ratio"
1366
1366
 
1367
1367
 
1368
- class ElementalRatio6(BaseModel):
1368
+ class ElementalRatio7(BaseModel):
1369
1369
  name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
1370
1370
  value: confloat(ge=0.0, le=1.0)
1371
1371
  element: Optional[str] = None
@@ -1374,11 +1374,11 @@ class ElementalRatio6(BaseModel):
1374
1374
  """
1375
1375
 
1376
1376
 
1377
- class Name59(Enum):
1377
+ class Name67(Enum):
1378
1378
  p_norm = "p-norm"
1379
1379
 
1380
1380
 
1381
- class PNorm6(BaseModel):
1381
+ class PNorm7(BaseModel):
1382
1382
  name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
1383
1383
  degree: Optional[int] = None
1384
1384
  """
@@ -1387,56 +1387,56 @@ class PNorm6(BaseModel):
1387
1387
  value: float
1388
1388
 
1389
1389
 
1390
- class Name60(Enum):
1390
+ class Name68(Enum):
1391
1391
  inchi = "inchi"
1392
1392
 
1393
1393
 
1394
- class InChIRepresentationSchema6(BaseModel):
1394
+ class InChIRepresentationSchema7(BaseModel):
1395
1395
  name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
1396
1396
  value: str
1397
1397
 
1398
1398
 
1399
- class Name61(Enum):
1399
+ class Name69(Enum):
1400
1400
  inchi_key = "inchi_key"
1401
1401
 
1402
1402
 
1403
- class InChIKeyRepresentationSchema6(BaseModel):
1403
+ class InChIKeyRepresentationSchema7(BaseModel):
1404
1404
  name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
1405
1405
  value: str
1406
1406
 
1407
1407
 
1408
- class DerivedPropertiesSchema6(
1408
+ class DerivedPropertiesSchema7(
1409
1409
  RootModel[
1410
1410
  Union[
1411
- VolumeSchema6,
1412
- DensitySchema6,
1413
- SymmetrySchema6,
1414
- ElementalRatio6,
1415
- PNorm6,
1416
- InChIRepresentationSchema6,
1417
- InChIKeyRepresentationSchema6,
1411
+ VolumeSchema7,
1412
+ DensitySchema7,
1413
+ SymmetrySchema7,
1414
+ ElementalRatio7,
1415
+ PNorm7,
1416
+ InChIRepresentationSchema7,
1417
+ InChIKeyRepresentationSchema7,
1418
1418
  ]
1419
1419
  ]
1420
1420
  ):
1421
1421
  root: Union[
1422
- VolumeSchema6,
1423
- DensitySchema6,
1424
- SymmetrySchema6,
1425
- ElementalRatio6,
1426
- PNorm6,
1427
- InChIRepresentationSchema6,
1428
- InChIKeyRepresentationSchema6,
1422
+ VolumeSchema7,
1423
+ DensitySchema7,
1424
+ SymmetrySchema7,
1425
+ ElementalRatio7,
1426
+ PNorm7,
1427
+ InChIRepresentationSchema7,
1428
+ InChIKeyRepresentationSchema7,
1429
1429
  ] = Field(..., discriminator="name")
1430
1430
 
1431
1431
 
1432
- class Name62(Enum):
1432
+ class Name70(Enum):
1433
1433
  default = "default"
1434
1434
  atomsTooClose = "atomsTooClose"
1435
1435
  atomsOverlap = "atomsOverlap"
1436
1436
 
1437
1437
 
1438
- class MaterialConsistencyCheckSchema6(BaseModel):
1439
- name: Name62
1438
+ class MaterialConsistencyCheckSchema7(BaseModel):
1439
+ name: Name70
1440
1440
  """
1441
1441
  Name of the consistency check that is performed, which is listed in an enum.
1442
1442
  """
@@ -1454,7 +1454,7 @@ class MaterialConsistencyCheckSchema6(BaseModel):
1454
1454
  """
1455
1455
 
1456
1456
 
1457
- class MaterialSchema6(BaseModel):
1457
+ class MaterialSchema7(BaseModel):
1458
1458
  formula: Optional[str] = None
1459
1459
  """
1460
1460
  reduced chemical formula
@@ -1463,9 +1463,9 @@ class MaterialSchema6(BaseModel):
1463
1463
  """
1464
1464
  chemical formula based on the number of atoms of each element in the supercell
1465
1465
  """
1466
- basis: BasisSchema7 = Field(..., title="basis schema")
1467
- lattice: LatticeSchema6 = Field(..., title="lattice schema")
1468
- derivedProperties: Optional[List[DerivedPropertiesSchema6]] = Field(None, title="derived properties schema")
1466
+ basis: BasisSchema8 = Field(..., title="basis schema")
1467
+ lattice: LatticeSchema7 = Field(..., title="lattice schema")
1468
+ derivedProperties: Optional[List[DerivedPropertiesSchema7]] = Field(None, title="derived properties schema")
1469
1469
  external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
1470
1470
  """
1471
1471
  information about a database source
@@ -1486,7 +1486,7 @@ class MaterialSchema6(BaseModel):
1486
1486
  """
1487
1487
  Whether to work in the finite molecular picture (usually with atomic orbital basis)
1488
1488
  """
1489
- consistencyChecks: Optional[List[MaterialConsistencyCheckSchema6]] = None
1489
+ consistencyChecks: Optional[List[MaterialConsistencyCheckSchema7]] = None
1490
1490
  field_id: Optional[str] = Field(None, alias="_id")
1491
1491
  """
1492
1492
  entity identity
@@ -1524,7 +1524,7 @@ class PairDefectSchema(BaseModel):
1524
1524
  """
1525
1525
  Configuration for point defects that require a crystal reference
1526
1526
  """
1527
- host: Optional[MaterialSchema6] = None
1527
+ host: Optional[MaterialSchema7] = None
1528
1528
  """
1529
1529
  The base host for the defect
1530
1530
  """