@mat3ra/esse 2025.10.8-0 → 2025.11.7-0

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.
Files changed (49) hide show
  1. package/dist/js/example/apse/db/materials_project/2025.9.25/summary.json +1172 -0
  2. package/dist/js/example/apse/db/materials_project/legacy/material.json +234 -0
  3. package/dist/js/schema/apse/db/materials_project/2025.9.25/summary.json +2803 -0
  4. package/dist/js/schema/apse/db/materials_project/legacy/material.json +297 -0
  5. package/dist/js/schema/apse/db/third_party_sources.json +20 -0
  6. package/dist/js/schema/material.json +9 -3
  7. package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +81 -27
  8. package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +81 -27
  9. package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +36 -12
  10. package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +81 -27
  11. package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +54 -18
  12. package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +54 -18
  13. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +9 -3
  14. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +18 -6
  15. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +18 -6
  16. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +9 -3
  17. package/dist/js/schema/materials_category/pristine_structures/three_dimensional/ideal_crystal.json +9 -3
  18. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +27 -9
  19. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +18 -6
  20. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +18 -6
  21. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +18 -6
  22. package/dist/js/schema/materials_category/processed_structures/two_dimensional/passivation/configuration.json +18 -6
  23. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +9 -3
  24. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +9 -3
  25. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +9 -3
  26. package/dist/js/schema/materials_category_components/entities/core/three_dimensional/crystal.json +9 -3
  27. package/dist/js/schema/materials_category_components/entities/core/two_dimensional/vacuum.json +9 -3
  28. package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +9 -3
  29. package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +9 -3
  30. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/crystal_lattice_base.json +9 -3
  31. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_non_uniform.json +9 -3
  32. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_uniform.json +9 -3
  33. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/supercell.json +9 -3
  34. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers.json +9 -3
  35. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique.json +9 -3
  36. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated.json +9 -3
  37. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/crystal_lattice_planes.json +9 -3
  38. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +27 -9
  39. package/dist/js/schema/materials_category_components/operations/core/modifications/perturb.json +9 -3
  40. package/dist/js/schemas.json +1 -1
  41. package/dist/js/types.d.ts +1372 -100
  42. package/dist/js/types.js +1 -1
  43. package/example/apse/db/materials_project/2025.9.25/summary.json +1172 -0
  44. package/example/apse/db/materials_project/legacy/material.json +234 -0
  45. package/package.json +1 -1
  46. package/schema/apse/db/materials_project/2025.9.25/summary.json +1265 -0
  47. package/schema/apse/db/materials_project/legacy/material.json +297 -0
  48. package/schema/apse/db/third_party_sources.json +20 -0
  49. package/schema/material.json +8 -2
@@ -804,8 +804,8 @@
804
804
  "type": "object",
805
805
  "required": [
806
806
  "id",
807
- "source",
808
- "origin"
807
+ "origin",
808
+ "source"
809
809
  ],
