@mat3ra/esse 2025.11.25-0 → 2025.11.26-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 (43) hide show
  1. package/dist/js/schema/context_providers_directory/{boundary_conditions_provider.json → boundary_conditions_data_provider.json} +10 -4
  2. package/dist/js/schema/context_providers_directory/by_application/nwchem_total_energy_context_provider.json +61 -0
  3. package/dist/js/schema/context_providers_directory/by_application/qe_neb_context_provider.json +194 -0
  4. package/dist/js/schema/context_providers_directory/by_application/qe_pwx_base_context_provider.json +166 -0
  5. package/dist/js/schema/context_providers_directory/by_application/qe_pwx_context_provider.json +178 -0
  6. package/dist/js/schema/context_providers_directory/by_application/vasp_context_provider.json +21 -0
  7. package/dist/js/schema/context_providers_directory/by_application/vasp_neb_context_provider.json +29 -0
  8. package/dist/js/schema/context_providers_directory/collinear_magnetization_context_provider.json +35 -0
  9. package/dist/js/schema/context_providers_directory/hubbard_j_context_provider.json +36 -0
  10. package/dist/js/schema/context_providers_directory/hubbard_legacy_context_provider.json +26 -0
  11. package/dist/js/schema/context_providers_directory/hubbard_u_context_provider.json +24 -0
  12. package/dist/js/schema/context_providers_directory/hubbard_v_context_provider.json +41 -0
  13. package/dist/js/schema/context_providers_directory/ion_dynamics_context_provider.json +25 -0
  14. package/dist/js/schema/context_providers_directory/ml_settings_context_provider.json +20 -0
  15. package/dist/js/schema/context_providers_directory/ml_train_test_split_context_provider.json +14 -0
  16. package/dist/js/schema/context_providers_directory/neb_data_provider.json +12 -0
  17. package/dist/js/schema/context_providers_directory/non_collinear_magnetization_context_provider.json +110 -0
  18. package/dist/js/schema/context_providers_directory/planewave_cutoffs_context_provider.json +15 -0
  19. package/dist/js/schema/context_providers_directory/points_grid_data_provider.json +46 -0
  20. package/dist/js/schema/context_providers_directory/points_path_data_provider.json +19 -0
  21. package/dist/js/schemas.json +1 -1
  22. package/dist/js/types.d.ts +561 -2
  23. package/package.json +1 -1
  24. package/schema/context_providers_directory/boundary_conditions_provider.json +3 -5
  25. package/schema/context_providers_directory/by_application/nwchem_total_energy_context_provider.json +63 -0
  26. package/schema/context_providers_directory/by_application/qe_neb_context_provider.json +44 -0
  27. package/schema/context_providers_directory/by_application/qe_pwx_base_context_provider.json +42 -0
  28. package/schema/context_providers_directory/by_application/qe_pwx_context_provider.json +26 -0
  29. package/schema/context_providers_directory/by_application/vasp_context_provider.json +23 -0
  30. package/schema/context_providers_directory/by_application/vasp_neb_context_provider.json +31 -0
  31. package/schema/context_providers_directory/collinear_magnetization_provider.json +35 -0
  32. package/schema/context_providers_directory/hubbard_j_provider.json +30 -0
  33. package/schema/context_providers_directory/hubbard_legacy_provider.json +26 -0
  34. package/schema/context_providers_directory/hubbard_u_provider.json +24 -0
  35. package/schema/context_providers_directory/hubbard_v_provider.json +41 -0
  36. package/schema/context_providers_directory/ion_dynamics_provider.json +25 -0
  37. package/schema/context_providers_directory/ml_settings_provider.json +16 -0
  38. package/schema/context_providers_directory/ml_train_test_split_provider.json +14 -0
  39. package/schema/context_providers_directory/neb_provider.json +12 -0
  40. package/schema/context_providers_directory/non_collinear_magnetization_provider.json +110 -0
  41. package/schema/context_providers_directory/planewave_cutoffs_provider.json +15 -0
  42. package/schema/context_providers_directory/points_grid_provider.json +43 -0
  43. package/schema/context_providers_directory/points_path_provider.json +19 -0
