@mat3ra/esse 2026.5.27-0 → 2026.5.30-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/dist/js/esse/JSONSchemasInterface.js +1 -1
- package/dist/js/esse/JSONSchemasInterfaceServer.js +2 -3
- package/dist/js/esse/schemaUtils.js +1 -2
- package/dist/js/esse/server/utils.js +2 -3
- package/dist/js/esse/utils.js +2 -3
- package/dist/js/schema/job.json +121 -309
- package/dist/js/schema/models_directory/legacy/any.json +121 -309
- package/dist/js/schema/models_directory/legacy/dft.json +11 -189
- package/dist/js/schema/models_directory/legacy/dft_gga.json +61 -0
- package/dist/js/schema/models_directory/legacy/dft_hybrid.json +60 -0
- package/dist/js/schema/models_directory/legacy/dft_lda.json +61 -0
- package/dist/js/schema/properties_directory/enum_options.json +1 -0
- package/dist/js/schema/properties_directory/non_scalar/workflow.json +121 -309
- package/dist/js/schema/property/holder.json +163 -309
- package/dist/js/schema/workflow/base.json +121 -309
- package/dist/js/schema/workflow/subworkflow/mixin.json +121 -309
- package/dist/js/schema/workflow/subworkflow.json +121 -309
- package/dist/js/schema/workflow.json +121 -309
- package/dist/js/schemas.json +1 -1
- package/dist/js/scripts/compileTs.js +1 -1
- package/dist/js/scripts/setSchemaIds.js +1 -1
- package/dist/js/types.d.ts +43 -53
- package/dist/js/types.js +5 -5
- package/dist/js/utils/ajv.js +4 -5
- package/dist/js/utils/common.js +2 -3
- package/dist/js/utils/filesystem.js +2 -3
- package/manifest/properties.yaml +6 -0
- package/package.json +1 -1
- package/schema/models_directory/legacy/any.json +8 -2
- package/schema/models_directory/legacy/dft.json +8 -113
- package/schema/models_directory/legacy/dft_gga.json +31 -0
- package/schema/models_directory/legacy/dft_hybrid.json +30 -0
- package/schema/models_directory/legacy/dft_lda.json +31 -0
- package/schema/properties_directory/enum_options.json +2 -0
- package/schema/properties_directory/scalar/formation_energy.json +2 -1
- package/schema/property/holder.json +4 -0
|
@@ -3,179 +3,11 @@
|
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "DFT model schema",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"definitions": {
|
|
7
|
-
"lda": {
|
|
8
|
-
"required": [
|
|
9
|
-
"type",
|
|
10
|
-
"subtype",
|
|
11
|
-
"functional",
|
|
12
|
-
"method"
|
|
13
|
-
],
|
|
14
|
-
"properties": {
|
|
15
|
-
"type": {
|
|
16
|
-
"const": "dft"
|
|
17
|
-
},
|
|
18
|
-
"subtype": {
|
|
19
|
-
"const": "lda"
|
|
20
|
-
},
|
|
21
|
-
"functional": {
|
|
22
|
-
"enum": [
|
|
23
|
-
"pz",
|
|
24
|
-
"pw",
|
|
25
|
-
"vwn",
|
|
26
|
-
"other"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
"method": {
|
|
30
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
31
|
-
"title": "base method",
|
|
32
|
-
"type": "object",
|
|
33
|
-
"required": [
|
|
34
|
-
"type",
|
|
35
|
-
"subtype"
|
|
36
|
-
],
|
|
37
|
-
"properties": {
|
|
38
|
-
"type": {
|
|
39
|
-
"description": "general type of this method, eg. `pseudopotential`",
|
|
40
|
-
"type": "string"
|
|
41
|
-
},
|
|
42
|
-
"subtype": {
|
|
43
|
-
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
44
|
-
"type": "string"
|
|
45
|
-
},
|
|
46
|
-
"precision": {
|
|
47
|
-
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
48
|
-
"type": "object"
|
|
49
|
-
},
|
|
50
|
-
"data": {
|
|
51
|
-
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
52
|
-
"type": "object",
|
|
53
|
-
"additionalProperties": true,
|
|
54
|
-
"properties": {
|
|
55
|
-
"searchText": {
|
|
56
|
-
"type": "string"
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"gga": {
|
|
65
|
-
"required": [
|
|
66
|
-
"type",
|
|
67
|
-
"subtype",
|
|
68
|
-
"functional",
|
|
69
|
-
"method"
|
|
70
|
-
],
|
|
71
|
-
"properties": {
|
|
72
|
-
"type": {
|
|
73
|
-
"const": "dft"
|
|
74
|
-
},
|
|
75
|
-
"subtype": {
|
|
76
|
-
"const": "gga"
|
|
77
|
-
},
|
|
78
|
-
"functional": {
|
|
79
|
-
"enum": [
|
|
80
|
-
"pbe",
|
|
81
|
-
"pbesol",
|
|
82
|
-
"pw91",
|
|
83
|
-
"other"
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
"method": {
|
|
87
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
88
|
-
"title": "base method",
|
|
89
|
-
"type": "object",
|
|
90
|
-
"required": [
|
|
91
|
-
"type",
|
|
92
|
-
"subtype"
|
|
93
|
-
],
|
|
94
|
-
"properties": {
|
|
95
|
-
"type": {
|
|
96
|
-
"description": "general type of this method, eg. `pseudopotential`",
|
|
97
|
-
"type": "string"
|
|
98
|
-
},
|
|
99
|
-
"subtype": {
|
|
100
|
-
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
101
|
-
"type": "string"
|
|
102
|
-
},
|
|
103
|
-
"precision": {
|
|
104
|
-
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
105
|
-
"type": "object"
|
|
106
|
-
},
|
|
107
|
-
"data": {
|
|
108
|
-
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
109
|
-
"type": "object",
|
|
110
|
-
"additionalProperties": true,
|
|
111
|
-
"properties": {
|
|
112
|
-
"searchText": {
|
|
113
|
-
"type": "string"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"hybrid": {
|
|
122
|
-
"required": [
|
|
123
|
-
"type",
|
|
124
|
-
"subtype",
|
|
125
|
-
"functional",
|
|
126
|
-
"method"
|
|
127
|
-
],
|
|
128
|
-
"properties": {
|
|
129
|
-
"type": {
|
|
130
|
-
"const": "dft"
|
|
131
|
-
},
|
|
132
|
-
"subtype": {
|
|
133
|
-
"const": "hybrid"
|
|
134
|
-
},
|
|
135
|
-
"functional": {
|
|
136
|
-
"enum": [
|
|
137
|
-
"b3lyp",
|
|
138
|
-
"hse06"
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
"method": {
|
|
142
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
143
|
-
"title": "base method",
|
|
144
|
-
"type": "object",
|
|
145
|
-
"required": [
|
|
146
|
-
"type",
|
|
147
|
-
"subtype"
|
|
148
|
-
],
|
|
149
|
-
"properties": {
|
|
150
|
-
"type": {
|
|
151
|
-
"description": "general type of this method, eg. `pseudopotential`",
|
|
152
|
-
"type": "string"
|
|
153
|
-
},
|
|
154
|
-
"subtype": {
|
|
155
|
-
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
156
|
-
"type": "string"
|
|
157
|
-
},
|
|
158
|
-
"precision": {
|
|
159
|
-
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
160
|
-
"type": "object"
|
|
161
|
-
},
|
|
162
|
-
"data": {
|
|
163
|
-
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
164
|
-
"type": "object",
|
|
165
|
-
"additionalProperties": true,
|
|
166
|
-
"properties": {
|
|
167
|
-
"searchText": {
|
|
168
|
-
"type": "string"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
6
|
"oneOf": [
|
|
178
7
|
{
|
|
8
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
9
|
+
"title": "DFT LDA model schema",
|
|
10
|
+
"type": "object",
|
|
179
11
|
"properties": {
|
|
180
12
|
"type": {
|
|
181
13
|
"const": "dft"
|
|
@@ -233,6 +65,9 @@
|
|
|
233
65
|
]
|
|
234
66
|
},
|
|
235
67
|
{
|
|
68
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
69
|
+
"title": "DFT GGA model schema",
|
|
70
|
+
"type": "object",
|
|
236
71
|
"properties": {
|
|
237
72
|
"type": {
|
|
238
73
|
"const": "dft"
|
|
@@ -290,6 +125,9 @@
|
|
|
290
125
|
]
|
|
291
126
|
},
|
|
292
127
|
{
|
|
128
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
129
|
+
"title": "DFT hybrid model schema",
|
|
130
|
+
"type": "object",
|
|
293
131
|
"properties": {
|
|
294
132
|
"type": {
|
|
295
133
|
"const": "dft"
|
|
@@ -300,7 +138,8 @@
|
|
|
300
138
|
"functional": {
|
|
301
139
|
"enum": [
|
|
302
140
|
"b3lyp",
|
|
303
|
-
"hse06"
|
|
141
|
+
"hse06",
|
|
142
|
+
"other"
|
|
304
143
|
]
|
|
305
144
|
},
|
|
306
145
|
"method": {
|
|
@@ -347,22 +186,5 @@
|
|
|
347
186
|
],
|
|
348
187
|
"discriminator": {
|
|
349
188
|
"propertyName": "subtype"
|
|
350
|
-
},
|
|
351
|
-
"required": [
|
|
352
|
-
"type"
|
|
353
|
-
],
|
|
354
|
-
"properties": {
|
|
355
|
-
"type": {
|
|
356
|
-
"const": "dft"
|
|
357
|
-
},
|
|
358
|
-
"subtype": {
|
|
359
|
-
"type": "string"
|
|
360
|
-
},
|
|
361
|
-
"functional": {
|
|
362
|
-
"type": "string"
|
|
363
|
-
},
|
|
364
|
-
"method": {
|
|
365
|
-
"type": "object"
|
|
366
|
-
}
|
|
367
189
|
}
|
|
368
190
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "models-directory/legacy/dft-gga",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "DFT GGA model schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"type",
|
|
8
|
+
"subtype",
|
|
9
|
+
"functional",
|
|
10
|
+
"method"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": {
|
|
14
|
+
"const": "dft"
|
|
15
|
+
},
|
|
16
|
+
"subtype": {
|
|
17
|
+
"const": "gga"
|
|
18
|
+
},
|
|
19
|
+
"functional": {
|
|
20
|
+
"enum": [
|
|
21
|
+
"pbe",
|
|
22
|
+
"pbesol",
|
|
23
|
+
"pw91",
|
|
24
|
+
"other"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"method": {
|
|
28
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
29
|
+
"title": "base method",
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": [
|
|
32
|
+
"type",
|
|
33
|
+
"subtype"
|
|
34
|
+
],
|
|
35
|
+
"properties": {
|
|
36
|
+
"type": {
|
|
37
|
+
"description": "general type of this method, eg. `pseudopotential`",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"subtype": {
|
|
41
|
+
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"precision": {
|
|
45
|
+
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
46
|
+
"type": "object"
|
|
47
|
+
},
|
|
48
|
+
"data": {
|
|
49
|
+
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
50
|
+
"type": "object",
|
|
51
|
+
"additionalProperties": true,
|
|
52
|
+
"properties": {
|
|
53
|
+
"searchText": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "models-directory/legacy/dft-hybrid",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "DFT hybrid model schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"type",
|
|
8
|
+
"subtype",
|
|
9
|
+
"functional",
|
|
10
|
+
"method"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": {
|
|
14
|
+
"const": "dft"
|
|
15
|
+
},
|
|
16
|
+
"subtype": {
|
|
17
|
+
"const": "hybrid"
|
|
18
|
+
},
|
|
19
|
+
"functional": {
|
|
20
|
+
"enum": [
|
|
21
|
+
"b3lyp",
|
|
22
|
+
"hse06",
|
|
23
|
+
"other"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"method": {
|
|
27
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
28
|
+
"title": "base method",
|
|
29
|
+
"type": "object",
|
|
30
|
+
"required": [
|
|
31
|
+
"type",
|
|
32
|
+
"subtype"
|
|
33
|
+
],
|
|
34
|
+
"properties": {
|
|
35
|
+
"type": {
|
|
36
|
+
"description": "general type of this method, eg. `pseudopotential`",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"subtype": {
|
|
40
|
+
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
"precision": {
|
|
44
|
+
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
45
|
+
"type": "object"
|
|
46
|
+
},
|
|
47
|
+
"data": {
|
|
48
|
+
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
49
|
+
"type": "object",
|
|
50
|
+
"additionalProperties": true,
|
|
51
|
+
"properties": {
|
|
52
|
+
"searchText": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "models-directory/legacy/dft-lda",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "DFT LDA model schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"type",
|
|
8
|
+
"subtype",
|
|
9
|
+
"functional",
|
|
10
|
+
"method"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"type": {
|
|
14
|
+
"const": "dft"
|
|
15
|
+
},
|
|
16
|
+
"subtype": {
|
|
17
|
+
"const": "lda"
|
|
18
|
+
},
|
|
19
|
+
"functional": {
|
|
20
|
+
"enum": [
|
|
21
|
+
"pz",
|
|
22
|
+
"pw",
|
|
23
|
+
"vwn",
|
|
24
|
+
"other"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"method": {
|
|
28
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
29
|
+
"title": "base method",
|
|
30
|
+
"type": "object",
|
|
31
|
+
"required": [
|
|
32
|
+
"type",
|
|
33
|
+
"subtype"
|
|
34
|
+
],
|
|
35
|
+
"properties": {
|
|
36
|
+
"type": {
|
|
37
|
+
"description": "general type of this method, eg. `pseudopotential`",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"subtype": {
|
|
41
|
+
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"precision": {
|
|
45
|
+
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
46
|
+
"type": "object"
|
|
47
|
+
},
|
|
48
|
+
"data": {
|
|
49
|
+
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
50
|
+
"type": "object",
|
|
51
|
+
"additionalProperties": true,
|
|
52
|
+
"properties": {
|
|
53
|
+
"searchText": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|