810
810
  "properties": {
811
811
  "id": {
@@ -821,7 +821,13 @@
821
821
  },
822
822
  "source": {
823
823
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
824
- "type": "string"
824
+ "type": "string",
825
+ "enum": [
826
+ "MaterialsProject",
827
+ "MaterialsProjectLegacy",
828
+ "ICSD",
829
+ "2dmatpedia"
830
+ ]
825
831
  },
826
832
  "origin": {
827
833
  "description": "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).",
@@ -1595,8 +1601,8 @@
1595
1601
  "type": "object",
1596
1602
  "required": [
1597
1603
  "id",
1598
- "source",
1599
- "origin"
1604
+ "origin",
1605
+ "source"
1600
1606
  ],
1601
1607
  "properties": {
1602
1608
  "id": {
@@ -1612,7 +1618,13 @@
1612
1618
  },
1613
1619
  "source": {
1614
1620
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1615
- "type": "string"
1621
+ "type": "string",
1622
+ "enum": [
1623
+ "MaterialsProject",
1624
+ "MaterialsProjectLegacy",
1625
+ "ICSD",
1626
+ "2dmatpedia"
1627
+ ]
1616
1628
  },
1617
1629
  "origin": {
1618
1630
  "description": "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).",
@@ -849,8 +849,8 @@
849
849
  "type": "object",
850
850
  "required": [
851
851
  "id",
852
- "source",
853
- "origin"
852
+ "origin",
853
+ "source"
854
854
  ],
855
855
  "properties": {
856
856
  "id": {
@@ -866,7 +866,13 @@
866
866
  },
867
867
  "source": {
868
868
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
869
- "type": "string"
869
+ "type": "string",
870
+ "enum": [
871
+ "MaterialsProject",
872
+ "MaterialsProjectLegacy",
873
+ "ICSD",
874
+ "2dmatpedia"
875
+ ]
870
876
  },
871
877
  "origin": {
872
878
  "description": "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).",
@@ -1640,8 +1646,8 @@
1640
1646
  "type": "object",
1641
1647
  "required": [
1642
1648
  "id",
1643
- "source",
1644
- "origin"
1649
+ "origin",
1650
+ "source"
1645
1651
  ],
1646
1652
  "properties": {
1647
1653
  "id": {
@@ -1657,7 +1663,13 @@
1657
1663
  },
1658
1664
  "source": {
1659
1665
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1660
- "type": "string"
1666
+ "type": "string",
1667
+ "enum": [
1668
+ "MaterialsProject",
1669
+ "MaterialsProjectLegacy",
1670
+ "ICSD",
1671
+ "2dmatpedia"
1672
+ ]
1661
1673
  },
1662
1674
  "origin": {
1663
1675
  "description": "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).",
@@ -620,8 +620,8 @@
620
620
  "type": "object",
621
621
  "required": [
622
622
  "id",
623
- "source",
624
- "origin"
623
+ "origin",
624
+ "source"
625
625
  ],
626
626
  "properties": {
627
627
  "id": {
@@ -637,7 +637,13 @@
637
637
  },
638
638
  "source": {
639
639
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
640
- "type": "string"
640
+ "type": "string",
641
+ "enum": [
642
+ "MaterialsProject",
643
+ "MaterialsProjectLegacy",
644
+ "ICSD",
645
+ "2dmatpedia"
646
+ ]
641
647
  },
642
648
  "origin": {
643
649
  "description": "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).",
@@ -1387,8 +1393,8 @@
1387
1393
  "type": "object",
1388
1394
  "required": [
1389
1395
  "id",
1390
- "source",
1391
- "origin"
1396
+ "origin",
1397
+ "source"
1392
1398
  ],
1393
1399
  "properties": {
1394
1400
  "id": {
@@ -1404,7 +1410,13 @@
1404
1410
  },
1405
1411
  "source": {
1406
1412
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1407
- "type": "string"
1413
+ "type": "string",
1414
+ "enum": [
1415
+ "MaterialsProject",
1416
+ "MaterialsProjectLegacy",
1417
+ "ICSD",
1418
+ "2dmatpedia"
1419
+ ]
1408
1420
  },
1409
1421
  "origin": {
1410
1422
  "description": "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).",
@@ -615,8 +615,8 @@
615
615
  "type": "object",
616
616
  "required": [
617
617
  "id",
618
- "source",
619
- "origin"
618
+ "origin",
619
+ "source"
620
620
  ],
621
621
  "properties": {
622
622
  "id": {
@@ -632,7 +632,13 @@
632
632
  },
633
633
  "source": {
634
634
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
635
- "type": "string"
635
+ "type": "string",
636
+ "enum": [
637
+ "MaterialsProject",
638
+ "MaterialsProjectLegacy",
639
+ "ICSD",
640
+ "2dmatpedia"
641
+ ]
636
642
  },
637
643
  "origin": {
638
644
  "description": "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).",
@@ -616,8 +616,8 @@
616
616
  "type": "object",
617
617
  "required": [
618
618
  "id",
619
- "source",
620
- "origin"
619
+ "origin",
620
+ "source"
621
621
  ],
622
622
  "properties": {
623
623
  "id": {
@@ -633,7 +633,13 @@
633
633
  },
634
634
  "source": {
635
635
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
636
- "type": "string"
636
+ "type": "string",
637
+ "enum": [
638
+ "MaterialsProject",
639
+ "MaterialsProjectLegacy",
640
+ "ICSD",
641
+ "2dmatpedia"
642
+ ]
637
643
  },
638
644
  "origin": {
639
645
  "description": "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).",
@@ -614,8 +614,8 @@
614
614
  "type": "object",
615
615
  "required": [
616
616
  "id",
617
- "source",
618
- "origin"
617
+ "origin",
618
+ "source"
619
619
  ],
620
620
  "properties": {
621
621
  "id": {
@@ -631,7 +631,13 @@
631
631
  },
632
632
  "source": {
633
633
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
634
- "type": "string"
634
+ "type": "string",
635
+ "enum": [
636
+ "MaterialsProject",
637
+ "MaterialsProjectLegacy",
638
+ "ICSD",
639
+ "2dmatpedia"
640
+ ]
635
641
  },
636
642
  "origin": {
637
643
  "description": "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).",
@@ -605,8 +605,8 @@
605
605
  "type": "object",
606
606
  "required": [
607
607
  "id",
608
- "source",
609
- "origin"
608
+ "origin",
609
+ "source"
610
610
  ],
611
611
  "properties": {
612
612
  "id": {
@@ -622,7 +622,13 @@
622
622
  },
623
623
  "source": {
624
624
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
625
- "type": "string"
625
+ "type": "string",
626
+ "enum": [
627
+ "MaterialsProject",
628
+ "MaterialsProjectLegacy",
629
+ "ICSD",
630
+ "2dmatpedia"
631
+ ]
626
632
  },
627
633
  "origin": {
628
634
  "description": "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).",
@@ -633,8 +633,8 @@
633
633
  "type": "object",
634
634
  "required": [
635
635
  "id",
636
- "source",
637
- "origin"
636
+ "origin",
637
+ "source"
638
638
  ],
639
639
  "properties": {
640
640
  "id": {
@@ -650,7 +650,13 @@
650
650
  },
651
651
  "source": {
652
652
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
653
- "type": "string"
653
+ "type": "string",
654
+ "enum": [
655
+ "MaterialsProject",
656
+ "MaterialsProjectLegacy",
657
+ "ICSD",
658
+ "2dmatpedia"
659
+ ]
654
660
  },
655
661
  "origin": {
656
662
  "description": "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).",
@@ -626,8 +626,8 @@
626
626
  "type": "object",
627
627
  "required": [
628
628
  "id",
629
- "source",
630
- "origin"
629
+ "origin",
630
+ "source"
631
631
  ],
632
632
  "properties": {
633
633
  "id": {
@@ -643,7 +643,13 @@
643
643
  },
644
644
  "source": {
645
645
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
646
- "type": "string"
646
+ "type": "string",
647
+ "enum": [
648
+ "MaterialsProject",
649
+ "MaterialsProjectLegacy",
650
+ "ICSD",
651
+ "2dmatpedia"
652
+ ]
647
653
  },
648
654
  "origin": {
649
655
  "description": "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).",
@@ -941,8 +941,8 @@
941
941
  "type": "object",
942
942
  "required": [
943
943
  "id",
944
- "source",
945
- "origin"
944
+ "origin",
945
+ "source"
946
946
  ],
947
947
  "properties": {
948
948
  "id": {
@@ -958,7 +958,13 @@
958
958
  },
959
959
  "source": {
960
960
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
961
- "type": "string"
961
+ "type": "string",
962
+ "enum": [
963
+ "MaterialsProject",
964
+ "MaterialsProjectLegacy",
965
+ "ICSD",
966
+ "2dmatpedia"
967
+ ]
962
968
  },
963
969
  "origin": {
964
970
  "description": "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).",
@@ -614,8 +614,8 @@
614
614
  "type": "object",
615
615
  "required": [
616
616
  "id",
617
- "source",
618
- "origin"
617
+ "origin",
618
+ "source"
619
619
  ],
620
620
  "properties": {
621
621
  "id": {
@@ -631,7 +631,13 @@
631
631
  },
632
632
  "source": {
633
633
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
634
- "type": "string"
634
+ "type": "string",
635
+ "enum": [
636
+ "MaterialsProject",
637
+ "MaterialsProjectLegacy",
638
+ "ICSD",
639
+ "2dmatpedia"
640
+ ]
635
641
  },
636
642
  "origin": {
637
643
  "description": "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).",
@@ -615,8 +615,8 @@
615
615
  "type": "object",
616
616
  "required": [
617
617
  "id",
618
- "source",
619
- "origin"
618
+ "origin",
619
+ "source"
620
620
  ],
621
621
  "properties": {
622
622
  "id": {
@@ -632,7 +632,13 @@
632
632
  },
633
633
  "source": {
634
634
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
635
- "type": "string"
635
+ "type": "string",
636
+ "enum": [
637
+ "MaterialsProject",
638
+ "MaterialsProjectLegacy",
639
+ "ICSD",
640
+ "2dmatpedia"
641
+ ]
636
642
  },
637
643
  "origin": {
638
644
  "description": "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).",
@@ -615,8 +615,8 @@
615
615
  "type": "object",
616
616
  "required": [
617
617
  "id",
618
- "source",
619
- "origin"
618
+ "origin",
619
+ "source"
620
620
  ],
621
621
  "properties": {
622
622
  "id": {
@@ -632,7 +632,13 @@
632
632
  },
633
633
  "source": {
634
634
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
635
- "type": "string"
635
+ "type": "string",
636
+ "enum": [
637
+ "MaterialsProject",
638
+ "MaterialsProjectLegacy",
639
+ "ICSD",
640
+ "2dmatpedia"
641
+ ]
636
642
  },
637
643
  "origin": {
638
644
  "description": "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).",
@@ -615,8 +615,8 @@
615
615
  "type": "object",
616
616
  "required": [
617
617
  "id",
618
- "source",
619
- "origin"
618
+ "origin",
619
+ "source"
620
620
  ],
621
621
  "properties": {
622
622
  "id": {
@@ -632,7 +632,13 @@
632
632
  },
633
633
  "source": {
634
634
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
635
- "type": "string"
635
+ "type": "string",
636
+ "enum": [
637
+ "MaterialsProject",
638
+ "MaterialsProjectLegacy",
639
+ "ICSD",
640
+ "2dmatpedia"
641
+ ]
636
642
  },
637
643
  "origin": {
638
644
  "description": "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).",
@@ -788,8 +788,8 @@
788
788
  "type": "object",
789
789
  "required": [
790
790
  "id",
791
- "source",
792
- "origin"
791
+ "origin",
792
+ "source"
793
793
  ],
794
794
  "properties": {
795
795
  "id": {
@@ -805,7 +805,13 @@
805
805
  },
806
806
  "source": {
807
807
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
808
- "type": "string"
808
+ "type": "string",
809
+ "enum": [
810
+ "MaterialsProject",
811
+ "MaterialsProjectLegacy",
812
+ "ICSD",
813
+ "2dmatpedia"
814
+ ]
809
815
  },
810
816
  "origin": {
811
817
  "description": "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).",
@@ -788,8 +788,8 @@
788
788
  "type": "object",
789
789
  "required": [
790
790
  "id",
791
- "source",
792
- "origin"
791
+ "origin",
792
+ "source"
793
793
  ],
794
794
  "properties": {
795
795
  "id": {
@@ -805,7 +805,13 @@
805
805
  },
806
806
  "source": {
807
807
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
808
- "type": "string"
808
+ "type": "string",
809
+ "enum": [
810
+ "MaterialsProject",
811
+ "MaterialsProjectLegacy",
812
+ "ICSD",
813
+ "2dmatpedia"
814
+ ]
809
815
  },
810
816
  "origin": {
811
817
  "description": "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).",
@@ -789,8 +789,8 @@
789
789
  "type": "object",
790
790
  "required": [
791
791
  "id",
792
- "source",
793
- "origin"
792
+ "origin",
793
+ "source"
794
794
  ],
795
795
  "properties": {
796
796
  "id": {
@@ -806,7 +806,13 @@
806
806
  },
807
807
  "source": {
808
808
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
809
- "type": "string"
809
+ "type": "string",
810
+ "enum": [
811
+ "MaterialsProject",
812
+ "MaterialsProjectLegacy",
813
+ "ICSD",
814
+ "2dmatpedia"
815
+ ]
810
816
  },
811
817
  "origin": {
812
818
  "description": "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).",
@@ -631,8 +631,8 @@
631
631
  "type": "object",
632
632
  "required": [
633
633
  "id",
634
- "source",
635
- "origin"
634
+ "origin",
635
+ "source"
636
636
  ],
637
637
  "properties": {
638
638
  "id": {
@@ -648,7 +648,13 @@
648
648
  },
649
649
  "source": {
650
650
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
651
- "type": "string"
651
+ "type": "string",
652
+ "enum": [
653
+ "MaterialsProject",
654
+ "MaterialsProjectLegacy",
655
+ "ICSD",
656
+ "2dmatpedia"
657
+ ]
652
658
  },
653
659
  "origin": {
654
660
  "description": "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).",
@@ -819,8 +819,8 @@
819
819
  "type": "object",
820
820
  "required": [
821
821
  "id",
822
- "source",
823
- "origin"
822
+ "origin",
823
+ "source"
824
824
  ],
825
825
  "properties": {
826
826
  "id": {
@@ -836,7 +836,13 @@
836
836
  },
837
837
  "source": {
838
838
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
839
- "type": "string"
839
+ "type": "string",
840
+ "enum": [
841
+ "MaterialsProject",
842
+ "MaterialsProjectLegacy",
843
+ "ICSD",
844
+ "2dmatpedia"
845
+ ]
840
846
  },
841
847
  "origin": {
842
848
  "description": "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).",
@@ -1610,8 +1616,8 @@
1610
1616
  "type": "object",
1611
1617
  "required": [
1612
1618
  "id",
1613
- "source",
1614
- "origin"
1619
+ "origin",
1620
+ "source"
1615
1621
  ],
1616
1622
  "properties": {
1617
1623
  "id": {
@@ -1627,7 +1633,13 @@
1627
1633
  },
1628
1634
  "source": {
1629
1635
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1630
- "type": "string"
1636
+ "type": "string",
1637
+ "enum": [
1638
+ "MaterialsProject",
1639
+ "MaterialsProjectLegacy",
1640
+ "ICSD",
1641
+ "2dmatpedia"
1642
+ ]
1631
1643
  },
1632
1644
  "origin": {
1633
1645
  "description": "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).",
@@ -2439,8 +2451,8 @@
2439
2451
  "type": "object",
2440
2452
  "required": [
2441
2453
  "id",
2442
- "source",
2443
- "origin"
2454
+ "origin",
2455
+ "source"
2444
2456
  ],
2445
2457
  "properties": {
2446
2458
  "id": {
@@ -2456,7 +2468,13 @@
2456
2468
  },
2457
2469
  "source": {
2458
2470
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
2459
- "type": "string"
2471
+ "type": "string",
2472
+ "enum": [
2473
+ "MaterialsProject",
2474
+ "MaterialsProjectLegacy",
2475
+ "ICSD",
2476
+ "2dmatpedia"
2477
+ ]
2460
2478
  },
2461
2479
  "origin": {
2462
2480
  "description": "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).",