@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.
Files changed (159) hide show
  1. package/dist/js/example/element.json +2 -1
  2. package/dist/js/example/properties_directory/elemental/ionization_potential.json +2 -1
  3. package/dist/js/example/properties_directory/workflow/convergence/electronic.json +1 -0
  4. package/dist/js/example/properties_directory/workflow/convergence/ionic.json +1 -0
  5. package/dist/js/example/property/{base.json → holder.json} +10 -8
  6. package/dist/js/example/workflow/unit/io/object_storage.json +2 -1
  7. package/dist/js/schema/core/abstract/2d_data.json +15 -5
  8. package/dist/js/schema/core/abstract/2d_plot.json +15 -10
  9. package/dist/js/schema/core/primitive/1d_data_series.json +1 -4
  10. package/dist/js/schema/core/{reusable/axis_enum.json → primitive/axis_3d_names_enum.json} +1 -1
  11. package/dist/js/schema/core/reference/exabyte.json +4 -4
  12. package/dist/js/schema/core/reusable/{coordinate_conditions.json → coordinate_conditions/index.json} +1 -1
  13. package/dist/js/schema/core/reusable/energy.json +1 -1
  14. package/dist/js/schema/core/{abstract → reusable}/kpoint.json +1 -1
  15. package/dist/js/schema/definitions/{materials.json → material.json} +1 -1
  16. package/dist/js/schema/element.json +5 -2
  17. package/dist/js/schema/job.json +168 -187
  18. package/dist/js/schema/methods_directory/physical/psp/file.json +3 -1
  19. package/dist/js/schema/methods_directory/physical/psp/file_data_item.json +3 -1
  20. package/dist/js/schema/methods_directory/physical/psp.json +3 -1
  21. package/dist/js/schema/properties_directory/elemental/atomic_radius.json +1 -0
  22. package/dist/js/schema/properties_directory/elemental/electronegativity.json +1 -0
  23. package/dist/js/schema/properties_directory/elemental/ionization_potential.json +3 -2
  24. package/dist/js/schema/properties_directory/jupyter_notebook_endpoint.json +28 -0
  25. package/dist/js/schema/properties_directory/non_scalar/average_potential_profile.json +17 -11
  26. package/dist/js/schema/properties_directory/non_scalar/band_gaps.json +3 -2
  27. package/dist/js/schema/properties_directory/non_scalar/band_structure.json +18 -11
  28. package/dist/js/schema/properties_directory/non_scalar/charge_density_profile.json +17 -11
  29. package/dist/js/schema/properties_directory/non_scalar/density_of_states.json +18 -8
  30. package/dist/js/schema/properties_directory/non_scalar/dielectric_tensor.json +3 -2
  31. package/dist/js/schema/properties_directory/non_scalar/file_content.json +2 -1
  32. package/dist/js/schema/properties_directory/non_scalar/final_structure.json +25 -0
  33. package/dist/js/schema/properties_directory/non_scalar/hubbard_u.json +4 -2
  34. package/dist/js/schema/properties_directory/non_scalar/hubbard_v.json +5 -4
  35. package/dist/js/schema/properties_directory/non_scalar/hubbard_v_nn.json +4 -3
  36. package/dist/js/schema/properties_directory/non_scalar/is_relaxed.json +25 -0
  37. package/dist/js/schema/properties_directory/non_scalar/phonon_dispersions.json +17 -11
  38. package/dist/js/schema/properties_directory/non_scalar/phonon_dos.json +17 -11
  39. package/dist/js/schema/properties_directory/non_scalar/potential_profile.json +17 -11
  40. package/dist/js/schema/properties_directory/non_scalar/reaction_energy_profile.json +17 -11
  41. package/dist/js/schema/properties_directory/non_scalar/stress_tensor.json +6 -1
  42. package/dist/js/schema/properties_directory/non_scalar/total_energy_contributions.json +26 -4
  43. package/dist/js/schema/properties_directory/non_scalar/vibrational_spectrum.json +17 -11
  44. package/dist/js/schema/properties_directory/non_scalar/workflow.json +5503 -0
  45. package/dist/js/schema/properties_directory/reusable/hubbard_parameters.json +70 -0
  46. package/dist/js/schema/properties_directory/scalar/electron_affinity.json +2 -2
  47. package/dist/js/schema/properties_directory/scalar/fermi_energy.json +2 -2
  48. package/dist/js/schema/properties_directory/scalar/formation_energy.json +2 -2
  49. package/dist/js/schema/properties_directory/scalar/ionization_potential.json +2 -2
  50. package/dist/js/schema/properties_directory/scalar/pressure.json +3 -1
  51. package/dist/js/schema/properties_directory/scalar/reaction_energy_barrier.json +2 -2
  52. package/dist/js/schema/properties_directory/scalar/surface_energy.json +2 -2
  53. package/dist/js/schema/properties_directory/scalar/total_energy.json +2 -2
  54. package/dist/js/schema/properties_directory/scalar/total_force.json +3 -1
  55. package/dist/js/schema/properties_directory/scalar/valence_band_offset.json +2 -2
  56. package/dist/js/schema/properties_directory/scalar/zero_point_energy.json +2 -2
  57. package/dist/js/schema/properties_directory/structural/atomic_forces.json +6 -1
  58. package/dist/js/schema/properties_directory/structural/basis/atomic_constraints_property.json +4 -0
  59. package/dist/js/schema/properties_directory/structural/basis/boundary_conditions.json +33 -0
  60. package/dist/js/schema/properties_directory/structural/lattice/{lattice_vectors.json → units.json} +1 -1
  61. package/dist/js/schema/properties_directory/structural/magnetic_moments.json +6 -1
  62. package/dist/js/schema/properties_directory/structural/molecular_pattern.json +12 -3
  63. package/dist/js/schema/properties_directory/structural/patterns/functional_group.json +3 -0
  64. package/dist/js/schema/properties_directory/structural/patterns/ring.json +3 -0
  65. package/dist/js/schema/properties_directory/structural/patterns/special_bond.json +3 -0
  66. package/dist/js/schema/properties_directory/workflow/convergence/electronic.json +4 -2
  67. package/dist/js/schema/properties_directory/workflow/convergence/ionic.json +7 -2
  68. package/dist/js/schema/property/holder.json +7886 -0
  69. package/dist/js/schema/property/meta_holder.json +244 -0
  70. package/dist/js/schema/property/proto_holder.json +143 -0
  71. package/dist/js/schema/property/source.json +9 -6
  72. package/dist/js/schema/workflow/base_flow.json +162 -177
  73. package/dist/js/schema/workflow/subworkflow/unit.json +3 -5
  74. package/dist/js/schema/workflow/subworkflow.json +165 -182
  75. package/dist/js/schema/workflow/unit/io/db.json +1 -2
  76. package/dist/js/schema/workflow/unit/io/object_storage.json +1 -2
  77. package/dist/js/schema/workflow/unit/io.json +3 -5
  78. package/dist/js/schema/workflow/unit.json +3 -5
  79. package/dist/js/schema/workflow.json +168 -187
  80. package/dist/js/schemas.json +1 -1
  81. package/dist/js/types.d.ts +6756 -1388
  82. package/example/properties_directory/elemental/ionization_potential.json +2 -1
  83. package/example/properties_directory/non-scalar/hubbard_v.json +3 -3
  84. package/example/properties_directory/non-scalar/hubbard_v_nn.json +3 -3
  85. package/example/properties_directory/workflow/convergence/electronic.json +1 -0
  86. package/example/properties_directory/workflow/convergence/ionic.json +1 -0
  87. package/example/property/{base.json → holder.json} +11 -2
  88. package/example/workflow/unit/io/object_storage.json +2 -1
  89. package/package.json +3 -3
  90. package/schema/core/abstract/2d_data.json +14 -1
  91. package/schema/core/abstract/2d_plot.json +0 -5
  92. package/schema/core/primitive/1d_data_series.json +1 -4
  93. package/schema/core/primitive/axis_3d_names_enum.json +1 -1
  94. package/schema/core/reference/exabyte.json +5 -5
  95. package/schema/core/reusable/coordinate_conditions/index.json +2 -2
  96. package/schema/core/reusable/energy.json +1 -1
  97. package/schema/core/reusable/kpoint.json +1 -1
  98. package/schema/definitions/material.json +1 -1
  99. package/schema/methods_directory/physical/psp/file_data_item.json +3 -1
  100. package/schema/properties_directory/elemental/atomic_radius.json +4 -1
  101. package/schema/properties_directory/elemental/electronegativity.json +4 -1
  102. package/schema/properties_directory/elemental/ionization_potential.json +6 -3
  103. package/schema/properties_directory/jupyter_notebook_endpoint.json +28 -0
  104. package/schema/properties_directory/non-scalar/average_potential_profile.json +5 -2
  105. package/schema/properties_directory/non-scalar/band_gaps.json +4 -2
  106. package/schema/properties_directory/non-scalar/band_structure.json +8 -2
  107. package/schema/properties_directory/non-scalar/charge_density_profile.json +5 -2
  108. package/schema/properties_directory/non-scalar/density_of_states.json +6 -2
  109. package/schema/properties_directory/non-scalar/dielectric_tensor.json +4 -2
  110. package/schema/properties_directory/non-scalar/file_content.json +2 -1
  111. package/schema/properties_directory/non-scalar/final_structure.json +25 -0
  112. package/schema/properties_directory/non-scalar/hubbard_u.json +5 -2
  113. package/schema/properties_directory/non-scalar/hubbard_v.json +7 -26
  114. package/schema/properties_directory/non-scalar/hubbard_v_nn.json +12 -2
  115. package/schema/properties_directory/non-scalar/is_relaxed.json +25 -0
  116. package/schema/properties_directory/non-scalar/phonon_dispersions.json +5 -2
  117. package/schema/properties_directory/non-scalar/phonon_dos.json +5 -2
  118. package/schema/properties_directory/non-scalar/potential_profile.json +5 -2
  119. package/schema/properties_directory/non-scalar/reaction_energy_profile.json +5 -2
  120. package/schema/properties_directory/non-scalar/stress_tensor.json +8 -2
  121. package/schema/properties_directory/non-scalar/total_energy_contributions.json +25 -5
  122. package/schema/properties_directory/non-scalar/vibrational_spectrum.json +5 -2
  123. package/schema/properties_directory/non-scalar/workflow.json +21 -0
  124. package/schema/properties_directory/reusable/hubbard_parameters.json +36 -0
  125. package/schema/properties_directory/scalar/electron_affinity.json +5 -2
  126. package/schema/properties_directory/scalar/fermi_energy.json +5 -2
  127. package/schema/properties_directory/scalar/formation_energy.json +5 -2
  128. package/schema/properties_directory/scalar/ionization_potential.json +5 -2
  129. package/schema/properties_directory/scalar/pressure.json +6 -2
  130. package/schema/properties_directory/scalar/reaction_energy_barrier.json +5 -2
  131. package/schema/properties_directory/scalar/surface_energy.json +5 -2
  132. package/schema/properties_directory/scalar/total_energy.json +6 -2
  133. package/schema/properties_directory/scalar/total_force.json +6 -2
  134. package/schema/properties_directory/scalar/valence_band_offset.json +5 -2
  135. package/schema/properties_directory/scalar/zero_point_energy.json +5 -2
  136. package/schema/properties_directory/structural/atomic_forces.json +7 -2
  137. package/schema/properties_directory/structural/basis/atomic_constraints_property.json +5 -1
  138. package/schema/properties_directory/structural/basis/boundary_conditions.json +25 -0
  139. package/schema/properties_directory/structural/lattice/units.json +1 -1
  140. package/schema/properties_directory/structural/magnetic_moments.json +7 -2
  141. package/schema/properties_directory/structural/patterns/functional_group.json +4 -1
  142. package/schema/properties_directory/structural/patterns/ring.json +4 -1
  143. package/schema/properties_directory/structural/patterns/special_bond.json +4 -1
  144. package/schema/properties_directory/workflow/convergence/electronic.json +4 -2
  145. package/schema/properties_directory/workflow/convergence/ionic.json +8 -3
  146. package/schema/property/holder.json +180 -0
  147. package/schema/property/meta_holder.json +42 -0
  148. package/schema/property/proto_holder.json +51 -0
  149. package/schema/property/source.json +5 -2
  150. package/schema/workflow/base_flow.json +2 -16
  151. package/schema/workflow/unit/io/db.json +1 -2
  152. package/schema/workflow/unit/io/object_storage.json +1 -2
  153. package/schema/workflow/unit/io.json +1 -1
  154. package/dist/js/schema/property/base.json +0 -346
  155. package/dist/js/schema/property/meta.json +0 -346
  156. package/dist/js/schema/property/raw.json +0 -346
  157. package/schema/property/base.json +0 -58
  158. package/schema/property/meta.json +0 -11
  159. package/schema/property/raw.json +0 -58
