@mat3ra/esse 2023.12.25-2

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 (609) hide show
  1. package/.babelrc +10 -0
  2. package/.eslintrc.json +3 -0
  3. package/.pre-commit-config.yaml +20 -0
  4. package/.prettierrc +6 -0
  5. package/LICENSE.md +15 -0
  6. package/README.md +157 -0
  7. package/build_schemas.js +42 -0
  8. package/build_schemas.py +61 -0
  9. package/docs/README.md +3 -0
  10. package/example/3pse/file/applications/espresso/7.2/pw.x.json +94 -0
  11. package/example/core/abstract/2d_data.json +19 -0
  12. package/example/core/abstract/2d_plot.json +26 -0
  13. package/example/core/abstract/3d_grid.json +12 -0
  14. package/example/core/abstract/3d_tensor.json +17 -0
  15. package/example/core/abstract/3d_vector_basis.json +17 -0
  16. package/example/core/abstract/point.json +5 -0
  17. package/example/core/abstract/vector.json +5 -0
  18. package/example/core/primitive/1d_data_series.json +12 -0
  19. package/example/core/primitive/3d_lattice.json +8 -0
  20. package/example/core/primitive/array_of_3_booleans.json +5 -0
  21. package/example/core/primitive/array_of_3_numbers.json +5 -0
  22. package/example/core/primitive/array_of_ids.json +8 -0
  23. package/example/core/primitive/axis.json +4 -0
  24. package/example/core/primitive/scalar.json +3 -0
  25. package/example/core/primitive/string.json +3 -0
  26. package/example/core/reference/experiment/condition.json +12 -0
  27. package/example/core/reference/experiment/location.json +4 -0
  28. package/example/core/reference/experiment.json +22 -0
  29. package/example/core/reference/literature/name.json +5 -0
  30. package/example/core/reference/literature/pages.json +4 -0
  31. package/example/core/reference/literature.json +8 -0
  32. package/example/core/reference/modeling/exabyte.json +7 -0
  33. package/example/core/reference/modeling.json +3 -0
  34. package/example/core/reference.json +3 -0
  35. package/example/core/reusable/atomic_vectors.json +18 -0
  36. package/example/core/reusable/band_gap.json +16 -0
  37. package/example/core/reusable/energy.json +5 -0
  38. package/example/core/reusable/file_metadata.json +5 -0
  39. package/example/core/reusable/object_storage_container_data.json +8 -0
  40. package/example/element.json +14 -0
  41. package/example/job/compute.json +26 -0
  42. package/example/job.json +26 -0
  43. package/example/material.json +94 -0
  44. package/example/method/categorized_method.json +47 -0
  45. package/example/method/method_parameters.json +3 -0
  46. package/example/method.json +7 -0
  47. package/example/methods_directory/legacy/localorbital.json +4 -0
  48. package/example/methods_directory/legacy/pseudopotential.json +4 -0
  49. package/example/methods_directory/legacy/regression.json +61 -0
  50. package/example/methods_directory/legacy/unknown.json +4 -0
  51. package/example/methods_directory/mathematical/cg.json +10 -0
  52. package/example/methods_directory/mathematical/regression.json +65 -0
  53. package/example/methods_directory/physical/ao/dunning.json +13 -0
  54. package/example/methods_directory/physical/psp/file.json +49 -0
  55. package/example/methods_directory/physical/psp.json +16 -0
  56. package/example/methods_directory/physical/pw.json +9 -0
  57. package/example/methods_directory/physical/smearing.json +10 -0
  58. package/example/methods_directory/physical/tetrahedron.json +10 -0
  59. package/example/model/categorized_model.json +33 -0
  60. package/example/model/model_parameters.json +7 -0
  61. package/example/model.json +7 -0
  62. package/example/models_category/pb/qm/abin/gw.json +7 -0
  63. package/example/models_category/pb/qm/dft/ksdft.json +6 -0
  64. package/example/models_category/pb/qm/semp.json +5 -0
  65. package/example/models_directory/gga.json +15 -0
  66. package/example/models_directory/gw.json +15 -0
  67. package/example/models_directory/hybrid.json +15 -0
  68. package/example/models_directory/lda.json +15 -0
  69. package/example/models_directory/legacy/dft.json +8 -0
  70. package/example/models_directory/legacy/ml.json +7 -0
  71. package/example/models_directory/legacy/unknown.json +7 -0
  72. package/example/models_directory/re.json +9 -0
  73. package/example/project.json +21 -0
  74. package/example/properties_directory/electronic_configuration.json +4 -0
  75. package/example/properties_directory/elemental/atomic_radius.json +4 -0
  76. package/example/properties_directory/elemental/electronegativity.json +4 -0
  77. package/example/properties_directory/elemental/ionization_potential.json +4 -0
  78. package/example/properties_directory/non-scalar/band_gaps.json +25 -0
  79. package/example/properties_directory/non-scalar/band_structure.json +47 -0
  80. package/example/properties_directory/non-scalar/charge_density_profile.json +22 -0
  81. package/example/properties_directory/non-scalar/density_of_states.json +55 -0
  82. package/example/properties_directory/non-scalar/dielectric_tensor.json +133 -0
  83. package/example/properties_directory/non-scalar/file_content.json +8 -0
  84. package/example/properties_directory/non-scalar/hubbard_u.json +24 -0
  85. package/example/properties_directory/non-scalar/hubbard_v.json +22 -0
  86. package/example/properties_directory/non-scalar/hubbard_v_nn.json +24 -0
  87. package/example/properties_directory/non-scalar/phonon_dispersions.json +41 -0
  88. package/example/properties_directory/non-scalar/phonon_dos.json +37 -0
  89. package/example/properties_directory/non-scalar/potential_profile.json +32 -0
  90. package/example/properties_directory/non-scalar/reaction_energy_profile.json +30 -0
  91. package/example/properties_directory/non-scalar/stress_tensor.json +21 -0
  92. package/example/properties_directory/non-scalar/total_energy_contributions.json +44 -0
  93. package/example/properties_directory/non-scalar/vibrational_spectrum.json +25 -0
  94. package/example/properties_directory/scalar/electron_affinity.json +5 -0
  95. package/example/properties_directory/scalar/fermi_energy.json +5 -0
  96. package/example/properties_directory/scalar/formation_energy.json +5 -0
  97. package/example/properties_directory/scalar/ionization_potential.json +5 -0
  98. package/example/properties_directory/scalar/pressure.json +5 -0
  99. package/example/properties_directory/scalar/reaction_energy_barrier.json +5 -0
  100. package/example/properties_directory/scalar/surface_energy.json +5 -0
  101. package/example/properties_directory/scalar/total_energy.json +5 -0
  102. package/example/properties_directory/scalar/total_force.json +5 -0
  103. package/example/properties_directory/scalar/valence_band_offset.json +5 -0
  104. package/example/properties_directory/scalar/zero_point_energy.json +5 -0
  105. package/example/properties_directory/structural/atomic_forces.json +22 -0
  106. package/example/properties_directory/structural/basis/atomic_constraints.json +21 -0
  107. package/example/properties_directory/structural/basis/atomic_coordinate.json +8 -0
  108. package/example/properties_directory/structural/basis/atomic_coordinates.json +21 -0
  109. package/example/properties_directory/structural/basis/atomic_element.json +4 -0
  110. package/example/properties_directory/structural/basis/bonds.json +24 -0
  111. package/example/properties_directory/structural/basis.json +19 -0
  112. package/example/properties_directory/structural/density.json +5 -0
  113. package/example/properties_directory/structural/elemental_ratio.json +5 -0
  114. package/example/properties_directory/structural/inchi.json +4 -0
  115. package/example/properties_directory/structural/inchi_key.json +4 -0
  116. package/example/properties_directory/structural/lattice/lattice_bravais.json +13 -0
  117. package/example/properties_directory/structural/lattice/lattice_vectors.json +19 -0
  118. package/example/properties_directory/structural/lattice.json +7 -0
  119. package/example/properties_directory/structural/magnetic_moments.json +22 -0
  120. package/example/properties_directory/structural/molecular_pattern.json +71 -0
  121. package/example/properties_directory/structural/p-norm.json +5 -0
  122. package/example/properties_directory/structural/symmetry.json +9 -0
  123. package/example/properties_directory/structural/volume.json +5 -0
  124. package/example/properties_directory/workflow/convergence/electronic.json +15 -0
  125. package/example/properties_directory/workflow/convergence/ionic.json +20 -0
  126. package/example/properties_directory/workflow/convergence/kpoint.json +22 -0
  127. package/example/property/base.json +21 -0
  128. package/example/software/application.json +7 -0
  129. package/example/software/executable.json +20 -0
  130. package/example/software/flavor.json +9 -0
  131. package/example/software/template.json +14 -0
  132. package/example/software_directory/ml/exabyteml.json +6 -0
  133. package/example/software_directory/ml/unit/execution/evaluate/cross-validate.json +17 -0
  134. package/example/software_directory/ml/unit/execution/initialize.json +20 -0
  135. package/example/software_directory/ml/unit/execution/score.json +15 -0
  136. package/example/software_directory/ml/unit/execution/train.json +26 -0
  137. package/example/software_directory/ml/unit/processing/data_transformation/manipulation.json +14 -0
  138. package/example/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +26 -0
  139. package/example/software_directory/ml/unit/processing/feature_selection/filter_based.json +13 -0
  140. package/example/software_directory/modeling/espresso/arguments.json +5 -0
  141. package/example/software_directory/modeling/espresso.json +6 -0
  142. package/example/software_directory/modeling/nwchem.json +6 -0
  143. package/example/software_directory/modeling/unit/execution.json +16 -0
  144. package/example/software_directory/modeling/vasp.json +6 -0
  145. package/example/software_directory/scripting/jupyter-lab.json +8 -0
  146. package/example/software_directory/scripting/python.json +8 -0
  147. package/example/software_directory/scripting/shell.json +8 -0
  148. package/example/software_directory/scripting/unit/execution.json +17 -0
  149. package/example/system/_material.json +5 -0
  150. package/example/system/_parent_job.json +5 -0
  151. package/example/system/_project.json +5 -0
  152. package/example/system/consistency_check.json +6 -0
  153. package/example/system/creator.json +5 -0
  154. package/example/system/entity_reference.json +5 -0
  155. package/example/system/file_source.json +6 -0
  156. package/example/system/message.json +14 -0
  157. package/example/system/owner.json +5 -0
  158. package/example/workflow/subworkflow.json +18 -0
  159. package/example/workflow/unit/assignment.json +19 -0
  160. package/example/workflow/unit/condition.json +22 -0
  161. package/example/workflow/unit/execution.json +39 -0
  162. package/example/workflow/unit/input/_inputItemScope.json +4 -0
  163. package/example/workflow/unit/io/api.json +31 -0
  164. package/example/workflow/unit/io/db.json +15 -0
  165. package/example/workflow/unit/io/object_storage.json +7 -0
  166. package/example/workflow/unit/io.json +41 -0
  167. package/example/workflow/unit/map.json +16 -0
  168. package/example/workflow/unit/processing.json +13 -0
  169. package/example/workflow/unit/reduce.json +16 -0
  170. package/example/workflow/unit/runtime/runtime_items.json +14 -0
  171. package/example/workflow/unit.json +8 -0
  172. package/example/workflow.json +34 -0
  173. package/lib/js/esse/index.js +83 -0
  174. package/lib/js/esse/schemaUtils.js +78 -0
  175. package/lib/js/esse/settings.js +18 -0
  176. package/lib/js/esse/utils.js +74 -0
  177. package/lib/js/json_include/index.js +110 -0
  178. package/lib/js/json_include/settings.js +13 -0
  179. package/lib/js/json_include/utils.js +22 -0
  180. package/lib/js/scripts/createEnumsFromYaml.js +74 -0
  181. package/lib/js/scripts/setSchemaIds.js +156 -0
  182. package/npmignore +6 -0
  183. package/package.json +75 -0
  184. package/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_positions.json +66 -0
  185. package/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_species.json +30 -0
  186. package/schema/3pse/file/applications/espresso/7.2/pw.x/cell.json +89 -0
  187. package/schema/3pse/file/applications/espresso/7.2/pw.x/cell_parameters.json +36 -0
  188. package/schema/3pse/file/applications/espresso/7.2/pw.x/control.json +181 -0
  189. package/schema/3pse/file/applications/espresso/7.2/pw.x/electrons.json +157 -0
  190. package/schema/3pse/file/applications/espresso/7.2/pw.x/hubbard.json +219 -0
  191. package/schema/3pse/file/applications/espresso/7.2/pw.x/ions.json +216 -0
  192. package/schema/3pse/file/applications/espresso/7.2/pw.x/k_points.json +87 -0
  193. package/schema/3pse/file/applications/espresso/7.2/pw.x/system.json +649 -0
  194. package/schema/3pse/file/applications/espresso/7.2/pw.x.json +52 -0
  195. package/schema/core/abstract/2d_data.json +19 -0
  196. package/schema/core/abstract/2d_plot.json +29 -0
  197. package/schema/core/abstract/3d_grid.json +17 -0
  198. package/schema/core/abstract/3d_tensor.json +11 -0
  199. package/schema/core/abstract/3d_vector_basis.json +25 -0
  200. package/schema/core/abstract/point.json +10 -0
  201. package/schema/core/abstract/vector.json +13 -0
  202. package/schema/core/primitive/1d_data_series.json +16 -0
  203. package/schema/core/primitive/3d_lattice.json +40 -0
  204. package/schema/core/primitive/array_of_3_booleans.json +11 -0
  205. package/schema/core/primitive/array_of_3_numbers.json +11 -0
  206. package/schema/core/primitive/array_of_ids.json +17 -0
  207. package/schema/core/primitive/array_of_strings.json +11 -0
  208. package/schema/core/primitive/axis.json +18 -0
  209. package/schema/core/primitive/group_info.json +16 -0
  210. package/schema/core/primitive/integer_one_or_zero.json +8 -0
  211. package/schema/core/primitive/linked_list/base_node.json +34 -0
  212. package/schema/core/primitive/linked_list/named_node.json +14 -0
  213. package/schema/core/primitive/linked_list/named_node_in_group.json +14 -0
  214. package/schema/core/primitive/linked_list/node_with_type.json +16 -0
  215. package/schema/core/primitive/linked_list.json +24 -0
  216. package/schema/core/primitive/scalar.json +14 -0
  217. package/schema/core/primitive/slugified_entry.json +21 -0
  218. package/schema/core/primitive/slugified_entry_or_slug.json +14 -0
  219. package/schema/core/primitive/string.json +14 -0
  220. package/schema/core/reference/exabyte.json +19 -0
  221. package/schema/core/reference/experiment/condition.json +29 -0
  222. package/schema/core/reference/experiment/location.json +19 -0
  223. package/schema/core/reference/experiment.json +58 -0
  224. package/schema/core/reference/literature/name.json +24 -0
  225. package/schema/core/reference/literature/pages.json +17 -0
  226. package/schema/core/reference/literature.json +82 -0
  227. package/schema/core/reference/modeling/exabyte.json +30 -0
  228. package/schema/core/reference/modeling.json +10 -0
  229. package/schema/core/reference.json +16 -0
  230. package/schema/core/reusable/atomic_data/per_orbital.json +22 -0
  231. package/schema/core/reusable/atomic_data/per_orbital_pair.json +39 -0
  232. package/schema/core/reusable/atomic_data/value_number.json +13 -0
  233. package/schema/core/reusable/atomic_data/value_string.json +13 -0
  234. package/schema/core/reusable/atomic_data_per_orbital_numeric.json +15 -0
  235. package/schema/core/reusable/atomic_data_per_orbital_pair_numeric.json +15 -0
  236. package/schema/core/reusable/atomic_orbital.json +32 -0
  237. package/schema/core/reusable/atomic_scalars.json +17 -0
  238. package/schema/core/reusable/atomic_strings.json +17 -0
  239. package/schema/core/reusable/atomic_vectors.json +17 -0
  240. package/schema/core/reusable/band_gap.json +44 -0
  241. package/schema/core/reusable/categories.json +29 -0
  242. package/schema/core/reusable/category_path.json +7 -0
  243. package/schema/core/reusable/dielectric_tensor_component.json +28 -0
  244. package/schema/core/reusable/energy.json +29 -0
  245. package/schema/core/reusable/file_metadata.json +20 -0
  246. package/schema/core/reusable/frequency_function_matrix.json +23 -0
  247. package/schema/core/reusable/object_storage_container_data.json +37 -0
  248. package/schema/definitions/units.json +103 -0
  249. package/schema/element.json +28 -0
  250. package/schema/in_memory_entity/base.json +30 -0
  251. package/schema/in_memory_entity/defaultable.json +13 -0
  252. package/schema/in_memory_entity/named.json +13 -0
  253. package/schema/in_memory_entity/named_defaultable.json +16 -0
  254. package/schema/in_memory_entity/named_defaultable_has_metadata.json +19 -0
  255. package/schema/in_memory_entity/named_defaultable_runtime_items.json +19 -0
  256. package/schema/job/base.json +80 -0
  257. package/schema/job/compute.json +145 -0
  258. package/schema/job.json +19 -0
  259. package/schema/material/conventional.json +10 -0
  260. package/schema/material.json +57 -0
  261. package/schema/method/categorized_method.json +24 -0
  262. package/schema/method/method_parameters.json +20 -0
  263. package/schema/method/unit_method.json +27 -0
  264. package/schema/method.json +27 -0
  265. package/schema/methods_category/mathematical/diff/enum_options.json +8 -0
  266. package/schema/methods_category/mathematical/diff/enum_options.yml +3 -0
  267. package/schema/methods_category/mathematical/diff/fd.json +15 -0
  268. package/schema/methods_category/mathematical/diff.json +15 -0
  269. package/schema/methods_category/mathematical/discr/enum_options.json +8 -0
  270. package/schema/methods_category/mathematical/discr/enum_options.yml +3 -0
  271. package/schema/methods_category/mathematical/discr/mesh/enum_options.json +18 -0
  272. package/schema/methods_category/mathematical/discr/mesh/enum_options.yml +7 -0
  273. package/schema/methods_category/mathematical/discr/mesh/hybrid.json +15 -0
  274. package/schema/methods_category/mathematical/discr/mesh/nstruct.json +15 -0
  275. package/schema/methods_category/mathematical/discr/mesh/struct/cartesian.json +15 -0
  276. package/schema/methods_category/mathematical/discr/mesh/struct/enum_options.json +8 -0
  277. package/schema/methods_category/mathematical/discr/mesh/struct/enum_options.yml +3 -0
  278. package/schema/methods_category/mathematical/discr/mesh/struct.json +15 -0
  279. package/schema/methods_category/mathematical/discr/mesh.json +15 -0
  280. package/schema/methods_category/mathematical/discr.json +15 -0
  281. package/schema/methods_category/mathematical/enum_options.json +45 -0
  282. package/schema/methods_category/mathematical/enum_options.yml +22 -0
  283. package/schema/methods_category/mathematical/fapprx/basisexp.json +15 -0
  284. package/schema/methods_category/mathematical/fapprx/enum_options.json +13 -0
  285. package/schema/methods_category/mathematical/fapprx/enum_options.yml +5 -0
  286. package/schema/methods_category/mathematical/fapprx/ipol/enum_options.json +18 -0
  287. package/schema/methods_category/mathematical/fapprx/ipol/enum_options.yml +7 -0
  288. package/schema/methods_category/mathematical/fapprx/ipol/lin.json +15 -0
  289. package/schema/methods_category/mathematical/fapprx/ipol/poly.json +15 -0
  290. package/schema/methods_category/mathematical/fapprx/ipol/spline.json +15 -0
  291. package/schema/methods_category/mathematical/fapprx/ipol.json +15 -0
  292. package/schema/methods_category/mathematical/fapprx.json +15 -0
  293. package/schema/methods_category/mathematical/intgr/analytic/enum_options.json +20 -0
  294. package/schema/methods_category/mathematical/intgr/analytic/enum_options.yml +14 -0
  295. package/schema/methods_category/mathematical/intgr/analytic/volume.json +18 -0
  296. package/schema/methods_category/mathematical/intgr/analytic.json +15 -0
  297. package/schema/methods_category/mathematical/intgr/diffeq/enum_options.json +13 -0
  298. package/schema/methods_category/mathematical/intgr/diffeq/enum_options.yml +5 -0
  299. package/schema/methods_category/mathematical/intgr/diffeq/order1.json +15 -0
  300. package/schema/methods_category/mathematical/intgr/diffeq/order2.json +15 -0
  301. package/schema/methods_category/mathematical/intgr/diffeq.json +15 -0
  302. package/schema/methods_category/mathematical/intgr/enum_options.json +23 -0
  303. package/schema/methods_category/mathematical/intgr/enum_options.yml +9 -0
  304. package/schema/methods_category/mathematical/intgr/numquad/enum_options.json +13 -0
  305. package/schema/methods_category/mathematical/intgr/numquad/enum_options.yml +5 -0
  306. package/schema/methods_category/mathematical/intgr/numquad/gauss.json +15 -0
  307. package/schema/methods_category/mathematical/intgr/numquad/newcot.json +15 -0
  308. package/schema/methods_category/mathematical/intgr/numquad.json +15 -0
  309. package/schema/methods_category/mathematical/intgr/transf/enum_options.json +8 -0
  310. package/schema/methods_category/mathematical/intgr/transf/enum_options.yml +3 -0
  311. package/schema/methods_category/mathematical/intgr/transf/fourier.json +15 -0
  312. package/schema/methods_category/mathematical/intgr/transf.json +15 -0
  313. package/schema/methods_category/mathematical/intgr.json +15 -0
  314. package/schema/methods_category/mathematical/linalg/dcomp.json +15 -0
  315. package/schema/methods_category/mathematical/linalg/diag/davidson.json +15 -0
  316. package/schema/methods_category/mathematical/linalg/diag/enum_options.json +8 -0
  317. package/schema/methods_category/mathematical/linalg/diag/enum_options.yml +3 -0
  318. package/schema/methods_category/mathematical/linalg/diag.json +15 -0
  319. package/schema/methods_category/mathematical/linalg/enum_options.json +23 -0
  320. package/schema/methods_category/mathematical/linalg/enum_options.yml +9 -0
  321. package/schema/methods_category/mathematical/linalg/lintra.json +15 -0
  322. package/schema/methods_category/mathematical/linalg/matf.json +15 -0
  323. package/schema/methods_category/mathematical/linalg.json +15 -0
  324. package/schema/methods_category/mathematical/opt/diff/bracket.json +15 -0
  325. package/schema/methods_category/mathematical/opt/diff/enum_options.json +28 -0
  326. package/schema/methods_category/mathematical/opt/diff/enum_options.yml +11 -0
  327. package/schema/methods_category/mathematical/opt/diff/local.json +15 -0
  328. package/schema/methods_category/mathematical/opt/diff/order1.json +15 -0
  329. package/schema/methods_category/mathematical/opt/diff/order2.json +15 -0
  330. package/schema/methods_category/mathematical/opt/diff/ordern/cg.json +15 -0
  331. package/schema/methods_category/mathematical/opt/diff/ordern/enum_options.json +8 -0
  332. package/schema/methods_category/mathematical/opt/diff/ordern/enum_options.yml +3 -0
  333. package/schema/methods_category/mathematical/opt/diff/ordern.json +15 -0
  334. package/schema/methods_category/mathematical/opt/diff.json +15 -0
  335. package/schema/methods_category/mathematical/opt/enum_options.json +18 -0
  336. package/schema/methods_category/mathematical/opt/enum_options.yml +7 -0
  337. package/schema/methods_category/mathematical/opt/ndiff/direct.json +15 -0
  338. package/schema/methods_category/mathematical/opt/ndiff/enum_options.json +18 -0
  339. package/schema/methods_category/mathematical/opt/ndiff/enum_options.yml +7 -0
  340. package/schema/methods_category/mathematical/opt/ndiff/pop.json +15 -0
  341. package/schema/methods_category/mathematical/opt/ndiff/stoch.json +15 -0
  342. package/schema/methods_category/mathematical/opt/ndiff.json +15 -0
  343. package/schema/methods_category/mathematical/opt/root/bracket.json +15 -0
  344. package/schema/methods_category/mathematical/opt/root/enum_options.json +13 -0
  345. package/schema/methods_category/mathematical/opt/root/enum_options.yml +5 -0
  346. package/schema/methods_category/mathematical/opt/root/iter.json +15 -0
  347. package/schema/methods_category/mathematical/opt/root.json +15 -0
  348. package/schema/methods_category/mathematical/opt.json +15 -0
  349. package/schema/methods_category/mathematical/regression.json +18 -0
  350. package/schema/methods_category/physical/enum_options.json +8 -0
  351. package/schema/methods_category/physical/enum_options.yml +3 -0
  352. package/schema/methods_category/physical/qm/enum_options.json +8 -0
  353. package/schema/methods_category/physical/qm/enum_options.yml +3 -0
  354. package/schema/methods_category/physical/qm/wf/ao/dunning.json +17 -0
  355. package/schema/methods_category/physical/qm/wf/ao/other.json +17 -0
  356. package/schema/methods_category/physical/qm/wf/ao/pople.json +17 -0
  357. package/schema/methods_category/physical/qm/wf/ao.json +18 -0
  358. package/schema/methods_category/physical/qm/wf/enum_options.json +63 -0
  359. package/schema/methods_category/physical/qm/wf/enum_options.yml +43 -0
  360. package/schema/methods_category/physical/qm/wf/psp.json +18 -0
  361. package/schema/methods_category/physical/qm/wf/pw.json +15 -0
  362. package/schema/methods_category/physical/qm/wf/smearing.json +19 -0
  363. package/schema/methods_category/physical/qm/wf/tetrahedron.json +18 -0
  364. package/schema/methods_category/physical/qm/wf.json +15 -0
  365. package/schema/methods_category/physical/qm.json +15 -0
  366. package/schema/methods_directory/legacy/localorbital.json +22 -0
  367. package/schema/methods_directory/legacy/pseudopotential.json +25 -0
  368. package/schema/methods_directory/legacy/regression.json +34 -0
  369. package/schema/methods_directory/legacy/unknown.json +22 -0
  370. package/schema/methods_directory/mathematical/cg.json +17 -0
  371. package/schema/methods_directory/mathematical/davidson.json +17 -0
  372. package/schema/methods_directory/mathematical/regression/data.json +24 -0
  373. package/schema/methods_directory/mathematical/regression/dataset.json +21 -0
  374. package/schema/methods_directory/mathematical/regression/kernel_ridge/data_per_property.json +27 -0
  375. package/schema/methods_directory/mathematical/regression/linear/data_per_property.json +22 -0
  376. package/schema/methods_directory/mathematical/regression/per_feature_item.json +22 -0
  377. package/schema/methods_directory/mathematical/regression/precision.json +14 -0
  378. package/schema/methods_directory/mathematical/regression/precision_per_property.json +23 -0
  379. package/schema/methods_directory/mathematical/regression.json +26 -0
  380. package/schema/methods_directory/physical/ao/dunning.json +33 -0
  381. package/schema/methods_directory/physical/ao/enum_options.json +28 -0
  382. package/schema/methods_directory/physical/ao/enum_options.yml +19 -0
  383. package/schema/methods_directory/physical/ao/other.json +33 -0
  384. package/schema/methods_directory/physical/ao/pople.json +33 -0
  385. package/schema/methods_directory/physical/psp/file.json +26 -0
  386. package/schema/methods_directory/physical/psp/file_data_item.json +80 -0
  387. package/schema/methods_directory/physical/psp.json +24 -0
  388. package/schema/methods_directory/physical/pw.json +17 -0
  389. package/schema/methods_directory/physical/smearing.json +17 -0
  390. package/schema/methods_directory/physical/tetrahedron.json +16 -0
  391. package/schema/model/categorized_model.json +18 -0
  392. package/schema/model/mixins/dft/double_hybrid_functional.json +12 -0
  393. package/schema/model/mixins/dft/enum_options.json +30 -0
  394. package/schema/model/mixins/dft/enum_options.yml +13 -0
  395. package/schema/model/mixins/dft/gga_functional.json +12 -0
  396. package/schema/model/mixins/dft/hybrid_functional.json +12 -0
  397. package/schema/model/mixins/dft/lda_functional.json +12 -0
  398. package/schema/model/mixins/dft/mgga_functional.json +12 -0
  399. package/schema/model/mixins/dispersion_correction.json +12 -0
  400. package/schema/model/mixins/enum_options.json +22 -0
  401. package/schema/model/mixins/enum_options.yml +10 -0
  402. package/schema/model/mixins/hubbard.json +12 -0
  403. package/schema/model/mixins/spin_orbit_coupling.json +11 -0
  404. package/schema/model/mixins/spin_polarization.json +12 -0
  405. package/schema/model/model_parameters.json +38 -0
  406. package/schema/model/model_without_method.json +30 -0
  407. package/schema/model.json +24 -0
  408. package/schema/models_category/enum_options.json +13 -0
  409. package/schema/models_category/enum_options.yml +5 -0
  410. package/schema/models_category/pb/enum_options.json +8 -0
  411. package/schema/models_category/pb/enum_options.yml +3 -0
  412. package/schema/models_category/pb/qm/abin/enum_options.json +15 -0
  413. package/schema/models_category/pb/qm/abin/enum_options.yml +10 -0
  414. package/schema/models_category/pb/qm/abin/gw.json +18 -0
  415. package/schema/models_category/pb/qm/abin.json +15 -0
  416. package/schema/models_category/pb/qm/dft/enum_options.json +8 -0
  417. package/schema/models_category/pb/qm/dft/enum_options.yml +3 -0
  418. package/schema/models_category/pb/qm/dft/ksdft/double_hybrid.json +15 -0
  419. package/schema/models_category/pb/qm/dft/ksdft/enum_options.json +28 -0
  420. package/schema/models_category/pb/qm/dft/ksdft/enum_options.yml +11 -0
  421. package/schema/models_category/pb/qm/dft/ksdft/gga.json +15 -0
  422. package/schema/models_category/pb/qm/dft/ksdft/hybrid.json +15 -0
  423. package/schema/models_category/pb/qm/dft/ksdft/lda.json +15 -0
  424. package/schema/models_category/pb/qm/dft/ksdft/mgga.json +15 -0
  425. package/schema/models_category/pb/qm/dft/ksdft.json +15 -0
  426. package/schema/models_category/pb/qm/dft.json +15 -0
  427. package/schema/models_category/pb/qm/enum_options.json +18 -0
  428. package/schema/models_category/pb/qm/enum_options.yml +7 -0
  429. package/schema/models_category/pb/qm/semp.json +15 -0
  430. package/schema/models_category/pb/qm.json +15 -0
  431. package/schema/models_category/pb.json +15 -0
  432. package/schema/models_category/st/det/enum_options.json +8 -0
  433. package/schema/models_category/st/det/enum_options.yml +3 -0
  434. package/schema/models_category/st/det/ml/enum_options.json +8 -0
  435. package/schema/models_category/st/det/ml/enum_options.yml +3 -0
  436. package/schema/models_category/st/det/ml/re.json +15 -0
  437. package/schema/models_category/st/det/ml.json +15 -0
  438. package/schema/models_category/st/det.json +15 -0
  439. package/schema/models_category/st/enum_options.json +8 -0
  440. package/schema/models_category/st/enum_options.yml +3 -0
  441. package/schema/models_category/st.json +15 -0
  442. package/schema/models_directory/double_hybrid.json +39 -0
  443. package/schema/models_directory/gga.json +42 -0
  444. package/schema/models_directory/gw.json +54 -0
  445. package/schema/models_directory/hybrid.json +42 -0
  446. package/schema/models_directory/lda.json +42 -0
  447. package/schema/models_directory/legacy/dft.json +81 -0
  448. package/schema/models_directory/legacy/ml.json +22 -0
  449. package/schema/models_directory/legacy/unknown.json +22 -0
  450. package/schema/models_directory/mgga.json +42 -0
  451. package/schema/models_directory/re.json +23 -0
  452. package/schema/project.json +40 -0
  453. package/schema/properties_directory/derived_properties.json +31 -0
  454. package/schema/properties_directory/electronic_configuration.json +16 -0
  455. package/schema/properties_directory/elemental/atomic_radius.json +21 -0
  456. package/schema/properties_directory/elemental/electronegativity.json +18 -0
  457. package/schema/properties_directory/elemental/ionization_potential.json +21 -0
  458. package/schema/properties_directory/non-scalar/average_potential_profile.json +41 -0
  459. package/schema/properties_directory/non-scalar/band_gaps.json +51 -0
  460. package/schema/properties_directory/non-scalar/band_structure.json +52 -0
  461. package/schema/properties_directory/non-scalar/charge_density_profile.json +38 -0
  462. package/schema/properties_directory/non-scalar/density_of_states.json +70 -0
  463. package/schema/properties_directory/non-scalar/dielectric_tensor.json +22 -0
  464. package/schema/properties_directory/non-scalar/file_content.json +34 -0
  465. package/schema/properties_directory/non-scalar/hubbard_u.json +32 -0
  466. package/schema/properties_directory/non-scalar/hubbard_v.json +33 -0
  467. package/schema/properties_directory/non-scalar/hubbard_v_nn.json +11 -0
  468. package/schema/properties_directory/non-scalar/phonon_dispersions.json +41 -0
  469. package/schema/properties_directory/non-scalar/phonon_dos.json +42 -0
  470. package/schema/properties_directory/non-scalar/potential_profile.json +38 -0
  471. package/schema/properties_directory/non-scalar/reaction_energy_profile.json +38 -0
  472. package/schema/properties_directory/non-scalar/stress_tensor.json +18 -0
  473. package/schema/properties_directory/non-scalar/total_energy_contributions.json +211 -0
  474. package/schema/properties_directory/non-scalar/vibrational_spectrum.json +45 -0
  475. package/schema/properties_directory/scalar/electron_affinity.json +17 -0
  476. package/schema/properties_directory/scalar/fermi_energy.json +17 -0
  477. package/schema/properties_directory/scalar/formation_energy.json +17 -0
  478. package/schema/properties_directory/scalar/ionization_potential.json +17 -0
  479. package/schema/properties_directory/scalar/pressure.json +21 -0
  480. package/schema/properties_directory/scalar/reaction_energy_barrier.json +17 -0
  481. package/schema/properties_directory/scalar/surface_energy.json +17 -0
  482. package/schema/properties_directory/scalar/total_energy.json +17 -0
  483. package/schema/properties_directory/scalar/total_force.json +20 -0
  484. package/schema/properties_directory/scalar/valence_band_offset.json +17 -0
  485. package/schema/properties_directory/scalar/zero_point_energy.json +17 -0
  486. package/schema/properties_directory/structural/atomic_forces.json +19 -0
  487. package/schema/properties_directory/structural/basis/atomic_constraints.json +16 -0
  488. package/schema/properties_directory/structural/basis/atomic_coordinate.json +14 -0
  489. package/schema/properties_directory/structural/basis/atomic_coordinates.json +21 -0
  490. package/schema/properties_directory/structural/basis/atomic_element.json +25 -0
  491. package/schema/properties_directory/structural/basis/bonds.json +35 -0
  492. package/schema/properties_directory/structural/basis.json +33 -0
  493. package/schema/properties_directory/structural/density.json +22 -0
  494. package/schema/properties_directory/structural/elemental_ratio.json +27 -0
  495. package/schema/properties_directory/structural/inchi.json +17 -0
  496. package/schema/properties_directory/structural/inchi_key.json +17 -0
  497. package/schema/properties_directory/structural/lattice/lattice_bravais.json +38 -0
  498. package/schema/properties_directory/structural/lattice/lattice_vectors.json +20 -0
  499. package/schema/properties_directory/structural/lattice/type_enum.json +23 -0
  500. package/schema/properties_directory/structural/lattice/type_extended_enum.json +32 -0
  501. package/schema/properties_directory/structural/lattice.json +25 -0
  502. package/schema/properties_directory/structural/magnetic_moments.json +19 -0
  503. package/schema/properties_directory/structural/molecular_pattern.json +19 -0
  504. package/schema/properties_directory/structural/p-norm.json +22 -0
  505. package/schema/properties_directory/structural/patterns/functional_group.json +32 -0
  506. package/schema/properties_directory/structural/patterns/ring.json +31 -0
  507. package/schema/properties_directory/structural/patterns/special_bond.json +29 -0
  508. package/schema/properties_directory/structural/symmetry.json +35 -0
  509. package/schema/properties_directory/structural/volume.json +22 -0
  510. package/schema/properties_directory/workflow/convergence/electronic.json +31 -0
  511. package/schema/properties_directory/workflow/convergence/ionic.json +60 -0
  512. package/schema/properties_directory/workflow/convergence/kpoint.json +46 -0
  513. package/schema/property/base.json +57 -0
  514. package/schema/property/meta.json +10 -0
  515. package/schema/property/raw.json +57 -0
  516. package/schema/property/source.json +26 -0
  517. package/schema/software/application.json +40 -0
  518. package/schema/software/executable.json +32 -0
  519. package/schema/software/flavor.json +40 -0
  520. package/schema/software/template.json +33 -0
  521. package/schema/software_directory/ml/exabyteml.json +23 -0
  522. package/schema/software_directory/ml/unit/execution/evaluate/cross-validate.json +25 -0
  523. package/schema/software_directory/ml/unit/execution/initialize.json +29 -0
  524. package/schema/software_directory/ml/unit/execution/score.json +13 -0
  525. package/schema/software_directory/ml/unit/execution/train.json +38 -0
  526. package/schema/software_directory/ml/unit/execution.json +17 -0
  527. package/schema/software_directory/ml/unit/processing/data_transformation/manipulation.json +50 -0
  528. package/schema/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +70 -0
  529. package/schema/software_directory/ml/unit/processing/data_transformation.json +8 -0
  530. package/schema/software_directory/ml/unit/processing/feature_selection/filter_based.json +45 -0
  531. package/schema/software_directory/ml/unit/processing/feature_selection.json +8 -0
  532. package/schema/software_directory/ml/unit/processing.json +11 -0
  533. package/schema/software_directory/modeling/espresso/arguments.json +44 -0
  534. package/schema/software_directory/modeling/espresso.json +26 -0
  535. package/schema/software_directory/modeling/nwchem.json +34 -0
  536. package/schema/software_directory/modeling/unit/execution.json +14 -0
  537. package/schema/software_directory/modeling/vasp.json +40 -0
  538. package/schema/software_directory/scripting/jupyter-lab.json +38 -0
  539. package/schema/software_directory/scripting/python.json +52 -0
  540. package/schema/software_directory/scripting/shell.json +52 -0
  541. package/schema/software_directory/scripting/unit/execution.json +14 -0
  542. package/schema/system/_material.json +19 -0
  543. package/schema/system/_parent_job.json +19 -0
  544. package/schema/system/_project.json +19 -0
  545. package/schema/system/bankable.json +15 -0
  546. package/schema/system/consistency_check.json +39 -0
  547. package/schema/system/creator.json +19 -0
  548. package/schema/system/creator_account.json +10 -0
  549. package/schema/system/database_source.json +40 -0
  550. package/schema/system/defaultable.json +12 -0
  551. package/schema/system/description.json +14 -0
  552. package/schema/system/entity_reference.json +19 -0
  553. package/schema/system/file_source.json +30 -0
  554. package/schema/system/history.json +25 -0
  555. package/schema/system/in_set.json +28 -0
  556. package/schema/system/is_multi_material.json +10 -0
  557. package/schema/system/is_outdated.json +10 -0
  558. package/schema/system/job_extended.json +39 -0
  559. package/schema/system/message.json +67 -0
  560. package/schema/system/metadata.json +10 -0
  561. package/schema/system/name.json +11 -0
  562. package/schema/system/owner.json +19 -0
  563. package/schema/system/path.json +11 -0
  564. package/schema/system/path_entity.json +13 -0
  565. package/schema/system/schema_version.json +12 -0
  566. package/schema/system/scope.json +10 -0
  567. package/schema/system/set.json +16 -0
  568. package/schema/system/sharing.json +10 -0
  569. package/schema/system/soft_removable.json +15 -0
  570. package/schema/system/status.json +31 -0
  571. package/schema/system/tags.json +14 -0
  572. package/schema/system/timestampable.json +37 -0
  573. package/schema/system/use_values.json +10 -0
  574. package/schema/workflow/base.json +39 -0
  575. package/schema/workflow/base_flow.json +39 -0
  576. package/schema/workflow/scope.json +20 -0
  577. package/schema/workflow/subworkflow.json +37 -0
  578. package/schema/workflow/unit/assertion.json +28 -0
  579. package/schema/workflow/unit/assignment.json +37 -0
  580. package/schema/workflow/unit/condition.json +51 -0
  581. package/schema/workflow/unit/execution.json +40 -0
  582. package/schema/workflow/unit/input/_input.json +22 -0
  583. package/schema/workflow/unit/input/_inputItem.json +20 -0
  584. package/schema/workflow/unit/input/_inputItemId.json +21 -0
  585. package/schema/workflow/unit/input/_inputItemScope.json +20 -0
  586. package/schema/workflow/unit/io/api.json +24 -0
  587. package/schema/workflow/unit/io/db.json +39 -0
  588. package/schema/workflow/unit/io/object_storage.json +25 -0
  589. package/schema/workflow/unit/io.json +53 -0
  590. package/schema/workflow/unit/map.json +67 -0
  591. package/schema/workflow/unit/processing.json +34 -0
  592. package/schema/workflow/unit/reduce.json +50 -0
  593. package/schema/workflow/unit/runtime/_runtime_item_full_object.json +15 -0
  594. package/schema/workflow/unit/runtime/_runtime_item_name_object.json +15 -0
  595. package/schema/workflow/unit/runtime/_runtime_item_string.json +7 -0
  596. package/schema/workflow/unit/runtime/runtime_item.json +13 -0
  597. package/schema/workflow/unit/runtime/runtime_items.json +36 -0
  598. package/schema/workflow/unit.json +65 -0
  599. package/schema/workflow.json +63 -0
  600. package/src/__init__.py +0 -0
  601. package/src/js/esse/index.js +47 -0
  602. package/src/js/esse/schemaUtils.js +45 -0
  603. package/src/js/esse/settings.js +4 -0
  604. package/src/js/esse/utils.js +52 -0
  605. package/src/js/json_include/index.js +71 -0
  606. package/src/js/json_include/settings.js +3 -0
  607. package/src/js/json_include/utils.js +11 -0
  608. package/src/js/scripts/createEnumsFromYaml.mjs +43 -0
  609. package/src/js/scripts/setSchemaIds.mjs +34 -0
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id": "core/reference/literature/name",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "experiment author schema",
5
+ "type": "object",
6
+ "properties": {
7
+ "first": {
8
+ "type": "string"
9
+ },
10
+ "middle": {
11
+ "type": "string"
12
+ },
13
+ "last": {
14
+ "type": "string"
15
+ },
16
+ "affiliation": {
17
+ "type": "string"
18
+ }
19
+ },
20
+ "required": [
21
+ "first",
22
+ "last"
23
+ ]
24
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$id": "core/reference/literature/pages",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "pages schema",
5
+ "type": "object",
6
+ "properties": {
7
+ "start": {
8
+ "type": "string"
9
+ },
10
+ "end": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "required": [
15
+ "start"
16
+ ]
17
+ }
@@ -0,0 +1,82 @@
1
+ {
2
+ "$id": "core/reference/literature",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "literature reference schema",
5
+ "properties": {
6
+ "type": {
7
+ "enum": [
8
+ "literature"
9
+ ]
10
+ },
11
+ "doi": {
12
+ "type": "string",
13
+ "description": "Digital Object Identifier of the reference."
14
+ },
15
+ "isbn": {
16
+ "type": "string",
17
+ "description": "International Standard Book Number of the reference."
18
+ },
19
+ "issn": {
20
+ "type": "string",
21
+ "description": "International Standard Serial Number of the reference."
22
+ },
23
+ "url": {
24
+ "type": "string",
25
+ "description": "Internet address of the reference."
26
+ },
27
+ "title": {
28
+ "type": "string",
29
+ "description": "Title of the work."
30
+ },
31
+ "publisher": {
32
+ "type": "string",
33
+ "description": "Publisher of the work."
34
+ },
35
+ "journal": {
36
+ "type": "string",
37
+ "description": "Journal in which the work appeared."
38
+ },
39
+ "volume": {
40
+ "type": "string",
41
+ "description": "Volume of the series in which the work appeared."
42
+ },
43
+ "year": {
44
+ "type": "string",
45
+ "description": "Year in which the reference was published."
46
+ },
47
+ "issue": {
48
+ "type": "string",
49
+ "description": "Issue of the collection in which the work appeared."
50
+ },
51
+ "pages": {
52
+ "type": "object",
53
+ "description": "Start and end pages of the work.",
54
+ "allOf": [
55
+ {
56
+ "$ref": "literature/pages.json"
57
+ }
58
+ ]
59
+ },
60
+ "authors": {
61
+ "type": "array",
62
+ "description": "List of authors of the work.",
63
+ "items": {
64
+ "$ref": "literature/name.json"
65
+ }
66
+ },
67
+ "editors": {
68
+ "type": "array",
69
+ "description": "List of editors of the work.",
70
+ "items": {
71
+ "$ref": "literature/name.json"
72
+ }
73
+ },
74
+ "reference": {
75
+ "type": "array",
76
+ "items": {
77
+ "type": "object"
78
+ },
79
+ "description": "References cited by the work. Reference objects can nest as deeply as needed. This is useful, for example, when tracking the history of a value referenced in a scholarly article; the top level reference would contain information about where the data was accessed while the nested reference would contain information about where it was originally published."
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$id": "core/reference/modeling/exabyte",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "info for characteristic obtained by exabyte calculation",
5
+ "properties": {
6
+ "type": {
7
+ "enum": [
8
+ "exabyte"
9
+ ]
10
+ },
11
+ "title": {
12
+ "description": "Human-readable title of the job",
13
+ "type": "string",
14
+ "maxLength": 300
15
+ },
16
+ "_id": {
17
+ "description": "job identifier",
18
+ "type": "string"
19
+ },
20
+ "owner": {
21
+ "description": "owner entity reference",
22
+ "$ref": "../../../system/entity_reference.json"
23
+ }
24
+ },
25
+ "required": [
26
+ "title",
27
+ "_id",
28
+ "owner"
29
+ ]
30
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$id": "core/reference/modeling",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "info for property obtained by modeling, only supports exabyte-originated data atm, but easily extendable",
5
+ "oneOf": [
6
+ {
7
+ "$ref": "modeling/exabyte.json"
8
+ }
9
+ ]
10
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$id": "core/reference",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "reference schema (using `anyOf` instead of `oneOf` below b/c current reference schemas overlap)",
5
+ "anyOf": [
6
+ {
7
+ "$ref": "reference/modeling.json"
8
+ },
9
+ {
10
+ "$ref": "reference/experiment.json"
11
+ },
12
+ {
13
+ "$ref": "reference/literature.json"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "$id": "core/reusable/atomic-data/per-orbital",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Atomic data per orbital",
5
+ "description": "Atomic properties per orbital e.g., Hubbard U parameters.",
6
+ "type": "object",
7
+ "properties": {
8
+ "id": {
9
+ "type": "integer",
10
+ "description": "Site number or index in the lattice"
11
+ },
12
+ "atomicSpecies": {
13
+ "type": "string",
14
+ "pattern": "^[a-zA-Z]{1,2}[\\d+]?$",
15
+ "description": "Example: Co1, Mn"
16
+ },
17
+ "orbitalName": {
18
+ "type": "string",
19
+ "pattern": "^[1-7][sSpPdDfF]$"
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$id": "core/reusable/atomic-data/per-orbital-pair",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Atomic data per orbital pair",
5
+ "description": "Atomic properties per orbital pair e.g., Hubbard V parameters.",
6
+ "type": "object",
7
+ "properties": {
8
+ "id": {
9
+ "type": "integer",
10
+ "description": "Site number or index in the lattice"
11
+ },
12
+ "id2": {
13
+ "type": "integer",
14
+ "description": "Site number or index in the lattice of second site"
15
+ },
16
+ "atomicSpecies": {
17
+ "type": "string",
18
+ "pattern": "^[a-zA-Z]{1,2}[\\d+]?$",
19
+ "description": "Example: Co1, Mn"
20
+ },
21
+ "atomicSpecies2": {
22
+ "type": "string",
23
+ "pattern": "^[a-zA-Z]{1,2}[\\d+]?$",
24
+ "description": "Example: Co2, O"
25
+ },
26
+ "orbitalName": {
27
+ "type": "string",
28
+ "pattern": "^[1-7][sSpPdDfF]$"
29
+ },
30
+ "orbitalName2": {
31
+ "type": "string",
32
+ "pattern": "^[1-7][sSpPdDfF]$"
33
+ },
34
+ "distance": {
35
+ "type": "number",
36
+ "description": "Distance between two sites in Bohr."
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$id": "core/reusable/atomic-data/value-number",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Atomic data numeric properties",
5
+ "description": "Numeric value specific to atomic data",
6
+ "type": "object",
7
+ "properties": {
8
+ "value": {
9
+ "type": "number",
10
+ "description": "Value related to a specific property, e.g., Hubbard U, V etc."
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "$id": "core/reusable/atomic-data/string-value",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Atomic data string properties",
5
+ "description": "String value specific to atomic data",
6
+ "type": "object",
7
+ "properties": {
8
+ "value": {
9
+ "type": "string",
10
+ "description": "String value specific to atomic data"
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$id": "core/reusable/atomic-data-per-orbital-numeric",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Atomic data per orbital numeric",
5
+ "description": "Atomic properties per orbital pair with numeric value e.g., Hubbard V parameters.",
6
+ "type": "object",
7
+ "allOf":[
8
+ {
9
+ "$ref": "atomic_data/per_orbital.json"
10
+ },
11
+ {
12
+ "$ref": "atomic_data/value_number.json"
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$id": "core/reusable/atomic-data-per-orbital-pair-numeric",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Atomic data per orbital pair numeric",
5
+ "description": "Atomic properties per orbital pair with numeric value e.g., Hubbard V parameters.",
6
+ "type": "object",
7
+ "allOf":[
8
+ {
9
+ "$ref": "atomic_data/per_orbital_pair.json"
10
+ },
11
+ {
12
+ "$ref": "atomic_data/value_number.json"
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "$id": "core/reusable/atomic-orbital",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "atomic orbital schema",
5
+ "type": "object",
6
+ "properties": {
7
+ "orbitalName": {
8
+ "type": "string",
9
+ "pattern": "^[1-7][sSpPdDfF]$"
10
+ },
11
+ "orbitalIndex": {
12
+ "type": "integer",
13
+ "minimum": 1
14
+ },
15
+ "principalNumber": {
16
+ "type": "integer",
17
+ "minimum": 1,
18
+ "maximum": 7
19
+ },
20
+ "angularMomentum": {
21
+ "type": "integer",
22
+ "minimum": 0,
23
+ "maximum": 3
24
+ },
25
+ "occupation": {
26
+ "type": "number",
27
+ "description": "Shell occupation",
28
+ "minimum": 0,
29
+ "maximum": 14
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$id": "core/reusable/atomic-scalars",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "atomic scalars vectors schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../primitive/array_of_ids.json"
8
+ }
9
+ ],
10
+ "items": {
11
+ "properties": {
12
+ "value": {
13
+ "$ref": "../primitive/scalar.json"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$id": "core/reusable/atomic-strings",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "atomic strings vectors schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../primitive/array_of_ids.json"
8
+ }
9
+ ],
10
+ "items": {
11
+ "properties": {
12
+ "value": {
13
+ "type": "string"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$id": "core/reusable/atomic-vectors",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "atomic vectors schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../primitive/array_of_ids.json"
8
+ }
9
+ ],
10
+ "items": {
11
+ "properties": {
12
+ "value": {
13
+ "$ref": "../abstract/vector.json"
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "$id": "core/reusable/band-gap",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "band gap schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../primitive/scalar.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "kpointConduction": {
12
+ "description": "kpoint inside conduction band in crystal coordinates",
13
+ "$ref": "../abstract/point.json"
14
+ },
15
+ "kpointValence": {
16
+ "description": "kpoint inside valence band in crystal coordinates",
17
+ "$ref": "../abstract/point.json"
18
+ },
19
+ "eigenvalueConduction": {
20
+ "description": "eigenvalue at k-point in conduction band",
21
+ "type": "number"
22
+ },
23
+ "eigenvalueValence": {
24
+ "description": "eigenvalue at k-point in valence band",
25
+ "type": "number"
26
+ },
27
+ "spin": {
28
+ "type": "number"
29
+ },
30
+ "type": {
31
+ "type": "string",
32
+ "enum": [
33
+ "direct",
34
+ "indirect"
35
+ ]
36
+ },
37
+ "units": {
38
+ "$ref": "../../definitions/units.json#/energy"
39
+ }
40
+ },
41
+ "required": [
42
+ "type"
43
+ ]
44
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "$id": "core/reusable/categories",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "categories",
5
+ "description": "Used to categorize entities such as models and methods",
6
+ "type": "object",
7
+ "properties": {
8
+ "tier1": {
9
+ "description": "top-level category",
10
+ "$ref": "../primitive/slugified_entry_or_slug.json"
11
+ },
12
+ "tier2": {
13
+ "description": "second level category",
14
+ "$ref": "../primitive/slugified_entry_or_slug.json"
15
+ },
16
+ "tier3": {
17
+ "description": "third level category",
18
+ "$ref": "../primitive/slugified_entry_or_slug.json"
19
+ },
20
+ "type": {
21
+ "description": "general type of the entity",
22
+ "$ref": "../primitive/slugified_entry_or_slug.json"
23
+ },
24
+ "subtype": {
25
+ "description": "general subtype of the entity",
26
+ "$ref": "../primitive/slugified_entry_or_slug.json"
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "$id": "core/reusable/category-path",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "category path schema",
5
+ "description": "TODO: Use regex once schema draft version has been updated",
6
+ "type": "string"
7
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$id": "core/reusable/dielectric-tensor-component",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Dielectric Tensor",
5
+ "allOf": [
6
+ {
7
+ "$ref": "./frequency_function_matrix.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "part": {
12
+ "description": "Real or imaginary part of the dielectric tensor component",
13
+ "type": "string",
14
+ "enum": [
15
+ "real",
16
+ "imaginary"
17
+ ]
18
+ },
19
+ "spin": {
20
+ "type": "number"
21
+ }
22
+ },
23
+ "required": [
24
+ "part",
25
+ "frequencies",
26
+ "components"
27
+ ]
28
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "$id": "core/reusable/energy",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "energy schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../primitive/scalar.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "name": {
12
+ "type": "string"
13
+ },
14
+ "units": {
15
+ "anyOf": [
16
+ {
17
+ "$ref": "../../definitions/units.json#/energy"
18
+ },
19
+ {
20
+ "$ref": "../../definitions/units.json#/surface_energy"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ "required": [
26
+ "name",
27
+ "units"
28
+ ]
29
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "$id": "core/reusable/file-metadata",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "file_metadata",
5
+ "properties": {
6
+ "pathname": {
7
+ "description": "Relative path to the directory that contains the file.",
8
+ "type": "string"
9
+ },
10
+ "basename": {
11
+ "description": "Basename of the file",
12
+ "type": "string",
13
+ "$comment": "isGenerative:true"
14
+ },
15
+ "filetype": {
16
+ "description": "What kind of file this is, e.g. image / text",
17
+ "type": "string"
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "core/reusable/frequency-function-matrix",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "",
5
+ "description": "Schema for a function of frequency yielding a nx3 matrix",
6
+ "type": "object",
7
+ "properties": {
8
+ "frequencies": {
9
+ "description": "Frequencies",
10
+ "type": "array",
11
+ "items": {
12
+ "type": "number"
13
+ }
14
+ },
15
+ "components": {
16
+ "description": "Matrix with 3 columns, e.g. x, y, z",
17
+ "type": "array",
18
+ "items": {
19
+ "$ref": "../primitive/array_of_3_numbers.json"
20
+ }
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$id": "core/reusable/object-storage-container-data",
3
+ "$schema": "http://json-schema.org/draft-04/schema#",
4
+ "title": "Object Storage Container Data",
5
+ "properties": {
6
+ "CONTAINER": {
7
+ "description": "Object storage container for the file",
8
+ "type": "string"
9
+ },
10
+ "NAME": {
11
+ "description": "Name of the file inside the object storage bucket",
12
+ "type": "string"
13
+ },
14
+ "PROVIDER": {
15
+ "description": "Object storage provider",
16
+ "type": "string"
17
+ },
18
+ "REGION": {
19
+ "description": "Region for the object container specified in Container",
20
+ "type": "string"
21
+ },
22
+ "SIZE": {
23
+ "description": "Size of the file in bytes",
24
+ "type": "integer"
25
+ },
26
+ "TIMESTAMP": {
27
+ "description": "Unix timestamp showing when the file was last modified",
28
+ "type": "string"
29
+ }
30
+ },
31
+ "required": [
32
+ "CONTAINER",
33
+ "NAME",
34
+ "PROVIDER",
35
+ "REGION"
36
+ ]
37
+ }