@@ -1,16 +1,22 @@
1
1
  {
2
- "$id": "context-providers-directory/boundary-conditions-provider",
2
+ "$id": "context-providers-directory/boundary-conditions-data-provider",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Boundary Conditions Provider Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "type": {
8
8
  "type": "string",
9
- "title": "Type"
9
+ "enum": [
10
+ "pbc",
11
+ "bc1",
12
+ "bc2",
13
+ "bc3"
14
+ ],
15
+ "default": "pbc",
16
+ "description": "If assume_isolated = 'esm', determines the boundary conditions used for either side of the slab."
10
17
  },
11
18
  "offset": {
12
- "type": "number",
13
- "title": "Offset (A)"
19
+ "type": "number"
14
20
  },
15
21
  "electricField": {
16
22
  "type": "number",
@@ -0,0 +1,61 @@
1
+ {
2
+ "$id": "context-providers-directory/by-application/nwchem-total-energy-context-provider",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "NWChem Total Energy Context Provider Schema",
5
+ "description": "Schema for NWChemTotalEnergyContextProvider that generates context data for NWChem total energy input.",
6
+ "type": "object",
7
+ "required": [
8
+ "CHARGE",
9
+ "MULT",
10
+ "BASIS",
11
+ "NAT",
12
+ "NTYP",
13
+ "ATOMIC_POSITIONS",
14
+ "ATOMIC_POSITIONS_WITHOUT_CONSTRAINTS",
15
+ "ATOMIC_SPECIES",
16
+ "FUNCTIONAL",
17
+ "CARTESIAN"
18
+ ],
19
+ "properties": {
20
+ "CHARGE": {
21
+ "type": "integer",
22
+ "description": "Total charge of the system."
23
+ },
24
+ "MULT": {
25
+ "type": "integer",
26
+ "description": "Spin multiplicity of the system."
27
+ },
28
+ "BASIS": {
29
+ "type": "string",
30
+ "description": "Basis set label used in the calculation (e.g., '6-31G')."
31
+ },
32
+ "NAT": {
33
+ "type": "integer",
34
+ "description": "Number of atoms in the system."
35
+ },
36
+ "NTYP": {
37
+ "type": "integer",
38
+ "description": "Number of unique atomic species in the system."
39
+ },
40
+ "ATOMIC_POSITIONS": {
41
+ "type": "string",
42
+ "description": "Formatted text block with atomic positions including constraints."
43
+ },
44
+ "ATOMIC_POSITIONS_WITHOUT_CONSTRAINTS": {
45
+ "type": "string",
46
+ "description": "Formatted text block with atomic positions without constraints."
47
+ },
48
+ "ATOMIC_SPECIES": {
49
+ "type": "string",
50
+ "description": "Formatted text block for atomic species, including element symbols and masses."
51
+ },
52
+ "FUNCTIONAL": {
53
+ "type": "string",
54
+ "description": "Exchange-correlation functional identifier (e.g., 'B3LYP')."
55
+ },
56
+ "CARTESIAN": {
57
+ "type": "boolean",
58
+ "description": "Whether atomic positions are expressed in cartesian coordinates."
59
+ }
60
+ }
61
+ }
@@ -0,0 +1,194 @@
1
+ {
2
+ "$id": "context-providers-directory/by-application/qe-neb-context-provider",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "QE NEB Context Provider Schema",
5
+ "description": "Schema for QENEBContextProvider that generates context data for Quantum ESPRESSO pw.x NEB input. Extends the pw.x context with image-specific atomic positions.",
6
+ "type": "object",
7
+ "required": [
8
+ "IBRAV",
9
+ "RESTART_MODE",
10
+ "ATOMIC_SPECIES",
11
+ "ATOMIC_SPECIES_WITH_LABELS",
12
+ "NAT",
13
+ "NTYP",
14
+ "NTYP_WITH_LABELS",
15
+ "CELL_PARAMETERS",
16
+ "FIRST_IMAGE",
17
+ "LAST_IMAGE",
18
+ "INTERMEDIATE_IMAGES"
19
+ ],
20
+ "properties": {
21
+ "IBRAV": {
22
+ "type": "integer"
23
+ },
24
+ "RESTART_MODE": {
25
+ "type": "string",
26
+ "enum": [
27
+ "from_scratch",
28
+ "restart"
29
+ ],
30
+ "default": "from_scratch"
31
+ },
32
+ "ATOMIC_SPECIES": {
33
+ "type": "array",
34
+ "items": {
35
+ "type": "object",
36
+ "additionalProperties": false,
37
+ "properties": {
38
+ "X": {
39
+ "type": "string",
40
+ "description": "label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in \"Xn\" (e.g. Fe1) or \"X_*\" or \"X-*\" (e.g. C1, C_h; max total length cannot exceed 3 characters)"
41
+ },
42
+ "Mass_X": {
43
+ "type": "number",
44
+ "description": "mass of the atomic species [amu: mass of C = 12]. Used only when performing Molecular Dynamics run or structural optimization runs using Damped MD. Not actually used in all other cases (but stored in data files, so phonon calculations will use these values unless other values are provided)"
45
+ },
46
+ "PseudoPot_X": {
47
+ "type": "string",
48
+ "description": "PseudoPot_X"
49
+ }
50
+ }
51
+ }
52
+ },
53
+ "ATOMIC_SPECIES_WITH_LABELS": {
54
+ "type": "array",
55
+ "items": {
56
+ "type": "object",
57
+ "additionalProperties": false,
58
+ "properties": {
59
+ "X": {
60
+ "type": "string",
61
+ "description": "label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in \"Xn\" (e.g. Fe1) or \"X_*\" or \"X-*\" (e.g. C1, C_h; max total length cannot exceed 3 characters)"
62
+ },
63
+ "Mass_X": {
64
+ "type": "number",
65
+ "description": "mass of the atomic species [amu: mass of C = 12]. Used only when performing Molecular Dynamics run or structural optimization runs using Damped MD. Not actually used in all other cases (but stored in data files, so phonon calculations will use these values unless other values are provided)"
66
+ },
67
+ "PseudoPot_X": {
68
+ "type": "string",
69
+ "description": "PseudoPot_X"
70
+ }
71
+ }
72
+ }
73
+ },
74
+ "NAT": {
75
+ "type": "integer",
76
+ "description": "number of atoms in the unit cell (ALL atoms, except if space_group is set, in which case, INEQUIVALENT atoms)"
77
+ },
78
+ "NTYP": {
79
+ "type": "integer",
80
+ "description": "number of types of atoms in the unit cell"
81
+ },
82
+ "NTYP_WITH_LABELS": {
83
+ "type": "integer",
84
+ "description": "Number of different atomic species including labels",
85
+ "minimum": 1
86
+ },
87
+ "ATOMIC_POSITIONS": {
88
+ "type": "array",
89
+ "items": {
90
+ "type": "object",
91
+ "required": [
92
+ "x",
93
+ "y",
94
+ "z"
95
+ ],
96
+ "additionalProperties": false,
97
+ "properties": {
98
+ "X": {
99
+ "type": "string",
100
+ "description": "label of the atom as specified in ATOMIC_SPECIES"
101
+ },
102
+ "x": {
103
+ "type": "number",
104
+ "description": "atomic positions"
105
+ },
106
+ "y": {
107
+ "type": "number",
108
+ "description": "atomic positions"
109
+ },
110
+ "z": {
111
+ "type": "number",
112
+ "description": "atomic positions"
113
+ },
114
+ "if_pos(1)": {
115
+ "$schema": "http://json-schema.org/draft-07/schema#",
116
+ "title": "integer one or zero",
117
+ "type": "integer",
118
+ "minimum": 0,
119
+ "maximum": 1
120
+ },
121
+ "if_pos(2)": {
122
+ "$schema": "http://json-schema.org/draft-07/schema#",
123
+ "title": "integer one or zero",
124
+ "type": "integer",
125
+ "minimum": 0,
126
+ "maximum": 1
127
+ },
128
+ "if_pos(3)": {
129
+ "$schema": "http://json-schema.org/draft-07/schema#",
130
+ "title": "integer one or zero",
131
+ "type": "integer",
132
+ "minimum": 0,
133
+ "maximum": 1
134
+ }
135
+ }
136
+ }
137
+ },
138
+ "ATOMIC_POSITIONS_WITHOUT_CONSTRAINTS": {
139
+ "type": "string",
140
+ "description": "Formatted text block for ATOMIC_POSITIONS card WITHOUT constraints. Format: 'X x y z' per line"
141
+ },
142
+ "CELL_PARAMETERS": {
143
+ "type": "object",
144
+ "additionalProperties": false,
145
+ "properties": {
146
+ "v1": {
147
+ "$schema": "http://json-schema.org/draft-07/schema#",
148
+ "title": "array of 3 number elements schema",
149
+ "type": "array",
150
+ "minItems": 3,
151
+ "maxItems": 3,
152
+ "items": {
153
+ "type": "number"
154
+ }
155
+ },
156
+ "v2": {
157
+ "$schema": "http://json-schema.org/draft-07/schema#",
158
+ "title": "array of 3 number elements schema",
159
+ "type": "array",
160
+ "minItems": 3,
161
+ "maxItems": 3,
162
+ "items": {
163
+ "type": "number"
164
+ }
165
+ },
166
+ "v3": {
167
+ "$schema": "http://json-schema.org/draft-07/schema#",
168
+ "title": "array of 3 number elements schema",
169
+ "type": "array",
170
+ "minItems": 3,
171
+ "maxItems": 3,
172
+ "items": {
173
+ "type": "number"
174
+ }
175
+ }
176
+ }
177
+ },
178
+ "FIRST_IMAGE": {
179
+ "type": "string",
180
+ "description": "Atomic positions block (ATOMIC_POSITIONS) for the first NEB image."
181
+ },
182
+ "LAST_IMAGE": {
183
+ "type": "string",
184
+ "description": "Atomic positions block (ATOMIC_POSITIONS) for the last NEB image."
185
+ },
186
+ "INTERMEDIATE_IMAGES": {
187
+ "type": "array",
188
+ "description": "Atomic positions blocks (ATOMIC_POSITIONS) for all intermediate NEB images.",
189
+ "items": {
190
+ "type": "string"
191
+ }
192
+ }
193
+ }
194
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "$id": "context-providers-directory/by-application/qe-pwx-base-context-provider",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "QE pwx Base Context Provider Schema",
5
+ "description": "Base schema with shared Quantum ESPRESSO pw.x context provider properties.",
6
+ "type": "object",
7
+ "properties": {
8
+ "IBRAV": {
9
+ "type": "integer"
10
+ },
11
+ "RESTART_MODE": {
12
+ "type": "string",
13
+ "enum": [
14
+ "from_scratch",
15
+ "restart"
16
+ ],
17
+ "default": "from_scratch"
18
+ },
19
+ "ATOMIC_SPECIES": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "properties": {
25
+ "X": {
26
+ "type": "string",
27
+ "description": "label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in \"Xn\" (e.g. Fe1) or \"X_*\" or \"X-*\" (e.g. C1, C_h; max total length cannot exceed 3 characters)"
28
+ },
29
+ "Mass_X": {
30
+ "type": "number",
31
+ "description": "mass of the atomic species [amu: mass of C = 12]. Used only when performing Molecular Dynamics run or structural optimization runs using Damped MD. Not actually used in all other cases (but stored in data files, so phonon calculations will use these values unless other values are provided)"
32
+ },
33
+ "PseudoPot_X": {
34
+ "type": "string",
35
+ "description": "PseudoPot_X"
36
+ }
37
+ }
38
+ }
39
+ },
40
+ "ATOMIC_SPECIES_WITH_LABELS": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "object",
44
+ "additionalProperties": false,
45
+ "properties": {
46
+ "X": {
47
+ "type": "string",
48
+ "description": "label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in \"Xn\" (e.g. Fe1) or \"X_*\" or \"X-*\" (e.g. C1, C_h; max total length cannot exceed 3 characters)"
49
+ },
50
+ "Mass_X": {
51
+ "type": "number",
52
+ "description": "mass of the atomic species [amu: mass of C = 12]. Used only when performing Molecular Dynamics run or structural optimization runs using Damped MD. Not actually used in all other cases (but stored in data files, so phonon calculations will use these values unless other values are provided)"
53
+ },
54
+ "PseudoPot_X": {
55
+ "type": "string",
56
+ "description": "PseudoPot_X"
57
+ }
58
+ }
59
+ }
60
+ },
61
+ "NAT": {
62
+ "type": "integer",
63
+ "description": "number of atoms in the unit cell (ALL atoms, except if space_group is set, in which case, INEQUIVALENT atoms)"
64
+ },
65
+ "NTYP": {
66
+ "type": "integer",
67
+ "description": "number of types of atoms in the unit cell"
68
+ },
69
+ "NTYP_WITH_LABELS": {
70
+ "type": "integer",
71
+ "description": "Number of different atomic species including labels",
72
+ "minimum": 1
73
+ },
74
+ "ATOMIC_POSITIONS": {
75
+ "type": "array",
76
+ "items": {
77
+ "type": "object",
78
+ "required": [
79
+ "x",
80
+ "y",
81
+ "z"
82
+ ],
83
+ "additionalProperties": false,
84
+ "properties": {
85
+ "X": {
86
+ "type": "string",
87
+ "description": "label of the atom as specified in ATOMIC_SPECIES"
88
+ },
89
+ "x": {
90
+ "type": "number",
91
+ "description": "atomic positions"
92
+ },
93
+ "y": {
94
+ "type": "number",
95
+ "description": "atomic positions"
96
+ },
97
+ "z": {
98
+ "type": "number",
99
+ "description": "atomic positions"
100
+ },
101
+ "if_pos(1)": {
102
+ "$schema": "http://json-schema.org/draft-07/schema#",
103
+ "title": "integer one or zero",
104
+ "type": "integer",
105
+ "minimum": 0,
106
+ "maximum": 1
107
+ },
108
+ "if_pos(2)": {
109
+ "$schema": "http://json-schema.org/draft-07/schema#",
110
+ "title": "integer one or zero",
111
+ "type": "integer",
112
+ "minimum": 0,
113
+ "maximum": 1
114
+ },
115
+ "if_pos(3)": {
116
+ "$schema": "http://json-schema.org/draft-07/schema#",
117
+ "title": "integer one or zero",
118
+ "type": "integer",
119
+ "minimum": 0,
120
+ "maximum": 1
121
+ }
122
+ }
123
+ }
124
+ },
125
+ "ATOMIC_POSITIONS_WITHOUT_CONSTRAINTS": {
126
+ "type": "string",
127
+ "description": "Formatted text block for ATOMIC_POSITIONS card WITHOUT constraints. Format: 'X x y z' per line"
128
+ },
129
+ "CELL_PARAMETERS": {
130
+ "type": "object",
131
+ "additionalProperties": false,
132
+ "properties": {
133
+ "v1": {
134
+ "$schema": "http://json-schema.org/draft-07/schema#",
135
+ "title": "array of 3 number elements schema",
136
+ "type": "array",
137
+ "minItems": 3,
138
+ "maxItems": 3,
139
+ "items": {
140
+ "type": "number"
141
+ }
142
+ },
143
+ "v2": {
144
+ "$schema": "http://json-schema.org/draft-07/schema#",
145
+ "title": "array of 3 number elements schema",
146
+ "type": "array",
147
+ "minItems": 3,
148
+ "maxItems": 3,
149
+ "items": {
150
+ "type": "number"
151
+ }
152
+ },
153
+ "v3": {
154
+ "$schema": "http://json-schema.org/draft-07/schema#",
155
+ "title": "array of 3 number elements schema",
156
+ "type": "array",
157
+ "minItems": 3,
158
+ "maxItems": 3,
159
+ "items": {
160
+ "type": "number"
161
+ }
162
+ }
163
+ }
164
+ }
165
+ }
166
+ }
@@ -0,0 +1,178 @@
1
+ {
2
+ "$id": "context-providers-directory/by-application/qe-pwx-context-provider",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "QE pwx Context Provider Schema",
5
+ "description": "Schema for QEPWXContextProvider that generates context data for Quantum ESPRESSO pw.x input files. Contains computed context properties and string-formatted versions of pw.x input sections.",
6
+ "type": "object",
7
+ "required": [
8
+ "IBRAV",
9
+ "RESTART_MODE",
10
+ "ATOMIC_SPECIES",
11
+ "ATOMIC_SPECIES_WITH_LABELS",
12
+ "NAT",
13
+ "NTYP",
14
+ "NTYP_WITH_LABELS",
15
+ "ATOMIC_POSITIONS",
16
+ "ATOMIC_POSITIONS_WITHOUT_CONSTRAINTS",
17
+ "CELL_PARAMETERS"
18
+ ],
19
+ "properties": {
20
+ "IBRAV": {
21
+ "type": "integer"
22
+ },
23
+ "RESTART_MODE": {
24
+ "type": "string",
25
+ "enum": [
26
+ "from_scratch",
27
+ "restart"
28
+ ],
29
+ "default": "from_scratch"
30
+ },
31
+ "ATOMIC_SPECIES": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "object",
35
+ "additionalProperties": false,
36
+ "properties": {
37
+ "X": {
38
+ "type": "string",
39
+ "description": "label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in \"Xn\" (e.g. Fe1) or \"X_*\" or \"X-*\" (e.g. C1, C_h; max total length cannot exceed 3 characters)"
40
+ },
41
+ "Mass_X": {
42
+ "type": "number",
43
+ "description": "mass of the atomic species [amu: mass of C = 12]. Used only when performing Molecular Dynamics run or structural optimization runs using Damped MD. Not actually used in all other cases (but stored in data files, so phonon calculations will use these values unless other values are provided)"
44
+ },
45
+ "PseudoPot_X": {
46
+ "type": "string",
47
+ "description": "PseudoPot_X"
48
+ }
49
+ }
50
+ }
51
+ },
52
+ "ATOMIC_SPECIES_WITH_LABELS": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "additionalProperties": false,
57
+ "properties": {
58
+ "X": {
59
+ "type": "string",
60
+ "description": "label of the atom. Acceptable syntax: chemical symbol X (1 or 2 characters, case-insensitive) or chemical symbol plus a number or a letter, as in \"Xn\" (e.g. Fe1) or \"X_*\" or \"X-*\" (e.g. C1, C_h; max total length cannot exceed 3 characters)"
61
+ },
62
+ "Mass_X": {
63
+ "type": "number",
64
+ "description": "mass of the atomic species [amu: mass of C = 12]. Used only when performing Molecular Dynamics run or structural optimization runs using Damped MD. Not actually used in all other cases (but stored in data files, so phonon calculations will use these values unless other values are provided)"
65
+ },
66
+ "PseudoPot_X": {
67
+ "type": "string",
68
+ "description": "PseudoPot_X"
69
+ }
70
+ }
71
+ }
72
+ },
73
+ "NAT": {
74
+ "type": "integer",
75
+ "description": "number of atoms in the unit cell (ALL atoms, except if space_group is set, in which case, INEQUIVALENT atoms)"
76
+ },
77
+ "NTYP": {
78
+ "type": "integer",
79
+ "description": "number of types of atoms in the unit cell"
80
+ },
81
+ "NTYP_WITH_LABELS": {
82
+ "type": "integer",
83
+ "description": "Number of different atomic species including labels",
84
+ "minimum": 1
85
+ },
86
+ "ATOMIC_POSITIONS": {
87
+ "type": "array",
88
+ "items": {
89
+ "type": "object",
90
+ "required": [
91
+ "x",
92
+ "y",
93
+ "z"
94
+ ],
95
+ "additionalProperties": false,
96
+ "properties": {
97
+ "X": {
98
+ "type": "string",
99
+ "description": "label of the atom as specified in ATOMIC_SPECIES"
100
+ },
101
+ "x": {
102
+ "type": "number",
103
+ "description": "atomic positions"
104
+ },
105
+ "y": {
106
+ "type": "number",
107
+ "description": "atomic positions"
108
+ },
109
+ "z": {
110
+ "type": "number",
111
+ "description": "atomic positions"
112
+ },
113
+ "if_pos(1)": {
114
+ "$schema": "http://json-schema.org/draft-07/schema#",
115
+ "title": "integer one or zero",
116
+ "type": "integer",
117
+ "minimum": 0,
118
+ "maximum": 1
119
+ },
120
+ "if_pos(2)": {
121
+ "$schema": "http://json-schema.org/draft-07/schema#",
122
+ "title": "integer one or zero",
123
+ "type": "integer",
124
+ "minimum": 0,
125
+ "maximum": 1
126
+ },
127
+ "if_pos(3)": {
128
+ "$schema": "http://json-schema.org/draft-07/schema#",
129
+ "title": "integer one or zero",
130
+ "type": "integer",
131
+ "minimum": 0,
132
+ "maximum": 1
133
+ }
134
+ }
135
+ }
136
+ },
137
+ "ATOMIC_POSITIONS_WITHOUT_CONSTRAINTS": {
138
+ "type": "string",
139
+ "description": "Formatted text block for ATOMIC_POSITIONS card WITHOUT constraints. Format: 'X x y z' per line"
140
+ },
141
+ "CELL_PARAMETERS": {
142
+ "type": "object",
143
+ "additionalProperties": false,
144
+ "properties": {
145
+ "v1": {
146
+ "$schema": "http://json-schema.org/draft-07/schema#",
147
+ "title": "array of 3 number elements schema",
148
+ "type": "array",
149
+ "minItems": 3,
150
+ "maxItems": 3,
151
+ "items": {
152
+ "type": "number"
153
+ }
154
+ },
155
+ "v2": {
156
+ "$schema": "http://json-schema.org/draft-07/schema#",
157
+ "title": "array of 3 number elements schema",
158
+ "type": "array",
159
+ "minItems": 3,
160
+ "maxItems": 3,
161
+ "items": {
162
+ "type": "number"
163
+ }
164
+ },
165
+ "v3": {
166
+ "$schema": "http://json-schema.org/draft-07/schema#",
167
+ "title": "array of 3 number elements schema",
168
+ "type": "array",
169
+ "minItems": 3,
170
+ "maxItems": 3,
171
+ "items": {
172
+ "type": "number"
173
+ }
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "$id": "context-providers-directory/by-application/vasp-context-provider",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "VASP Context Provider Schema",
5
+ "description": "Schema for VASPContextProvider that generates context data for VASP POSCAR input files.",
6
+ "type": "object",
7
+ "required": [
8
+ "POSCAR",
9
+ "POSCAR_WITH_CONSTRAINTS"
10
+ ],
11
+ "properties": {
12
+ "POSCAR": {
13
+ "type": "string",
14
+ "description": "POSCAR content for VASP including lattice, atom types, positions and constraints."
15
+ },
16
+ "POSCAR_WITH_CONSTRAINTS": {
17
+ "type": "string",
18
+ "description": "POSCAR content for VASP including lattice, atom types, positions and constraints. May differ in how constraints are represented."
19
+ }
20
+ }
21
+ }