@mat3ra/esse 2025.1.27-0 → 2025.4.11-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.
- package/.pre-commit-config.yaml +3 -2
- package/dist/js/schema/core/primitive/integer_positive_single_digit.json +8 -0
- package/dist/js/schema/definitions/constants.json +52 -0
- package/dist/js/schema/definitions/units.json +41 -5
- package/dist/js/schema/element.json +4 -5
- package/dist/js/schema/material.json +35 -66
- package/dist/js/schema/properties_directory/elemental/atomic_radius.json +4 -5
- package/dist/js/schema/properties_directory/non_scalar/average_potential_profile.json +4 -5
- package/dist/js/schema/properties_directory/non_scalar/band_structure.json +2 -10
- package/dist/js/schema/properties_directory/non_scalar/phonon_dispersions.json +2 -10
- package/dist/js/schema/properties_directory/structural/basis/atomic_coordinates.json +4 -5
- package/dist/js/schema/properties_directory/structural/basis/atomic_label.json +19 -0
- package/dist/js/schema/properties_directory/structural/basis.json +19 -50
- package/dist/js/schema/properties_directory/structural/lattice/lattice_bravais.json +12 -6
- package/dist/js/schema/properties_directory/structural/lattice/lattice_vectors.json +4 -5
- package/dist/js/schema/properties_directory/structural/lattice/type_enum.json +3 -2
- package/dist/js/schema/properties_directory/structural/lattice/type_extended_enum.json +3 -2
- package/dist/js/schema/properties_directory/structural/lattice.json +16 -16
- package/dist/js/schemas.json +1 -1
- package/dist/js/types.d.ts +66 -110
- package/package.json +1 -1
- package/schema/core/primitive/integer_positive_single_digit.json +8 -0
- package/schema/definitions/constants.json +52 -0
- package/schema/definitions/units.json +41 -5
- package/schema/properties_directory/non-scalar/band_structure.json +1 -1
- package/schema/properties_directory/non-scalar/phonon_dispersions.json +1 -1
- package/schema/properties_directory/structural/basis/atomic_label.json +15 -0
- package/schema/properties_directory/structural/basis.json +12 -20
- package/schema/properties_directory/structural/lattice/lattice_bravais.json +7 -10
- package/schema/properties_directory/structural/lattice/type_enum.json +3 -2
- package/schema/properties_directory/structural/lattice/type_extended_enum.json +3 -2
- package/schema/properties_directory/structural/lattice.json +1 -8
package/dist/js/types.d.ts
CHANGED
|
@@ -56,23 +56,7 @@ export interface NISTJARVISDbEntrySchema {
|
|
|
56
56
|
* @minItems 3
|
|
57
57
|
* @maxItems 3
|
|
58
58
|
*/
|
|
59
|
-
lattice_mat?: [
|
|
60
|
-
[
|
|
61
|
-
number,
|
|
62
|
-
number,
|
|
63
|
-
number
|
|
64
|
-
],
|
|
65
|
-
[
|
|
66
|
-
number,
|
|
67
|
-
number,
|
|
68
|
-
number
|
|
69
|
-
],
|
|
70
|
-
[
|
|
71
|
-
number,
|
|
72
|
-
number,
|
|
73
|
-
number
|
|
74
|
-
]
|
|
75
|
-
];
|
|
59
|
+
lattice_mat?: [[number, number, number], [number, number, number], [number, number, number]];
|
|
76
60
|
/**
|
|
77
61
|
* Atomic coordinates for each atom in the unit cell
|
|
78
62
|
*
|
|
@@ -1621,23 +1605,7 @@ export interface DimensionalGridSchema {
|
|
|
1621
1605
|
* @minItems 3
|
|
1622
1606
|
* @maxItems 3
|
|
1623
1607
|
*/
|
|
1624
|
-
export type DimensionalTensorSchema = [
|
|
1625
|
-
[
|
|
1626
|
-
number,
|
|
1627
|
-
number,
|
|
1628
|
-
number
|
|
1629
|
-
],
|
|
1630
|
-
[
|
|
1631
|
-
number,
|
|
1632
|
-
number,
|
|
1633
|
-
number
|
|
1634
|
-
],
|
|
1635
|
-
[
|
|
1636
|
-
number,
|
|
1637
|
-
number,
|
|
1638
|
-
number
|
|
1639
|
-
]
|
|
1640
|
-
];
|
|
1608
|
+
export type DimensionalTensorSchema = [[number, number, number], [number, number, number], [number, number, number]];
|
|
1641
1609
|
/** Schema dist/js/schema/core/abstract/3d_vector_basis.json */
|
|
1642
1610
|
export interface DimensionalVectorBasis {
|
|
1643
1611
|
/**
|
|
@@ -1744,6 +1712,8 @@ export interface GroupInfoSchemaForNodesInAGraph {
|
|
|
1744
1712
|
}
|
|
1745
1713
|
/** Schema dist/js/schema/core/primitive/integer_one_or_zero.json */
|
|
1746
1714
|
export type IntegerOneOrZero = number;
|
|
1715
|
+
/** Schema dist/js/schema/core/primitive/integer_positive_single_digit.json */
|
|
1716
|
+
export type IntegerPositiveSingleDigit = number;
|
|
1747
1717
|
/** Schema dist/js/schema/core/primitive/linked_list/base_node.json */
|
|
1748
1718
|
export interface BasicNodeSchemaLinkedList {
|
|
1749
1719
|
/**
|
|
@@ -2809,8 +2779,42 @@ export interface ObjectStorageContainerData {
|
|
|
2809
2779
|
*/
|
|
2810
2780
|
TIMESTAMP?: string;
|
|
2811
2781
|
}
|
|
2782
|
+
/** Schema dist/js/schema/definitions/constants.json */
|
|
2783
|
+
/**
|
|
2784
|
+
* Fundamental physical constants, 2022 NIST CODATA (https://doi.org/10.48550/arXiv.2409.03787)
|
|
2785
|
+
*/
|
|
2786
|
+
export interface FundamentalConstants {
|
|
2787
|
+
/**
|
|
2788
|
+
* speed of light in vacuum, "units": "m/s"
|
|
2789
|
+
*/
|
|
2790
|
+
c: number;
|
|
2791
|
+
/**
|
|
2792
|
+
* Planck constant, "units": "J s"
|
|
2793
|
+
*/
|
|
2794
|
+
h: number;
|
|
2795
|
+
/**
|
|
2796
|
+
* elementary charge, "units": "C"
|
|
2797
|
+
*/
|
|
2798
|
+
e: number;
|
|
2799
|
+
/**
|
|
2800
|
+
* Newtonian constant of gravitation, "units": "m^3/kg/s^2"
|
|
2801
|
+
*/
|
|
2802
|
+
G: number;
|
|
2803
|
+
/**
|
|
2804
|
+
* electron mass "units": "kg"
|
|
2805
|
+
*/
|
|
2806
|
+
me: number;
|
|
2807
|
+
/**
|
|
2808
|
+
* vacuum permittivity, "units": "F/m"
|
|
2809
|
+
*/
|
|
2810
|
+
eps0: number;
|
|
2811
|
+
/**
|
|
2812
|
+
* vacuum permeability, "units": "N/A^2"
|
|
2813
|
+
*/
|
|
2814
|
+
mu0: number;
|
|
2815
|
+
}
|
|
2812
2816
|
/** Schema dist/js/schema/definitions/units.json */
|
|
2813
|
-
export interface
|
|
2817
|
+
export interface AllUnitsDefinitions {
|
|
2814
2818
|
[k: string]: unknown;
|
|
2815
2819
|
}
|
|
2816
2820
|
/** Schema dist/js/schema/element.json */
|
|
@@ -2824,7 +2828,7 @@ export interface ElementSchema {
|
|
|
2824
2828
|
*/
|
|
2825
2829
|
properties?: ({
|
|
2826
2830
|
name?: "atomic_radius";
|
|
2827
|
-
units?: "km" | "m" | "
|
|
2831
|
+
units?: "km" | "m" | "cm" | "mm" | "um" | "nm" | "angstrom" | "a.u." | "bohr" | "pm";
|
|
2828
2832
|
value: number;
|
|
2829
2833
|
} | {
|
|
2830
2834
|
name?: "electronegativity";
|
|
@@ -6125,51 +6129,23 @@ export interface MaterialSchema {
|
|
|
6125
6129
|
occurrence?: number;
|
|
6126
6130
|
oxidationState?: number;
|
|
6127
6131
|
}[];
|
|
6128
|
-
/**
|
|
6129
|
-
* Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.
|
|
6130
|
-
*/
|
|
6131
|
-
labels?: {
|
|
6132
|
-
id?: number;
|
|
6133
|
-
value?: number;
|
|
6134
|
-
}[];
|
|
6135
6132
|
coordinates: {
|
|
6136
6133
|
id?: number;
|
|
6137
6134
|
value?: [number, number, number] | [boolean, boolean, boolean];
|
|
6138
6135
|
}[];
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
* indices of the two connected atoms
|
|
6144
|
-
*
|
|
6145
|
-
* @minItems 2
|
|
6146
|
-
* @maxItems 2
|
|
6147
|
-
*/
|
|
6148
|
-
atomPair?: [
|
|
6149
|
-
{
|
|
6150
|
-
/**
|
|
6151
|
-
* integer id of this entry
|
|
6152
|
-
*/
|
|
6153
|
-
id?: number;
|
|
6154
|
-
},
|
|
6155
|
-
{
|
|
6156
|
-
/**
|
|
6157
|
-
* integer id of this entry
|
|
6158
|
-
*/
|
|
6159
|
-
id?: number;
|
|
6160
|
-
}
|
|
6161
|
-
];
|
|
6162
|
-
bondType?: "single" | "double" | "triple" | "quadruple" | "aromatic" | "tautomeric" | "dative" | "other";
|
|
6136
|
+
units?: "crystal" | "cartesian";
|
|
6137
|
+
labels?: {
|
|
6138
|
+
id?: number;
|
|
6139
|
+
value?: number;
|
|
6163
6140
|
}[];
|
|
6164
6141
|
};
|
|
6165
6142
|
lattice: {
|
|
6166
|
-
name?: "lattice";
|
|
6167
6143
|
vectors?: {
|
|
6168
6144
|
/**
|
|
6169
6145
|
* lattice parameter for fractional coordinates
|
|
6170
6146
|
*/
|
|
6171
6147
|
alat?: number;
|
|
6172
|
-
units?: "km" | "m" | "
|
|
6148
|
+
units?: "km" | "m" | "cm" | "mm" | "um" | "nm" | "angstrom" | "a.u." | "bohr" | "pm";
|
|
6173
6149
|
/**
|
|
6174
6150
|
* @minItems 3
|
|
6175
6151
|
* @maxItems 3
|
|
@@ -15425,7 +15401,7 @@ export interface ElectronicConfigurationSchema {
|
|
|
15425
15401
|
*/
|
|
15426
15402
|
export interface AtomicRadius {
|
|
15427
15403
|
name?: "atomic_radius";
|
|
15428
|
-
units?: "km" | "m" | "
|
|
15404
|
+
units?: "km" | "m" | "cm" | "mm" | "um" | "nm" | "angstrom" | "a.u." | "bohr" | "pm";
|
|
15429
15405
|
value: number;
|
|
15430
15406
|
}
|
|
15431
15407
|
/** Schema dist/js/schema/properties_directory/elemental/electronegativity.json */
|
|
@@ -15455,7 +15431,7 @@ export interface AveragePotentialProfileSchema {
|
|
|
15455
15431
|
/**
|
|
15456
15432
|
* units for an axis
|
|
15457
15433
|
*/
|
|
15458
|
-
units?: "km" | "m" | "
|
|
15434
|
+
units?: "km" | "m" | "cm" | "mm" | "um" | "nm" | "angstrom" | "a.u." | "bohr" | "pm";
|
|
15459
15435
|
};
|
|
15460
15436
|
yAxis: {
|
|
15461
15437
|
/**
|
|
@@ -15534,7 +15510,7 @@ export interface BandStructureSchema {
|
|
|
15534
15510
|
/**
|
|
15535
15511
|
* units for an axis
|
|
15536
15512
|
*/
|
|
15537
|
-
units?: "
|
|
15513
|
+
units?: "crystal" | "cartesian";
|
|
15538
15514
|
};
|
|
15539
15515
|
yAxis: {
|
|
15540
15516
|
/**
|
|
@@ -15839,7 +15815,7 @@ export interface PhononBandStructureSchema {
|
|
|
15839
15815
|
/**
|
|
15840
15816
|
* units for an axis
|
|
15841
15817
|
*/
|
|
15842
|
-
units?: "
|
|
15818
|
+
units?: "crystal" | "cartesian";
|
|
15843
15819
|
};
|
|
15844
15820
|
yAxis: {
|
|
15845
15821
|
/**
|
|
@@ -16232,7 +16208,7 @@ export interface AtomicCoordinates {
|
|
|
16232
16208
|
id?: number;
|
|
16233
16209
|
value?: [number, number, number] | [boolean, boolean, boolean];
|
|
16234
16210
|
}[];
|
|
16235
|
-
units?: "km" | "m" | "
|
|
16211
|
+
units?: "km" | "m" | "cm" | "mm" | "um" | "nm" | "angstrom" | "a.u." | "bohr" | "pm";
|
|
16236
16212
|
}
|
|
16237
16213
|
/** Schema dist/js/schema/properties_directory/structural/basis/atomic_element.json */
|
|
16238
16214
|
/**
|
|
@@ -16247,6 +16223,14 @@ export interface AtomicElements {
|
|
|
16247
16223
|
occurrence?: number;
|
|
16248
16224
|
oxidationState?: number;
|
|
16249
16225
|
}
|
|
16226
|
+
/** Schema dist/js/schema/properties_directory/structural/basis/atomic_label.json */
|
|
16227
|
+
/**
|
|
16228
|
+
* Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.
|
|
16229
|
+
*/
|
|
16230
|
+
export interface AtomicLabel {
|
|
16231
|
+
id?: number;
|
|
16232
|
+
value?: number;
|
|
16233
|
+
}
|
|
16250
16234
|
/** Schema dist/js/schema/properties_directory/structural/basis/bonds.json */
|
|
16251
16235
|
export type BondsSchema = {
|
|
16252
16236
|
/**
|
|
@@ -16282,41 +16266,14 @@ export interface BasisSchema {
|
|
|
16282
16266
|
occurrence?: number;
|
|
16283
16267
|
oxidationState?: number;
|
|
16284
16268
|
}[];
|
|
16285
|
-
/**
|
|
16286
|
-
* Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.
|
|
16287
|
-
*/
|
|
16288
|
-
labels?: {
|
|
16289
|
-
id?: number;
|
|
16290
|
-
value?: number;
|
|
16291
|
-
}[];
|
|
16292
16269
|
coordinates: {
|
|
16293
16270
|
id?: number;
|
|
16294
16271
|
value?: [number, number, number] | [boolean, boolean, boolean];
|
|
16295
16272
|
}[];
|
|
16296
|
-
|
|
16297
|
-
|
|
16298
|
-
|
|
16299
|
-
|
|
16300
|
-
* indices of the two connected atoms
|
|
16301
|
-
*
|
|
16302
|
-
* @minItems 2
|
|
16303
|
-
* @maxItems 2
|
|
16304
|
-
*/
|
|
16305
|
-
atomPair?: [
|
|
16306
|
-
{
|
|
16307
|
-
/**
|
|
16308
|
-
* integer id of this entry
|
|
16309
|
-
*/
|
|
16310
|
-
id?: number;
|
|
16311
|
-
},
|
|
16312
|
-
{
|
|
16313
|
-
/**
|
|
16314
|
-
* integer id of this entry
|
|
16315
|
-
*/
|
|
16316
|
-
id?: number;
|
|
16317
|
-
}
|
|
16318
|
-
];
|
|
16319
|
-
bondType?: "single" | "double" | "triple" | "quadruple" | "aromatic" | "tautomeric" | "dative" | "other";
|
|
16273
|
+
units?: "crystal" | "cartesian";
|
|
16274
|
+
labels?: {
|
|
16275
|
+
id?: number;
|
|
16276
|
+
value?: number;
|
|
16320
16277
|
}[];
|
|
16321
16278
|
}
|
|
16322
16279
|
/** Schema dist/js/schema/properties_directory/structural/density.json */
|
|
@@ -16385,7 +16342,7 @@ export interface LatticeExplicitUnit {
|
|
|
16385
16342
|
* lattice parameter for fractional coordinates
|
|
16386
16343
|
*/
|
|
16387
16344
|
alat?: number;
|
|
16388
|
-
units?: "km" | "m" | "
|
|
16345
|
+
units?: "km" | "m" | "cm" | "mm" | "um" | "nm" | "angstrom" | "a.u." | "bohr" | "pm";
|
|
16389
16346
|
/**
|
|
16390
16347
|
* @minItems 3
|
|
16391
16348
|
* @maxItems 3
|
|
@@ -16403,18 +16360,17 @@ export interface LatticeExplicitUnit {
|
|
|
16403
16360
|
c: [number, number, number];
|
|
16404
16361
|
}
|
|
16405
16362
|
/** Schema dist/js/schema/properties_directory/structural/lattice/type_enum.json */
|
|
16406
|
-
export type
|
|
16363
|
+
export type LatticeTypeEnum = "CUB" | "BCC" | "FCC" | "TET" | "MCL" | "ORC" | "ORCC" | "ORCF" | "ORCI" | "HEX" | "BCT" | "TRI" | "MCLC" | "RHL";
|
|
16407
16364
|
/** Schema dist/js/schema/properties_directory/structural/lattice/type_extended_enum.json */
|
|
16408
|
-
export type
|
|
16365
|
+
export type LatticeTypeExtendedEnum = "BCC" | "BCT-1" | "BCT-2" | "CUB" | "FCC" | "HEX" | "MCL" | "MCLC-1" | "MCLC-2" | "MCLC-3" | "MCLC-4" | "MCLC-5" | "ORC" | "ORCC" | "ORCF-1" | "ORCF-2" | "ORCF-3" | "ORCI" | "RHL-1" | "RHL-2" | "TET" | "TRI_1a" | "TRI_1b" | "TRI_2a" | "TRI_2b";
|
|
16409
16366
|
/** Schema dist/js/schema/properties_directory/structural/lattice.json */
|
|
16410
16367
|
export interface LatticeSchema {
|
|
16411
|
-
name?: "lattice";
|
|
16412
16368
|
vectors?: {
|
|
16413
16369
|
/**
|
|
16414
16370
|
* lattice parameter for fractional coordinates
|
|
16415
16371
|
*/
|
|
16416
16372
|
alat?: number;
|
|
16417
|
-
units?: "km" | "m" | "
|
|
16373
|
+
units?: "km" | "m" | "cm" | "mm" | "um" | "nm" | "angstrom" | "a.u." | "bohr" | "pm";
|
|
16418
16374
|
/**
|
|
16419
16375
|
* @minItems 3
|
|
16420
16376
|
* @maxItems 3
|
package/package.json
CHANGED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "definitions/constants",
|
|
3
|
+
"title": "fundamental constants",
|
|
4
|
+
"description": "Fundamental physical constants, 2022 NIST CODATA (https://doi.org/10.48550/arXiv.2409.03787)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"c": {
|
|
8
|
+
"description": "speed of light in vacuum, \"units\": \"m/s\"",
|
|
9
|
+
"type": "number",
|
|
10
|
+
"default": 299792458.0
|
|
11
|
+
},
|
|
12
|
+
"h": {
|
|
13
|
+
"description": "Planck constant, \"units\": \"J s\"",
|
|
14
|
+
"type": "number",
|
|
15
|
+
"default": 6.62607015e-34
|
|
16
|
+
},
|
|
17
|
+
"e": {
|
|
18
|
+
"description": "elementary charge, \"units\": \"C\"",
|
|
19
|
+
"type": "number",
|
|
20
|
+
"default": 1.602176634e-19
|
|
21
|
+
},
|
|
22
|
+
"G": {
|
|
23
|
+
"description": "Newtonian constant of gravitation, \"units\": \"m^3/kg/s^2\"",
|
|
24
|
+
"type": "number",
|
|
25
|
+
"default": 6.6743015e-11
|
|
26
|
+
},
|
|
27
|
+
"me": {
|
|
28
|
+
"description": "electron mass \"units\": \"kg\"",
|
|
29
|
+
"type": "number",
|
|
30
|
+
"default": 9.109383713928e-31
|
|
31
|
+
},
|
|
32
|
+
"eps0": {
|
|
33
|
+
"description": "vacuum permittivity, \"units\": \"F/m\"",
|
|
34
|
+
"type": "number",
|
|
35
|
+
"default": 8.854187818814e-12
|
|
36
|
+
},
|
|
37
|
+
"mu0": {
|
|
38
|
+
"description": "vacuum permeability, \"units\": \"N/A^2\"",
|
|
39
|
+
"type": "number",
|
|
40
|
+
"default": 1.2566370612720e-6
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"c",
|
|
45
|
+
"h",
|
|
46
|
+
"e",
|
|
47
|
+
"G",
|
|
48
|
+
"me",
|
|
49
|
+
"eps0",
|
|
50
|
+
"mu0"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -1,20 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "definitions/units",
|
|
3
|
+
"title": "all units definitions",
|
|
4
|
+
"angle": {
|
|
5
|
+
"enum": [
|
|
6
|
+
"degree",
|
|
7
|
+
"radian"
|
|
8
|
+
],
|
|
9
|
+
"default": "degree"
|
|
10
|
+
},
|
|
11
|
+
"coordinates_basis": {
|
|
12
|
+
"enum": [
|
|
13
|
+
"crystal",
|
|
14
|
+
"cartesian"
|
|
15
|
+
],
|
|
16
|
+
"default": "crystal"
|
|
17
|
+
},
|
|
18
|
+
"coordinates_lattice_reciprocal": {
|
|
19
|
+
"enum": [
|
|
20
|
+
"crystal",
|
|
21
|
+
"cartesian"
|
|
22
|
+
],
|
|
23
|
+
"default": "crystal"
|
|
24
|
+
},
|
|
3
25
|
"length": {
|
|
4
26
|
"enum": [
|
|
5
27
|
"km",
|
|
6
28
|
"m",
|
|
7
|
-
"
|
|
29
|
+
"cm",
|
|
30
|
+
"mm",
|
|
31
|
+
"um",
|
|
8
32
|
"nm",
|
|
9
33
|
"angstrom",
|
|
10
34
|
"a.u.",
|
|
11
35
|
"bohr",
|
|
12
|
-
"
|
|
13
|
-
"crystal",
|
|
14
|
-
"cartesian",
|
|
15
|
-
"alat"
|
|
36
|
+
"pm"
|
|
16
37
|
]
|
|
17
38
|
},
|
|
39
|
+
"length_atomic": {
|
|
40
|
+
"enum": [
|
|
41
|
+
"angstrom",
|
|
42
|
+
"bohr"
|
|
43
|
+
],
|
|
44
|
+
"default": "angstrom"
|
|
45
|
+
},
|
|
18
46
|
"energy": {
|
|
19
47
|
"enum": [
|
|
20
48
|
"kJ/mol",
|
|
@@ -26,6 +54,14 @@
|
|
|
26
54
|
"eV/atom"
|
|
27
55
|
]
|
|
28
56
|
},
|
|
57
|
+
"energy_atomic": {
|
|
58
|
+
"enum": [
|
|
59
|
+
"eV",
|
|
60
|
+
"hartree",
|
|
61
|
+
"rydberg"
|
|
62
|
+
],
|
|
63
|
+
"default": "eV"
|
|
64
|
+
},
|
|
29
65
|
"surface_energy": {
|
|
30
66
|
"enum": [
|
|
31
67
|
"eV/A^2"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "properties-directory/structural/basis/atomic-label",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "atomic label",
|
|
5
|
+
"description": "Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"id": {
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"value": {
|
|
12
|
+
"$ref": "../../../core/primitive/integer_positive_single_digit.json"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -10,34 +10,26 @@
|
|
|
10
10
|
"$ref": "basis/atomic_element.json"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
"labels": {
|
|
14
|
-
"description": "Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.",
|
|
15
|
-
"type": "array",
|
|
16
|
-
"items": {
|
|
17
|
-
"properties": {
|
|
18
|
-
"id": {
|
|
19
|
-
"type": "number"
|
|
20
|
-
},
|
|
21
|
-
"value": {
|
|
22
|
-
"type": "number"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
13
|
"coordinates": {
|
|
28
14
|
"type": "array",
|
|
29
15
|
"items": {
|
|
30
16
|
"$ref": "basis/atomic_coordinate.json"
|
|
31
17
|
}
|
|
32
18
|
},
|
|
33
|
-
"name": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
19
|
"units": {
|
|
37
|
-
"type": "string"
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": [
|
|
22
|
+
"crystal",
|
|
23
|
+
"cartesian"
|
|
24
|
+
],
|
|
25
|
+
"default": "crystal"
|
|
38
26
|
},
|
|
39
|
-
"
|
|
40
|
-
"
|
|
27
|
+
"labels": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"$ref": "basis/atomic_label.json"
|
|
31
|
+
},
|
|
32
|
+
"default": []
|
|
41
33
|
}
|
|
42
34
|
},
|
|
43
35
|
"required": [
|
|
@@ -14,22 +14,19 @@
|
|
|
14
14
|
"$ref": "type_enum.json"
|
|
15
15
|
},
|
|
16
16
|
"units": {
|
|
17
|
+
"title": "Lattice units schema",
|
|
17
18
|
"type": "object",
|
|
18
19
|
"properties": {
|
|
19
20
|
"length": {
|
|
20
|
-
"
|
|
21
|
-
"enum": [
|
|
22
|
-
"angstrom",
|
|
23
|
-
"bohr"
|
|
24
|
-
]
|
|
21
|
+
"$ref": "../../../definitions/units.json#/length_atomic"
|
|
25
22
|
},
|
|
26
23
|
"angle": {
|
|
27
|
-
"
|
|
28
|
-
"enum": [
|
|
29
|
-
"degree",
|
|
30
|
-
"radian"
|
|
31
|
-
]
|
|
24
|
+
"$ref": "../../../definitions/units.json#/angle"
|
|
32
25
|
}
|
|
26
|
+
},
|
|
27
|
+
"default": {
|
|
28
|
+
"length": "angstrom",
|
|
29
|
+
"angle": "degree"
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "properties-directory/structural/lattice/type-enum",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "lattice type
|
|
4
|
+
"title": "lattice type enum",
|
|
5
5
|
"type": "string",
|
|
6
6
|
"enum": [
|
|
7
7
|
"CUB",
|
|
@@ -18,5 +18,6 @@
|
|
|
18
18
|
"TRI",
|
|
19
19
|
"MCLC",
|
|
20
20
|
"RHL"
|
|
21
|
-
]
|
|
21
|
+
],
|
|
22
|
+
"default": "TRI"
|
|
22
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "properties-directory/structural/lattice/type-extended-enum",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "lattice type extended
|
|
4
|
+
"title": "lattice type extended enum",
|
|
5
5
|
"type": "string",
|
|
6
6
|
"enum": [
|
|
7
7
|
"BCC",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"RHL-2",
|
|
27
27
|
"TET",
|
|
28
28
|
"TRI_1a",
|
|
29
|
+
"TRI_1b",
|
|
29
30
|
"TRI_2a",
|
|
30
|
-
"
|
|
31
|
+
"TRI_2b"
|
|
31
32
|
]
|
|
32
33
|
}
|