@@ -55,7 +55,7 @@
55
55
  "input": {
56
56
  "type": "array",
57
57
  "items": {
58
- "anyOf": [
58
+ "oneOf": [
59
59
  {
60
60
  "$schema": "http://json-schema.org/draft-07/schema#",
61
61
  "title": "data IO rest API input schema",
@@ -108,8 +108,7 @@
108
108
  },
109
109
  "draft": {
110
110
  "description": "whether the result should be saved as draft",
111
- "type": "boolean",
112
- "default": true
111
+ "type": "boolean"
113
112
  }
114
113
  },
115
114
  "required": [
@@ -162,8 +161,7 @@
162
161
  },
163
162
  "overwrite": {
164
163
  "description": "if a file with the same filename already exists, whether to overwrite the old file",
165
- "type": "boolean",
166
- "default": false
164
+ "type": "boolean"
167
165
  },
168
166
  "pathname": {
169
167
  "description": "Relative path to the directory that contains the file.",
@@ -2443,200 +2441,185 @@
2443
2441
  "type": "array",
2444
2442
  "items": {
2445
2443
  "description": "property names, eg. `band_gaps`, `band_structure`",
2446
- "oneOf": [
2447
- {
2448
- "type": "string"
2449
- },
2450
- {
2451
- "type": "object"
2452
- }
2453
- ]
2444
+ "type": "string"
2454
2445
  }
2455
2446
  },
2456
2447
  "compute": {
2457
- "description": "compute parameters",
2458
- "oneOf": [
2459
- {
2448
+ "$schema": "http://json-schema.org/draft-07/schema#",
2449
+ "title": "compute arguments schema",
2450
+ "description": "Custom keywords prefixed with validate correspond to custom validation methods implemented downstream",
2451
+ "type": "object",
2452
+ "required": [
2453
+ "queue",
2454
+ "nodes",
2455
+ "ppn",
2456
+ "timeLimit"
2457
+ ],
2458
+ "properties": {
2459
+ "queue": {
2460
+ "description": "Name of the submission queues: https://docs.mat3ra.com/infrastructure/resource/queues/. Below enums are for Azure, then AWS circa 2022-08, hence the duplication.",
2461
+ "type": "string",
2462
+ "enum": [
2463
+ "D",
2464
+ "OR",
2465
+ "OF",
2466
+ "OFplus",
2467
+ "SR",
2468
+ "SF",
2469
+ "SFplus",
2470
+ "GPOF",
2471
+ "GP2OF",
2472
+ "GP4OF",
2473
+ "GPSF",
2474
+ "GP2SF",
2475
+ "GP4SF",
2476
+ "OR4",
2477
+ "OR8",
2478
+ "OR16",
2479
+ "SR4",
2480
+ "SR8",
2481
+ "SR16",
2482
+ "GOF",
2483
+ "G4OF",
2484
+ "G8OF",
2485
+ "GSF",
2486
+ "G4SF",
2487
+ "G8SF"
2488
+ ]
2489
+ },
2490
+ "nodes": {
2491
+ "description": "number of nodes used for the job inside the RMS.",
2492
+ "type": "integer"
2493
+ },
2494
+ "ppn": {
2495
+ "description": "number of CPUs used for the job inside the RMS.",
2496
+ "type": "integer"
2497
+ },
2498
+ "timeLimit": {
2499
+ "description": "Wallclock time limit for computing a job. Clock format: 'hh:mm:ss'",
2500
+ "type": "string"
2501
+ },
2502
+ "timeLimitType": {
2503
+ "description": "Convention to use when reasoning about time limits",
2504
+ "type": "string",
2505
+ "default": "per single attempt",
2506
+ "enum": [
2507
+ "per single attempt",
2508
+ "compound"
2509
+ ]
2510
+ },
2511
+ "isRestartable": {
2512
+ "description": "Job is allowed to restart on termination.",
2513
+ "type": "boolean",
2514
+ "default": true
2515
+ },
2516
+ "notify": {
2517
+ "description": "Email notification for the job: n - never, a - job aborted, b - job begins, e - job ends. Last three could be combined.",
2518
+ "type": "string"
2519
+ },
2520
+ "email": {
2521
+ "description": "Email address to notify about job execution.",
2522
+ "type": "string"
2523
+ },
2524
+ "maxCPU": {
2525
+ "description": "Maximum CPU count per node. This parameter is used to let backend job submission infrastructure know that this job is to be charged for the maximum CPU per node instead of the actual ppn. For premium/fast queues where resources are provisioned on-demand and exclusively per user.",
2526
+ "type": "integer"
2527
+ },
2528
+ "arguments": {
2529
+ "description": "Optional arguments specific to using application - VASP, Quantum Espresso, etc. Specified elsewhere",
2530
+ "default": {},
2460
2531
  "$schema": "http://json-schema.org/draft-07/schema#",
2461
- "title": "compute arguments schema",
2462
- "description": "Custom keywords prefixed with validate correspond to custom validation methods implemented downstream",
2532
+ "title": "quantum espresso arguments schema",
2463
2533
  "type": "object",
2534
+ "additionalProperties": false,
2464
2535
  "properties": {
2465
- "queue": {
2466
- "description": "Name of the submission queues: https://docs.mat3ra.com/infrastructure/resource/queues/. Below enums are for Azure, then AWS circa 2022-08, hence the duplication.",
2467
- "type": "string",
2468
- "enum": [
2469
- "D",
2470
- "OR",
2471
- "OF",
2472
- "OFplus",
2473
- "SR",
2474
- "SF",
2475
- "SFplus",
2476
- "GPOF",
2477
- "GP2OF",
2478
- "GP4OF",
2479
- "GPSF",
2480
- "GP2SF",
2481
- "GP4SF",
2482
- "OR4",
2483
- "OR8",
2484
- "OR16",
2485
- "SR4",
2486
- "SR8",
2487
- "SR16",
2488
- "GOF",
2489
- "G4OF",
2490
- "G8OF",
2491
- "GSF",
2492
- "G4SF",
2493
- "G8SF"
2494
- ]
2495
- },
2496
- "nodes": {
2497
- "description": "number of nodes used for the job inside the RMS.",
2498
- "type": "integer"
2536
+ "nimage": {
2537
+ "description": "Processors can be divided into different `images`, each corresponding to a different self-consistent or linear-response calculation, loosely coupled to others.",
2538
+ "type": "integer",
2539
+ "default": 1,
2540
+ "minimum": 1,
2541
+ "maximum": 100
2499
2542
  },
2500
- "ppn": {
2501
- "description": "number of CPUs used for the job inside the RMS.",
2502
- "type": "integer"
2543
+ "npools": {
2544
+ "description": "Each image can be subpartitioned into `pools`, each taking care of a group of k-points.",
2545
+ "type": "integer",
2546
+ "default": 1,
2547
+ "minimum": 1,
2548
+ "maximum": 100
2503
2549
  },
2504
- "timeLimit": {
2505
- "description": "Wallclock time limit for computing a job. Clock format: 'hh:mm:ss'",
2506
- "type": "string"
2507
- },
2508
- "timeLimitType": {
2509
- "description": "Convention to use when reasoning about time limits",
2510
- "type": "string",
2511
- "default": "per single attempt",
2512
- "enum": [
2513
- "per single attempt",
2514
- "compound"
2515
- ]
2550
+ "nband": {
2551
+ "description": "Each pool is subpartitioned into `band groups`, each taking care of a group of Kohn-Sham orbitals (also called bands, or wavefunctions).",
2552
+ "type": "integer",
2553
+ "default": 1,
2554
+ "minimum": 1,
2555
+ "maximum": 100
2516
2556
  },
2517
- "isRestartable": {
2518
- "description": "Job is allowed to restart on termination.",
2519
- "type": "boolean",
2520
- "default": true
2557
+ "ntg": {
2558
+ "description": "In order to allow good parallelization of the 3D FFT when the number of processors exceeds the number of FFT planes, FFTs on Kohn-Sham states are redistributed to `task` groups so that each group can process several wavefunctions at the same time.",
2559
+ "type": "integer",
2560
+ "default": 1,
2561
+ "minimum": 1,
2562
+ "maximum": 100
2521
2563
  },
2522
- "notify": {
2523
- "description": "Email notification for the job: n - never, a - job aborted, b - job begins, e - job ends. Last three could be combined.",
2564
+ "ndiag": {
2565
+ "description": "A further level of parallelization, independent on PW or k-point parallelization, is the parallelization of subspace diagonalization / iterative orthonormalization. Both operations required the diagonalization of arrays whose dimension is the number of Kohn-Sham states (or a small multiple of it). All such arrays are distributed block-like across the `linear-algebra group`, a subgroup of the pool of processors, organized in a square 2D grid. As a consequence the number of processors in the linear-algebra group is given by n2, where n is an integer; n2 must be smaller than the number of processors in the PW group. The diagonalization is then performed in parallel using standard linear algebra operations.",
2566
+ "type": "integer",
2567
+ "default": 1,
2568
+ "minimum": 1,
2569
+ "maximum": 100
2570
+ }
2571
+ }
2572
+ },
2573
+ "cluster": {
2574
+ "description": "Cluster where the job is executed. Optional on create. Required on job submission.",
2575
+ "type": "object",
2576
+ "properties": {
2577
+ "fqdn": {
2578
+ "description": "FQDN of the cluster. e.g. master-1-staging.exabyte.io",
2524
2579
  "type": "string"
2525
2580
  },
2526
- "email": {
2527
- "description": "Email address to notify about job execution.",
2581
+ "jid": {
2582
+ "description": "Job's identity in RMS. e.g. 1234.master-1-staging.exabyte.io",
2528
2583
  "type": "string"
2529
- },
2530
- "maxCPU": {
2531
- "description": "Maximum CPU count per node. This parameter is used to let backend job submission infrastructure know that this job is to be charged for the maximum CPU per node instead of the actual ppn. For premium/fast queues where resources are provisioned on-demand and exclusively per user.",
2532
- "type": "integer"
2533
- },
2534
- "arguments": {
2535
- "description": "Optional arguments specific to using application - VASP, Quantum Espresso, etc. Specified elsewhere",
2536
- "default": {},
2537
- "$schema": "http://json-schema.org/draft-07/schema#",
2538
- "title": "quantum espresso arguments schema",
2539
- "type": "object",
2540
- "additionalProperties": false,
2541
- "properties": {
2542
- "nimage": {
2543
- "description": "Processors can be divided into different `images`, each corresponding to a different self-consistent or linear-response calculation, loosely coupled to others.",
2544
- "type": "integer",
2545
- "default": 1,
2546
- "minimum": 1,
2547
- "maximum": 100
2548
- },
2549
- "npools": {
2550
- "description": "Each image can be subpartitioned into `pools`, each taking care of a group of k-points.",
2551
- "type": "integer",
2552
- "default": 1,
2553
- "minimum": 1,
2554
- "maximum": 100
2555
- },
2556
- "nband": {
2557
- "description": "Each pool is subpartitioned into `band groups`, each taking care of a group of Kohn-Sham orbitals (also called bands, or wavefunctions).",
2558
- "type": "integer",
2559
- "default": 1,
2560
- "minimum": 1,
2561
- "maximum": 100
2562
- },
2563
- "ntg": {
2564
- "description": "In order to allow good parallelization of the 3D FFT when the number of processors exceeds the number of FFT planes, FFTs on Kohn-Sham states are redistributed to `task` groups so that each group can process several wavefunctions at the same time.",
2565
- "type": "integer",
2566
- "default": 1,
2567
- "minimum": 1,
2568
- "maximum": 100
2569
- },
2570
- "ndiag": {
2571
- "description": "A further level of parallelization, independent on PW or k-point parallelization, is the parallelization of subspace diagonalization / iterative orthonormalization. Both operations required the diagonalization of arrays whose dimension is the number of Kohn-Sham states (or a small multiple of it). All such arrays are distributed block-like across the `linear-algebra group`, a subgroup of the pool of processors, organized in a square 2D grid. As a consequence the number of processors in the linear-algebra group is given by n2, where n is an integer; n2 must be smaller than the number of processors in the PW group. The diagonalization is then performed in parallel using standard linear algebra operations.",
2572
- "type": "integer",
2573
- "default": 1,
2574
- "minimum": 1,
2575
- "maximum": 100
2576
- }
2577
- }
2578
- },
2579
- "cluster": {
2580
- "description": "Cluster where the job is executed. Optional on create. Required on job submission.",
2581
- "type": "object",
2582
- "properties": {
2583
- "fqdn": {
2584
- "description": "FQDN of the cluster. e.g. master-1-staging.exabyte.io",
2585
- "type": "string"
2586
- },
2587
- "jid": {
2588
- "description": "Job's identity in RMS. e.g. 1234.master-1-staging.exabyte.io",
2589
- "type": "string"
2590
- }
2591
- }
2592
- },
2593
- "errors": {
2594
- "description": "Computation error. Optional. Appears only if something happens on jobs execution.",
2595
- "type": "array",
2596
- "items": {
2597
- "type": "object",
2598
- "properties": {
2599
- "domain": {
2600
- "description": "Domain of the error appearance (internal).",
2601
- "type": "string",
2602
- "enum": [
2603
- "rupy",
2604
- "alfred",
2605
- "celim",
2606
- "webapp"
2607
- ]
2608
- },
2609
- "reason": {
2610
- "description": "Should be a short, unique, machine-readable error code string. e.g. FileNotFound",
2611
- "type": "string"
2612
- },
2613
- "message": {
2614
- "description": "Human-readable error message. e.g. 'File Not Found: /home/demo/data/project1/job-123/job-config.json'",
2615
- "type": "string"
2616
- },
2617
- "traceback": {
2618
- "description": "Full machine-readable error traceback. e.g. FileNotFound",
2619
- "type": "string"
2620
- }
2621
- }
2584
+ }
2585
+ }
2586
+ },
2587
+ "errors": {
2588
+ "description": "Computation error. Optional. Appears only if something happens on jobs execution.",
2589
+ "type": "array",
2590
+ "items": {
2591
+ "type": "object",
2592
+ "properties": {
2593
+ "domain": {
2594
+ "description": "Domain of the error appearance (internal).",
2595
+ "type": "string",
2596
+ "enum": [
2597
+ "rupy",
2598
+ "alfred",
2599
+ "celim",
2600
+ "webapp"
2601
+ ]
2602
+ },
2603
+ "reason": {
2604
+ "description": "Should be a short, unique, machine-readable error code string. e.g. FileNotFound",
2605
+ "type": "string"
2606
+ },
2607
+ "message": {
2608
+ "description": "Human-readable error message. e.g. 'File Not Found: /home/demo/data/project1/job-123/job-config.json'",
2609
+ "type": "string"
2610
+ },
2611
+ "traceback": {
2612
+ "description": "Full machine-readable error traceback. e.g. FileNotFound",
2613
+ "type": "string"
2622
2614
  }
2623
- },
2624
- "excludeFilesPattern": {
2625
- "description": "A Python compatible regex to exclude files from upload. e.g. ^.*.txt& excludes all files with .txt suffix",
2626
- "type": "string"
2627
2615
  }
2628
- },
2629
- "required": [
2630
- "queue",
2631
- "nodes",
2632
- "ppn",
2633
- "timeLimit"
2634
- ]
2616
+ }
2635
2617
  },
2636
- {
2637
- "type": "null"
2618
+ "excludeFilesPattern": {
2619
+ "description": "A Python compatible regex to exclude files from upload. e.g. ^.*.txt& excludes all files with .txt suffix",
2620
+ "type": "string"
2638
2621
  }
2639
- ]
2622
+ }
2640
2623
  }
2641
2624
  }
2642
2625
  }
@@ -27,8 +27,7 @@
27
27
  },
28
28
  "draft": {
29
29
  "description": "whether the result should be saved as draft",
30
- "type": "boolean",
31
- "default": true
30
+ "type": "boolean"
32
31
  }
33
32
  },
34
33
  "required": [
@@ -41,8 +41,7 @@
41
41
  },
42
42
  "overwrite": {
43
43
  "description": "if a file with the same filename already exists, whether to overwrite the old file",
44
- "type": "boolean",
45
- "default": false
44
+ "type": "boolean"
46
45
  },
47
46
  "pathname": {
48
47
  "description": "Relative path to the directory that contains the file.",
@@ -36,7 +36,7 @@
36
36
  "input": {
37
37
  "type": "array",
38
38
  "items": {
39
- "anyOf": [
39
+ "oneOf": [
40
40
  {
41
41
  "$schema": "http://json-schema.org/draft-07/schema#",
42
42
  "title": "data IO rest API input schema",
@@ -89,8 +89,7 @@
89
89
  },
90
90
  "draft": {
91
91
  "description": "whether the result should be saved as draft",
92
- "type": "boolean",
93
- "default": true
92
+ "type": "boolean"
94
93
  }
95
94
  },
96
95
  "required": [
@@ -143,8 +142,7 @@
143
142
  },
144
143
  "overwrite": {
145
144
  "description": "if a file with the same filename already exists, whether to overwrite the old file",
146
- "type": "boolean",
147
- "default": false
145
+ "type": "boolean"
148
146
  },
149
147
  "pathname": {
150
148
  "description": "Relative path to the directory that contains the file.",
@@ -41,7 +41,7 @@
41
41
  "input": {
42
42
  "type": "array",
43
43
  "items": {
44
- "anyOf": [
44
+ "oneOf": [
45
45
  {
46
46
  "$schema": "http://json-schema.org/draft-07/schema#",
47
47
  "title": "data IO rest API input schema",
@@ -94,8 +94,7 @@
94
94
  },
95
95
  "draft": {
96
96
  "description": "whether the result should be saved as draft",
97
- "type": "boolean",
98
- "default": true
97
+ "type": "boolean"
99
98
  }
100
99
  },
101
100
  "required": [
@@ -148,8 +147,7 @@
148
147
  },
149
148
  "overwrite": {
150
149
  "description": "if a file with the same filename already exists, whether to overwrite the old file",
151
- "type": "boolean",
152
- "default": false
150
+ "type": "boolean"
153
151
  },
154
152
  "pathname": {
155
153
  "description": "Relative path to the directory that contains the file.",