@mat3ra/esse 2025.8.20-0 → 2025.10.8-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/example/element.json +2 -1
- package/dist/js/example/properties_directory/elemental/ionization_potential.json +2 -1
- package/dist/js/example/properties_directory/workflow/convergence/electronic.json +1 -0
- package/dist/js/example/properties_directory/workflow/convergence/ionic.json +1 -0
- package/dist/js/example/property/{base.json → holder.json} +10 -8
- package/dist/js/example/workflow/unit/io/object_storage.json +2 -1
- package/dist/js/schema/core/abstract/2d_data.json +15 -5
- package/dist/js/schema/core/abstract/2d_plot.json +15 -10
- package/dist/js/schema/core/primitive/1d_data_series.json +1 -4
- package/dist/js/schema/core/{reusable/axis_enum.json → primitive/axis_3d_names_enum.json} +1 -1
- package/dist/js/schema/core/reference/exabyte.json +4 -4
- package/dist/js/schema/core/reusable/{coordinate_conditions.json → coordinate_conditions/index.json} +1 -1
- package/dist/js/schema/core/reusable/energy.json +1 -1
- package/dist/js/schema/core/{abstract → reusable}/kpoint.json +1 -1
- package/dist/js/schema/definitions/{materials.json → material.json} +1 -1
- package/dist/js/schema/element.json +5 -2
- package/dist/js/schema/job.json +168 -187
- package/dist/js/schema/methods_directory/physical/psp/file.json +3 -1
- package/dist/js/schema/methods_directory/physical/psp/file_data_item.json +3 -1
- package/dist/js/schema/methods_directory/physical/psp.json +3 -1
- package/dist/js/schema/properties_directory/elemental/atomic_radius.json +1 -0
- package/dist/js/schema/properties_directory/elemental/electronegativity.json +1 -0
- package/dist/js/schema/properties_directory/elemental/ionization_potential.json +3 -2
- package/dist/js/schema/properties_directory/jupyter_notebook_endpoint.json +28 -0
- package/dist/js/schema/properties_directory/non_scalar/average_potential_profile.json +17 -11
- package/dist/js/schema/properties_directory/non_scalar/band_gaps.json +3 -2
- package/dist/js/schema/properties_directory/non_scalar/band_structure.json +18 -11
- package/dist/js/schema/properties_directory/non_scalar/charge_density_profile.json +17 -11
- package/dist/js/schema/properties_directory/non_scalar/density_of_states.json +18 -8
- package/dist/js/schema/properties_directory/non_scalar/dielectric_tensor.json +3 -2
- package/dist/js/schema/properties_directory/non_scalar/file_content.json +2 -1
- package/dist/js/schema/properties_directory/non_scalar/final_structure.json +25 -0
- package/dist/js/schema/properties_directory/non_scalar/hubbard_u.json +4 -2
- package/dist/js/schema/properties_directory/non_scalar/hubbard_v.json +5 -4
- package/dist/js/schema/properties_directory/non_scalar/hubbard_v_nn.json +4 -3
- package/dist/js/schema/properties_directory/non_scalar/is_relaxed.json +25 -0
- package/dist/js/schema/properties_directory/non_scalar/phonon_dispersions.json +17 -11
- package/dist/js/schema/properties_directory/non_scalar/phonon_dos.json +17 -11
- package/dist/js/schema/properties_directory/non_scalar/potential_profile.json +17 -11
- package/dist/js/schema/properties_directory/non_scalar/reaction_energy_profile.json +17 -11
- package/dist/js/schema/properties_directory/non_scalar/stress_tensor.json +6 -1
- package/dist/js/schema/properties_directory/non_scalar/total_energy_contributions.json +26 -4
- package/dist/js/schema/properties_directory/non_scalar/vibrational_spectrum.json +17 -11
- package/dist/js/schema/properties_directory/non_scalar/workflow.json +5503 -0
- package/dist/js/schema/properties_directory/reusable/hubbard_parameters.json +70 -0
- package/dist/js/schema/properties_directory/scalar/electron_affinity.json +2 -2
- package/dist/js/schema/properties_directory/scalar/fermi_energy.json +2 -2
- package/dist/js/schema/properties_directory/scalar/formation_energy.json +2 -2
- package/dist/js/schema/properties_directory/scalar/ionization_potential.json +2 -2
- package/dist/js/schema/properties_directory/scalar/pressure.json +3 -1
- package/dist/js/schema/properties_directory/scalar/reaction_energy_barrier.json +2 -2
- package/dist/js/schema/properties_directory/scalar/surface_energy.json +2 -2
- package/dist/js/schema/properties_directory/scalar/total_energy.json +2 -2
- package/dist/js/schema/properties_directory/scalar/total_force.json +3 -1
- package/dist/js/schema/properties_directory/scalar/valence_band_offset.json +2 -2
- package/dist/js/schema/properties_directory/scalar/zero_point_energy.json +2 -2
- package/dist/js/schema/properties_directory/structural/atomic_forces.json +6 -1
- package/dist/js/schema/properties_directory/structural/basis/atomic_constraints_property.json +4 -0
- package/dist/js/schema/properties_directory/structural/basis/boundary_conditions.json +33 -0
- package/dist/js/schema/properties_directory/structural/lattice/{lattice_vectors.json → units.json} +1 -1
- package/dist/js/schema/properties_directory/structural/magnetic_moments.json +6 -1
- package/dist/js/schema/properties_directory/structural/molecular_pattern.json +12 -3
- package/dist/js/schema/properties_directory/structural/patterns/functional_group.json +3 -0
- package/dist/js/schema/properties_directory/structural/patterns/ring.json +3 -0
- package/dist/js/schema/properties_directory/structural/patterns/special_bond.json +3 -0
- package/dist/js/schema/properties_directory/workflow/convergence/electronic.json +4 -2
- package/dist/js/schema/properties_directory/workflow/convergence/ionic.json +7 -2
- package/dist/js/schema/property/holder.json +7886 -0
- package/dist/js/schema/property/meta_holder.json +244 -0
- package/dist/js/schema/property/proto_holder.json +143 -0
- package/dist/js/schema/property/source.json +9 -6
- package/dist/js/schema/workflow/base_flow.json +162 -177
- package/dist/js/schema/workflow/subworkflow/unit.json +3 -5
- package/dist/js/schema/workflow/subworkflow.json +165 -182
- package/dist/js/schema/workflow/unit/io/db.json +1 -2
- package/dist/js/schema/workflow/unit/io/object_storage.json +1 -2
- package/dist/js/schema/workflow/unit/io.json +3 -5
- package/dist/js/schema/workflow/unit.json +3 -5
- package/dist/js/schema/workflow.json +168 -187
- package/dist/js/schemas.json +1 -1
- package/dist/js/types.d.ts +6756 -1388
- package/example/properties_directory/elemental/ionization_potential.json +2 -1
- package/example/properties_directory/non-scalar/hubbard_v.json +3 -3
- package/example/properties_directory/non-scalar/hubbard_v_nn.json +3 -3
- package/example/properties_directory/workflow/convergence/electronic.json +1 -0
- package/example/properties_directory/workflow/convergence/ionic.json +1 -0
- package/example/property/{base.json → holder.json} +11 -2
- package/example/workflow/unit/io/object_storage.json +2 -1
- package/package.json +3 -3
- package/schema/core/abstract/2d_data.json +14 -1
- package/schema/core/abstract/2d_plot.json +0 -5
- package/schema/core/primitive/1d_data_series.json +1 -4
- package/schema/core/primitive/axis_3d_names_enum.json +1 -1
- package/schema/core/reference/exabyte.json +5 -5
- package/schema/core/reusable/coordinate_conditions/index.json +2 -2
- package/schema/core/reusable/energy.json +1 -1
- package/schema/core/reusable/kpoint.json +1 -1
- package/schema/definitions/material.json +1 -1
- package/schema/methods_directory/physical/psp/file_data_item.json +3 -1
- package/schema/properties_directory/elemental/atomic_radius.json +4 -1
- package/schema/properties_directory/elemental/electronegativity.json +4 -1
- package/schema/properties_directory/elemental/ionization_potential.json +6 -3
- package/schema/properties_directory/jupyter_notebook_endpoint.json +28 -0
- package/schema/properties_directory/non-scalar/average_potential_profile.json +5 -2
- package/schema/properties_directory/non-scalar/band_gaps.json +4 -2
- package/schema/properties_directory/non-scalar/band_structure.json +8 -2
- package/schema/properties_directory/non-scalar/charge_density_profile.json +5 -2
- package/schema/properties_directory/non-scalar/density_of_states.json +6 -2
- package/schema/properties_directory/non-scalar/dielectric_tensor.json +4 -2
- package/schema/properties_directory/non-scalar/file_content.json +2 -1
- package/schema/properties_directory/non-scalar/final_structure.json +25 -0
- package/schema/properties_directory/non-scalar/hubbard_u.json +5 -2
- package/schema/properties_directory/non-scalar/hubbard_v.json +7 -26
- package/schema/properties_directory/non-scalar/hubbard_v_nn.json +12 -2
- package/schema/properties_directory/non-scalar/is_relaxed.json +25 -0
- package/schema/properties_directory/non-scalar/phonon_dispersions.json +5 -2
- package/schema/properties_directory/non-scalar/phonon_dos.json +5 -2
- package/schema/properties_directory/non-scalar/potential_profile.json +5 -2
- package/schema/properties_directory/non-scalar/reaction_energy_profile.json +5 -2
- package/schema/properties_directory/non-scalar/stress_tensor.json +8 -2
- package/schema/properties_directory/non-scalar/total_energy_contributions.json +25 -5
- package/schema/properties_directory/non-scalar/vibrational_spectrum.json +5 -2
- package/schema/properties_directory/non-scalar/workflow.json +21 -0
- package/schema/properties_directory/reusable/hubbard_parameters.json +36 -0
- package/schema/properties_directory/scalar/electron_affinity.json +5 -2
- package/schema/properties_directory/scalar/fermi_energy.json +5 -2
- package/schema/properties_directory/scalar/formation_energy.json +5 -2
- package/schema/properties_directory/scalar/ionization_potential.json +5 -2
- package/schema/properties_directory/scalar/pressure.json +6 -2
- package/schema/properties_directory/scalar/reaction_energy_barrier.json +5 -2
- package/schema/properties_directory/scalar/surface_energy.json +5 -2
- package/schema/properties_directory/scalar/total_energy.json +6 -2
- package/schema/properties_directory/scalar/total_force.json +6 -2
- package/schema/properties_directory/scalar/valence_band_offset.json +5 -2
- package/schema/properties_directory/scalar/zero_point_energy.json +5 -2
- package/schema/properties_directory/structural/atomic_forces.json +7 -2
- package/schema/properties_directory/structural/basis/atomic_constraints_property.json +5 -1
- package/schema/properties_directory/structural/basis/boundary_conditions.json +25 -0
- package/schema/properties_directory/structural/lattice/units.json +1 -1
- package/schema/properties_directory/structural/magnetic_moments.json +7 -2
- package/schema/properties_directory/structural/patterns/functional_group.json +4 -1
- package/schema/properties_directory/structural/patterns/ring.json +4 -1
- package/schema/properties_directory/structural/patterns/special_bond.json +4 -1
- package/schema/properties_directory/workflow/convergence/electronic.json +4 -2
- package/schema/properties_directory/workflow/convergence/ionic.json +8 -3
- package/schema/property/holder.json +180 -0
- package/schema/property/meta_holder.json +42 -0
- package/schema/property/proto_holder.json +51 -0
- package/schema/property/source.json +5 -2
- package/schema/workflow/base_flow.json +2 -16
- package/schema/workflow/unit/io/db.json +1 -2
- package/schema/workflow/unit/io/object_storage.json +1 -2
- package/schema/workflow/unit/io.json +1 -1
- package/dist/js/schema/property/base.json +0 -346
- package/dist/js/schema/property/meta.json +0 -346
- package/dist/js/schema/property/raw.json +0 -346
- package/schema/property/base.json +0 -58
- package/schema/property/meta.json +0 -11
- package/schema/property/raw.json +0 -58
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "property/meta-holder",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Meta property holder schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"data",
|
|
8
|
+
"source"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"data": {
|
|
12
|
+
"description": "container of the information, specific to each property",
|
|
13
|
+
"type": "object",
|
|
14
|
+
"oneOf": [
|
|
15
|
+
{
|
|
16
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
17
|
+
"title": "File data item",
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"element": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "chemical element"
|
|
23
|
+
},
|
|
24
|
+
"hash": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "MD5 hash of the pseudopotential file"
|
|
27
|
+
},
|
|
28
|
+
"type": {
|
|
29
|
+
"enum": [
|
|
30
|
+
"us",
|
|
31
|
+
"nc",
|
|
32
|
+
"nc-fr",
|
|
33
|
+
"paw",
|
|
34
|
+
"coulomb"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
"source": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"description": "explains where this came from"
|
|
40
|
+
},
|
|
41
|
+
"version": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"description": "explains the version of where this came from"
|
|
44
|
+
},
|
|
45
|
+
"exchangeCorrelation": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"properties": {
|
|
48
|
+
"approximation": {
|
|
49
|
+
"description": "DFT approximation",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"functional": {
|
|
53
|
+
"description": "Exchange correlation functional",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"path": {
|
|
57
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
58
|
+
"title": "category path schema",
|
|
59
|
+
"description": "TODO: Use regex once schema draft version has been updated",
|
|
60
|
+
"type": "string"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"valenceConfiguration": {
|
|
65
|
+
"type": "array",
|
|
66
|
+
"description": "contains pseudo orbital information, including orbital names and occupations",
|
|
67
|
+
"items": {
|
|
68
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
69
|
+
"title": "atomic orbital schema",
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"orbitalName": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"pattern": "^[1-7][sSpPdDfF]$"
|
|
75
|
+
},
|
|
76
|
+
"orbitalIndex": {
|
|
77
|
+
"type": "integer",
|
|
78
|
+
"minimum": 1
|
|
79
|
+
},
|
|
80
|
+
"principalNumber": {
|
|
81
|
+
"type": "integer",
|
|
82
|
+
"minimum": 1,
|
|
83
|
+
"maximum": 7
|
|
84
|
+
},
|
|
85
|
+
"angularMomentum": {
|
|
86
|
+
"type": "integer",
|
|
87
|
+
"minimum": 0,
|
|
88
|
+
"maximum": 3
|
|
89
|
+
},
|
|
90
|
+
"occupation": {
|
|
91
|
+
"type": "number",
|
|
92
|
+
"description": "Shell occupation",
|
|
93
|
+
"minimum": 0,
|
|
94
|
+
"maximum": 14
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"path": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"description": "location of the pseudopotential file on filesystem"
|
|
102
|
+
},
|
|
103
|
+
"apps": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"description": "The names of the simulation engines that can use this pseudopotential, e.g. espresso",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"filename": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "filename of pseudopotential file on filesystem"
|
|
113
|
+
},
|
|
114
|
+
"name": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"description": "name of the data category",
|
|
117
|
+
"enum": [
|
|
118
|
+
"pseudopotential"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"cutoffs": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"description": "Suggested cutoff values for wave function and charge density.",
|
|
124
|
+
"additionalProperties": false,
|
|
125
|
+
"properties": {
|
|
126
|
+
"wavefunction": {
|
|
127
|
+
"type": "array",
|
|
128
|
+
"description": "Energy cutoff values for wavefunction plane wave expansion.",
|
|
129
|
+
"items": {
|
|
130
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
131
|
+
"title": "Reusable schema for energy value with unit corresponding to a specific accuracy level, e.g., used for suggested wavefunction and charge density cutoffs",
|
|
132
|
+
"type": "object",
|
|
133
|
+
"required": [
|
|
134
|
+
"accuracy_level",
|
|
135
|
+
"unit",
|
|
136
|
+
"value"
|
|
137
|
+
],
|
|
138
|
+
"properties": {
|
|
139
|
+
"unit": {
|
|
140
|
+
"description": "Unit of the energy value corresponding to a accuracy_level. The values are expressed in Ry.",
|
|
141
|
+
"type": "string",
|
|
142
|
+
"enum": [
|
|
143
|
+
"Ry"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
"accuracy_level": {
|
|
147
|
+
"description": "Accuracy level determines suggested scalar value.",
|
|
148
|
+
"type": "string",
|
|
149
|
+
"enum": [
|
|
150
|
+
"standard",
|
|
151
|
+
"low",
|
|
152
|
+
"high"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"value": {
|
|
156
|
+
"type": "number"
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"density": {
|
|
162
|
+
"type": "array",
|
|
163
|
+
"description": "Energy cutoff values for charge density plane wave expansion.",
|
|
164
|
+
"items": {
|
|
165
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
166
|
+
"title": "Reusable schema for energy value with unit corresponding to a specific accuracy level, e.g., used for suggested wavefunction and charge density cutoffs",
|
|
167
|
+
"type": "object",
|
|
168
|
+
"required": [
|
|
169
|
+
"accuracy_level",
|
|
170
|
+
"unit",
|
|
171
|
+
"value"
|
|
172
|
+
],
|
|
173
|
+
"properties": {
|
|
174
|
+
"unit": {
|
|
175
|
+
"description": "Unit of the energy value corresponding to a accuracy_level. The values are expressed in Ry.",
|
|
176
|
+
"type": "string",
|
|
177
|
+
"enum": [
|
|
178
|
+
"Ry"
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
"accuracy_level": {
|
|
182
|
+
"description": "Accuracy level determines suggested scalar value.",
|
|
183
|
+
"type": "string",
|
|
184
|
+
"enum": [
|
|
185
|
+
"standard",
|
|
186
|
+
"low",
|
|
187
|
+
"high"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"value": {
|
|
191
|
+
"type": "number"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"required": [
|
|
200
|
+
"element",
|
|
201
|
+
"type",
|
|
202
|
+
"exchangeCorrelation",
|
|
203
|
+
"source",
|
|
204
|
+
"path",
|
|
205
|
+
"apps",
|
|
206
|
+
"name",
|
|
207
|
+
"hash"
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"source": {
|
|
213
|
+
"type": "object",
|
|
214
|
+
"required": [
|
|
215
|
+
"type"
|
|
216
|
+
],
|
|
217
|
+
"properties": {
|
|
218
|
+
"type": {
|
|
219
|
+
"description": "Type of the material property's source.",
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"info": {
|
|
223
|
+
"type": "object"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"_id": {
|
|
228
|
+
"description": "entity identity",
|
|
229
|
+
"type": "string"
|
|
230
|
+
},
|
|
231
|
+
"slug": {
|
|
232
|
+
"description": "entity slug",
|
|
233
|
+
"type": "string"
|
|
234
|
+
},
|
|
235
|
+
"systemName": {
|
|
236
|
+
"type": "string"
|
|
237
|
+
},
|
|
238
|
+
"schemaVersion": {
|
|
239
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
240
|
+
"type": "string",
|
|
241
|
+
"default": "2022.8.16"
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "property/proto-holder",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Proto property holder schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"data",
|
|
8
|
+
"source"
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"data": {
|
|
12
|
+
"description": "container of the information, specific to each property",
|
|
13
|
+
"type": "object",
|
|
14
|
+
"oneOf": [
|
|
15
|
+
{
|
|
16
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
17
|
+
"title": "atomic constraints property schema",
|
|
18
|
+
"description": "atomic constraints property schema (as stored in a database)",
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"name": {
|
|
22
|
+
"enum": [
|
|
23
|
+
"atomic_constraints"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"values": {
|
|
27
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
28
|
+
"title": "atomic constraints schema",
|
|
29
|
+
"description": "atomic constraints schema",
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
33
|
+
"title": "atomic constraint schema",
|
|
34
|
+
"description": "constraint of atoms by ids, used to constraint the position etc.",
|
|
35
|
+
"type": "object",
|
|
36
|
+
"required": [
|
|
37
|
+
"id",
|
|
38
|
+
"value"
|
|
39
|
+
],
|
|
40
|
+
"properties": {
|
|
41
|
+
"value": {
|
|
42
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
43
|
+
"title": "vector boolean 3d schema",
|
|
44
|
+
"oneOf": [
|
|
45
|
+
{
|
|
46
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
47
|
+
"title": "array of 3 boolean elements schema",
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
},
|
|
52
|
+
"minItems": 3,
|
|
53
|
+
"maxItems": 3
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"description": "value of this entry"
|
|
57
|
+
},
|
|
58
|
+
"id": {
|
|
59
|
+
"description": "integer id of this entry",
|
|
60
|
+
"type": "integer"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"required": [
|
|
67
|
+
"name",
|
|
68
|
+
"values"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
73
|
+
"title": "boundary conditions property schema",
|
|
74
|
+
"description": "boundary conditions property schema (as stored in a database)",
|
|
75
|
+
"type": "object",
|
|
76
|
+
"properties": {
|
|
77
|
+
"name": {
|
|
78
|
+
"enum": [
|
|
79
|
+
"boundary_conditions"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"type": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"enum": [
|
|
85
|
+
"pbc",
|
|
86
|
+
"bc1",
|
|
87
|
+
"bc2",
|
|
88
|
+
"bc3"
|
|
89
|
+
],
|
|
90
|
+
"default": "pbc",
|
|
91
|
+
"description": "If assume_isolated = 'esm', determines the boundary conditions used for either side of the slab."
|
|
92
|
+
},
|
|
93
|
+
"offset": {
|
|
94
|
+
"type": "number"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"name",
|
|
99
|
+
"type",
|
|
100
|
+
"offset"
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
"source": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"required": [
|
|
108
|
+
"type",
|
|
109
|
+
"info"
|
|
110
|
+
],
|
|
111
|
+
"properties": {
|
|
112
|
+
"type": {
|
|
113
|
+
"description": "Type of the material property's source.",
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"info": {
|
|
117
|
+
"type": "object",
|
|
118
|
+
"properties": {
|
|
119
|
+
"materialId": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"_id": {
|
|
127
|
+
"description": "entity identity",
|
|
128
|
+
"type": "string"
|
|
129
|
+
},
|
|
130
|
+
"slug": {
|
|
131
|
+
"description": "entity slug",
|
|
132
|
+
"type": "string"
|
|
133
|
+
},
|
|
134
|
+
"systemName": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
},
|
|
137
|
+
"schemaVersion": {
|
|
138
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
139
|
+
"type": "string",
|
|
140
|
+
"default": "2022.8.16"
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "property/source",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "Property source schema",
|
|
5
5
|
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"info"
|
|
8
|
+
],
|
|
6
9
|
"properties": {
|
|
7
10
|
"type": {
|
|
8
11
|
"description": "Type of the material property's source.",
|
|
@@ -18,10 +21,6 @@
|
|
|
18
21
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
19
22
|
"type": "object",
|
|
20
23
|
"properties": {
|
|
21
|
-
"materialId": {
|
|
22
|
-
"description": "Material's identity. Used for protoProperties.",
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
24
|
"jobId": {
|
|
26
25
|
"description": "Job's identity",
|
|
27
26
|
"type": "string"
|
|
@@ -30,7 +29,11 @@
|
|
|
30
29
|
"description": "Id of the unit that extracted the result",
|
|
31
30
|
"type": "string"
|
|
32
31
|
}
|
|
33
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"jobId",
|
|
35
|
+
"unitId"
|
|
36
|
+
]
|
|
34
37
|
},
|
|
35
38
|
{
|
|
36
39
|
"$schema": "http://json-schema.org/draft-07/schema#",
|