@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
@@ -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).",
@@ -2622,8 +2634,8 @@
2622
2634
  "type": "object",
2623
2635
  "required": [
2624
2636
  "id",
2625
- "source",
2626
- "origin"
2637
+ "origin",
2638
+ "source"
2627
2639
  ],
2628
2640
  "properties": {
2629
2641
  "id": {
@@ -2639,7 +2651,13 @@
2639
2651
  },
2640
2652
  "source": {
2641
2653
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
2642
- "type": "string"
2654
+ "type": "string",
2655
+ "enum": [
2656
+ "MaterialsProject",
2657
+ "MaterialsProjectLegacy",
2658
+ "ICSD",
2659
+ "2dmatpedia"
2660
+ ]
2643
2661
  },
2644
2662
  "origin": {
2645
2663
  "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).",
@@ -3413,8 +3431,8 @@
3413
3431
  "type": "object",
3414
3432
  "required": [
3415
3433
  "id",
3416
- "source",
3417
- "origin"
3434
+ "origin",
3435
+ "source"
3418
3436
  ],
3419
3437
  "properties": {
3420
3438
  "id": {
@@ -3430,7 +3448,13 @@
3430
3448
  },
3431
3449
  "source": {
3432
3450
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
3433
- "type": "string"
3451
+ "type": "string",
3452
+ "enum": [
3453
+ "MaterialsProject",
3454
+ "MaterialsProjectLegacy",
3455
+ "ICSD",
3456
+ "2dmatpedia"
3457
+ ]
3434
3458
  },
3435
3459
  "origin": {
3436
3460
  "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).",
@@ -4220,8 +4244,8 @@
4220
4244
  "type": "object",
4221
4245
  "required": [
4222
4246
  "id",
4223
- "source",
4224
- "origin"
4247
+ "origin",
4248
+ "source"
4225
4249
  ],
4226
4250
  "properties": {
4227
4251
  "id": {
@@ -4237,7 +4261,13 @@
4237
4261
  },
4238
4262
  "source": {
4239
4263
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
4240
- "type": "string"
4264
+ "type": "string",
4265
+ "enum": [
4266
+ "MaterialsProject",
4267
+ "MaterialsProjectLegacy",
4268
+ "ICSD",
4269
+ "2dmatpedia"
4270
+ ]
4241
4271
  },
4242
4272
  "origin": {
4243
4273
  "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).",
@@ -5257,8 +5287,8 @@
5257
5287
  "type": "object",
5258
5288
  "required": [
5259
5289
  "id",
5260
- "source",
5261
- "origin"
5290
+ "origin",
5291
+ "source"
5262
5292
  ],
5263
5293
  "properties": {
5264
5294
  "id": {
@@ -5274,7 +5304,13 @@
5274
5304
  },
5275
5305
  "source": {
5276
5306
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
5277
- "type": "string"
5307
+ "type": "string",
5308
+ "enum": [
5309
+ "MaterialsProject",
5310
+ "MaterialsProjectLegacy",
5311
+ "ICSD",
5312
+ "2dmatpedia"
5313
+ ]
5278
5314
  },
5279
5315
  "origin": {
5280
5316
  "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).",
@@ -820,8 +820,8 @@
820
820
  "type": "object",
821
821
  "required": [
822
822
  "id",
823
- "source",
824
- "origin"
823
+ "origin",
824
+ "source"
825
825
  ],
826
826
  "properties": {
827
827
  "id": {
@@ -837,7 +837,13 @@
837
837
  },
838
838
  "source": {
839
839
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
840
- "type": "string"
840
+ "type": "string",
841
+ "enum": [
842
+ "MaterialsProject",
843
+ "MaterialsProjectLegacy",
844
+ "ICSD",
845
+ "2dmatpedia"
846
+ ]
841
847
  },
842
848
  "origin": {
843
849
  "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).",
@@ -1611,8 +1617,8 @@
1611
1617
  "type": "object",
1612
1618
  "required": [
1613
1619
  "id",
1614
- "source",
1615
- "origin"
1620
+ "origin",
1621
+ "source"
1616
1622
  ],
1617
1623
  "properties": {
1618
1624
  "id": {
@@ -1628,7 +1634,13 @@
1628
1634
  },
1629
1635
  "source": {
1630
1636
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1631
- "type": "string"
1637
+ "type": "string",
1638
+ "enum": [
1639
+ "MaterialsProject",
1640
+ "MaterialsProjectLegacy",
1641
+ "ICSD",
1642
+ "2dmatpedia"
1643
+ ]
1632
1644
  },
1633
1645
  "origin": {
1634
1646
  "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).",
@@ -2623,8 +2635,8 @@
2623
2635
  "type": "object",
2624
2636
  "required": [
2625
2637
  "id",
2626
- "source",
2627
- "origin"
2638
+ "origin",
2639
+ "source"
2628
2640
  ],
2629
2641
  "properties": {
2630
2642
  "id": {
@@ -2640,7 +2652,13 @@
2640
2652
  },
2641
2653
  "source": {
2642
2654
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
2643
- "type": "string"
2655
+ "type": "string",
2656
+ "enum": [
2657
+ "MaterialsProject",
2658
+ "MaterialsProjectLegacy",
2659
+ "ICSD",
2660
+ "2dmatpedia"
2661
+ ]
2644
2662
  },
2645
2663
  "origin": {
2646
2664
  "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).",
@@ -3414,8 +3432,8 @@
3414
3432
  "type": "object",
3415
3433
  "required": [
3416
3434
  "id",
3417
- "source",
3418
- "origin"
3435
+ "origin",
3436
+ "source"
3419
3437
  ],
3420
3438
  "properties": {
3421
3439
  "id": {
@@ -3431,7 +3449,13 @@
3431
3449
  },
3432
3450
  "source": {
3433
3451
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
3434
- "type": "string"
3452
+ "type": "string",
3453
+ "enum": [
3454
+ "MaterialsProject",
3455
+ "MaterialsProjectLegacy",
3456
+ "ICSD",
3457
+ "2dmatpedia"
3458
+ ]
3435
3459
  },
3436
3460
  "origin": {
3437
3461
  "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).",
@@ -4221,8 +4245,8 @@
4221
4245
  "type": "object",
4222
4246
  "required": [
4223
4247
  "id",
4224
- "source",
4225
- "origin"
4248
+ "origin",
4249
+ "source"
4226
4250
  ],
4227
4251
  "properties": {
4228
4252
  "id": {
@@ -4238,7 +4262,13 @@
4238
4262
  },
4239
4263
  "source": {
4240
4264
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
4241
- "type": "string"
4265
+ "type": "string",
4266
+ "enum": [
4267
+ "MaterialsProject",
4268
+ "MaterialsProjectLegacy",
4269
+ "ICSD",
4270
+ "2dmatpedia"
4271
+ ]
4242
4272
  },
4243
4273
  "origin": {
4244
4274
  "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).",
@@ -5258,8 +5288,8 @@
5258
5288
  "type": "object",
5259
5289
  "required": [
5260
5290
  "id",
5261
- "source",
5262
- "origin"
5291
+ "origin",
5292
+ "source"
5263
5293
  ],
5264
5294
  "properties": {
5265
5295
  "id": {
@@ -5275,7 +5305,13 @@
5275
5305
  },
5276
5306
  "source": {
5277
5307
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
5278
- "type": "string"
5308
+ "type": "string",
5309
+ "enum": [
5310
+ "MaterialsProject",
5311
+ "MaterialsProjectLegacy",
5312
+ "ICSD",
5313
+ "2dmatpedia"
5314
+ ]
5279
5315
  },
5280
5316
  "origin": {
5281
5317
  "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).",
@@ -619,8 +619,8 @@
619
619
  "type": "object",
620
620
  "required": [
621
621
  "id",
622
- "source",
623
- "origin"
622
+ "origin",
623
+ "source"
624
624
  ],
625
625
  "properties": {
626
626
  "id": {
@@ -636,7 +636,13 @@
636
636
  },
637
637
  "source": {
638
638
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
639
- "type": "string"
639
+ "type": "string",
640
+ "enum": [
641
+ "MaterialsProject",
642
+ "MaterialsProjectLegacy",
643
+ "ICSD",
644
+ "2dmatpedia"
645
+ ]
640
646
  },
641
647
  "origin": {
642
648
  "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).",
@@ -619,8 +619,8 @@
619
619
  "type": "object",
620
620
  "required": [
621
621
  "id",
622
- "source",
623
- "origin"
622
+ "origin",
623
+ "source"
624
624
  ],
625
625
  "properties": {
626
626
  "id": {
@@ -636,7 +636,13 @@
636
636
  },
637
637
  "source": {
638
638
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
639
- "type": "string"
639
+ "type": "string",
640
+ "enum": [
641
+ "MaterialsProject",
642
+ "MaterialsProjectLegacy",
643
+ "ICSD",
644
+ "2dmatpedia"
645
+ ]
640
646
  },
641
647
  "origin": {
642
648
  "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).",
@@ -1386,8 +1392,8 @@
1386
1392
  "type": "object",
1387
1393
  "required": [
1388
1394
  "id",
1389
- "source",
1390
- "origin"
1395
+ "origin",
1396
+ "source"
1391
1397
  ],
1392
1398
  "properties": {
1393
1399
  "id": {
@@ -1403,7 +1409,13 @@
1403
1409
  },
1404
1410
  "source": {
1405
1411
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1406
- "type": "string"
1412
+ "type": "string",
1413
+ "enum": [
1414
+ "MaterialsProject",
1415
+ "MaterialsProjectLegacy",
1416
+ "ICSD",
1417
+ "2dmatpedia"
1418
+ ]
1407
1419
  },
1408
1420
  "origin": {
1409
1421
  "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).",
@@ -619,8 +619,8 @@
619
619
  "type": "object",
620
620
  "required": [
621
621
  "id",
622
- "source",
623
- "origin"
622
+ "origin",
623
+ "source"
624
624
  ],
625
625
  "properties": {
626
626
  "id": {
@@ -636,7 +636,13 @@
636
636
  },
637
637
  "source": {
638
638
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
639
- "type": "string"
639
+ "type": "string",
640
+ "enum": [
641
+ "MaterialsProject",
642
+ "MaterialsProjectLegacy",
643
+ "ICSD",
644
+ "2dmatpedia"
645
+ ]
640
646
  },
641
647
  "origin": {
642
648
  "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).",
@@ -1386,8 +1392,8 @@
1386
1392
  "type": "object",
1387
1393
  "required": [
1388
1394
  "id",
1389
- "source",
1390
- "origin"
1395
+ "origin",
1396
+ "source"
1391
1397
  ],
1392
1398
  "properties": {
1393
1399
  "id": {
@@ -1403,7 +1409,13 @@
1403
1409
  },
1404
1410
  "source": {
1405
1411
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1406
- "type": "string"
1412
+ "type": "string",
1413
+ "enum": [
1414
+ "MaterialsProject",
1415
+ "MaterialsProjectLegacy",
1416
+ "ICSD",
1417
+ "2dmatpedia"
1418
+ ]
1407
1419
  },
1408
1420
  "origin": {
1409
1421
  "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).",
@@ -619,8 +619,8 @@
619
619
  "type": "object",
620
620
  "required": [
621
621
  "id",
622
- "source",
623
- "origin"
622
+ "origin",
623
+ "source"
624
624
  ],
625
625
  "properties": {
626
626
  "id": {
@@ -636,7 +636,13 @@
636
636
  },
637
637
  "source": {
638
638
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
639
- "type": "string"
639
+ "type": "string",
640
+ "enum": [
641
+ "MaterialsProject",
642
+ "MaterialsProjectLegacy",
643
+ "ICSD",
644
+ "2dmatpedia"
645
+ ]
640
646
  },
641
647
  "origin": {
642
648
  "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).",
@@ -971,8 +971,8 @@
971
971
  "type": "object",
972
972
  "required": [
973
973
  "id",
974
- "source",
975
- "origin"
974
+ "origin",
975
+ "source"
976
976
  ],
977
977
  "properties": {
978
978
  "id": {
@@ -988,7 +988,13 @@
988
988
  },
989
989
  "source": {
990
990
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
991
- "type": "string"
991
+ "type": "string",
992
+ "enum": [
993
+ "MaterialsProject",
994
+ "MaterialsProjectLegacy",
995
+ "ICSD",
996
+ "2dmatpedia"
997
+ ]
992
998
  },
993
999
  "origin": {
994
1000
  "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).",
@@ -1762,8 +1768,8 @@
1762
1768
  "type": "object",
1763
1769
  "required": [
1764
1770
  "id",
1765
- "source",
1766
- "origin"
1771
+ "origin",
1772
+ "source"
1767
1773
  ],
1768
1774
  "properties": {
1769
1775
  "id": {
@@ -1779,7 +1785,13 @@
1779
1785
  },
1780
1786
  "source": {
1781
1787
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1782
- "type": "string"
1788
+ "type": "string",
1789
+ "enum": [
1790
+ "MaterialsProject",
1791
+ "MaterialsProjectLegacy",
1792
+ "ICSD",
1793
+ "2dmatpedia"
1794
+ ]
1783
1795
  },
1784
1796
  "origin": {
1785
1797
  "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).",
@@ -2588,8 +2600,8 @@
2588
2600
  "type": "object",
2589
2601
  "required": [
2590
2602
  "id",
2591
- "source",
2592
- "origin"
2603
+ "origin",
2604
+ "source"
2593
2605
  ],
2594
2606
  "properties": {
2595
2607
  "id": {
@@ -2605,7 +2617,13 @@
2605
2617
  },
2606
2618
  "source": {
2607
2619
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
2608
- "type": "string"
2620
+ "type": "string",
2621
+ "enum": [
2622
+ "MaterialsProject",
2623
+ "MaterialsProjectLegacy",
2624
+ "ICSD",
2625
+ "2dmatpedia"
2626
+ ]
2609
2627
  },
2610
2628
  "origin": {
2611
2629
  "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).",
@@ -956,8 +956,8 @@
956
956
  "type": "object",
957
957
  "required": [
958
958
  "id",
959
- "source",
960
- "origin"
959
+ "origin",
960
+ "source"
961
961
  ],
962
962
  "properties": {
963
963
  "id": {
@@ -973,7 +973,13 @@
973
973
  },
974
974
  "source": {
975
975
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
976
- "type": "string"
976
+ "type": "string",
977
+ "enum": [
978
+ "MaterialsProject",
979
+ "MaterialsProjectLegacy",
980
+ "ICSD",
981
+ "2dmatpedia"
982
+ ]
977
983
  },
978
984
  "origin": {
979
985
  "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).",
@@ -1747,8 +1753,8 @@
1747
1753
  "type": "object",
1748
1754
  "required": [
1749
1755
  "id",
1750
- "source",
1751
- "origin"
1756
+ "origin",
1757
+ "source"
1752
1758
  ],
1753
1759
  "properties": {
1754
1760
  "id": {
@@ -1764,7 +1770,13 @@
1764
1770
  },
1765
1771
  "source": {
1766
1772
  "description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
1767
- "type": "string"
1773
+ "type": "string",
1774
+ "enum": [
1775
+ "MaterialsProject",
1776
+ "MaterialsProjectLegacy",
1777
+ "ICSD",
1778
+ "2dmatpedia"
1779
+ ]
1768
1780
  },
1769
1781
  "origin": {
1770
1782
  "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).",