@mat3ra/esse 2026.7.14-0 → 2026.8.13-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 (100) hide show
  1. package/.cursor/rules/resolve-generated-merge-conflicts.mdc +36 -0
  2. package/dist/js/esse/JSONSchemasInterface.d.ts +4 -0
  3. package/dist/js/esse/JSONSchemasInterface.js +10 -0
  4. package/dist/js/example/properties_directory/scalar/defect_formation_energy.json +5 -0
  5. package/dist/js/schema/job.json +147 -176
  6. package/dist/js/schema/material/material_properties.json +0 -4
  7. package/dist/js/schema/material.json +0 -4
  8. package/dist/js/schema/material_enhanced.json +889 -0
  9. package/dist/js/schema/material_enhanced_hashed.json +898 -0
  10. package/dist/js/schema/material_hashed.json +858 -0
  11. package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +0 -36
  12. package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +0 -36
  13. package/dist/js/schema/materials_category/defective_structures/three_dimensional/solid_solution/configuration.json +0 -12
  14. package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +0 -16
  15. package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +0 -36
  16. package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +0 -24
  17. package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +0 -24
  18. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +0 -4
  19. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +0 -8
  20. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +0 -8
  21. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +0 -4
  22. package/dist/js/schema/materials_category/pristine_structures/three_dimensional/ideal_crystal.json +0 -4
  23. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +0 -12
  24. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +0 -8
  25. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +0 -8
  26. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +0 -8
  27. package/dist/js/schema/materials_category/processed_structures/two_dimensional/passivation/configuration.json +0 -8
  28. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +0 -4
  29. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +0 -4
  30. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +0 -4
  31. package/dist/js/schema/materials_category_components/entities/core/three_dimensional/crystal.json +0 -4
  32. package/dist/js/schema/materials_category_components/entities/core/two_dimensional/vacuum.json +0 -4
  33. package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +0 -4
  34. package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +0 -4
  35. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/crystal_lattice_base.json +0 -4
  36. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_non_uniform.json +0 -4
  37. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_uniform.json +0 -4
  38. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/supercell.json +0 -4
  39. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers.json +0 -4
  40. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique.json +0 -4
  41. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated.json +0 -4
  42. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/crystal_lattice_planes.json +0 -4
  43. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +0 -12
  44. package/dist/js/schema/materials_category_components/operations/core/modifications/perturb.json +0 -4
  45. package/dist/js/schema/properties_directory/enum_options.json +1 -0
  46. package/dist/js/schema/properties_directory/non_scalar/workflow.json +147 -176
  47. package/dist/js/schema/properties_directory/scalar/defect_formation_energy.json +43 -0
  48. package/dist/js/schema/properties_directory/structural/basis_constrained.json +292 -0
  49. package/dist/js/schema/property/holder.json +189 -176
  50. package/dist/js/schema/software_directory/modeling/unit/execution.json +14 -16
  51. package/dist/js/schema/software_directory/scripting/unit/execution.json +14 -16
  52. package/dist/js/schema/system/bankable.json +1 -6
  53. package/dist/js/schema/system/hashed.json +15 -0
  54. package/dist/js/schema/system/status_track.json +29 -0
  55. package/dist/js/schema/workflow/base.json +147 -176
  56. package/dist/js/schema/workflow/subworkflow/mixin.json +88 -105
  57. package/dist/js/schema/workflow/subworkflow/unit.json +88 -105
  58. package/dist/js/schema/workflow/subworkflow.json +88 -105
  59. package/dist/js/schema/workflow/unit/assertion.json +15 -18
  60. package/dist/js/schema/workflow/unit/assignment.json +14 -17
  61. package/dist/js/schema/workflow/unit/base.json +12 -17
  62. package/dist/js/schema/workflow/unit/condition.json +15 -18
  63. package/dist/js/schema/workflow/unit/error.json +15 -18
  64. package/dist/js/schema/workflow/unit/execution.json +14 -16
  65. package/dist/js/schema/workflow/unit/io.json +15 -18
  66. package/dist/js/schema/workflow/unit/map.json +14 -17
  67. package/dist/js/schema/workflow/unit/mixins/base.json +11 -20
  68. package/dist/js/schema/workflow/unit/reduce.json +15 -18
  69. package/dist/js/schema/workflow/unit/subworkflow.json +15 -18
  70. package/dist/js/schema/workflow/unit.json +59 -71
  71. package/dist/js/schema/workflow.json +147 -176
  72. package/dist/js/schemas.json +1 -1
  73. package/dist/js/types.d.ts +1603 -1247
  74. package/dist/js/utils/ajv.d.ts +6 -5
  75. package/dist/js/utils/ajv.js +22 -9
  76. package/dist/js/utils/ajvKeywords/jsonSchemaToTypescriptKeywords.d.ts +7 -0
  77. package/dist/js/utils/ajvKeywords/jsonSchemaToTypescriptKeywords.js +21 -0
  78. package/dist/js/utils/removeEmptyAndNullProperties.d.ts +9 -0
  79. package/dist/js/utils/removeEmptyAndNullProperties.js +29 -0
  80. package/example/properties_directory/scalar/defect_formation_energy.json +5 -0
  81. package/manifest/properties.yaml +6 -0
  82. package/package.json +1 -1
  83. package/schema/material/material_properties.json +0 -4
  84. package/schema/material_enhanced.json +18 -0
  85. package/schema/material_enhanced_hashed.json +14 -0
  86. package/schema/material_hashed.json +22 -0
  87. package/schema/properties_directory/enum_options.json +1 -0
  88. package/schema/properties_directory/scalar/defect_formation_energy.json +21 -0
  89. package/schema/properties_directory/structural/basis_constrained.json +19 -0
  90. package/schema/property/holder.json +3 -0
  91. package/schema/system/bankable.json +1 -6
  92. package/schema/system/hashed.json +15 -0
  93. package/schema/system/status.json +5 -21
  94. package/schema/system/status_track.json +29 -0
  95. package/schema/workflow/unit/base.json +1 -1
  96. package/schema/workflow/unit/mixins/base.json +11 -20
  97. package/src/js/esse/JSONSchemasInterface.ts +11 -0
  98. package/src/js/utils/ajv.ts +22 -9
  99. package/src/js/utils/ajvKeywords/jsonSchemaToTypescriptKeywords.ts +22 -0
  100. package/src/js/utils/removeEmptyAndNullProperties.ts +32 -0
@@ -260,8 +260,7 @@
260
260
  "preProcessors",
261
261
  "results",
262
262
  "source",
263
- "subtype",
264
- "type"
263
+ "subtype"
265
264
  ],
266
265
  "properties": {
267
266
  "_id": {
@@ -376,17 +375,6 @@
376
375
  "type": "string"
377
376
  }
378
377
  },
379
- "status": {
380
- "type": "string",
381
- "description": "Status of the unit.",
382
- "enum": [
383
- "idle",
384
- "active",
385
- "warning",
386
- "error",
387
- "finished"
388
- ]
389
- },
390
378
  "statusTrack": {
391
379
  "type": "array",
392
380
  "items": {
@@ -411,11 +399,6 @@
411
399
  "isDraft": {
412
400
  "type": "boolean"
413
401
  },
414
- "type": {
415
- "description": "type of the unit",
416
- "type": "string",
417
- "const": "io"
418
- },
419
402
  "head": {
420
403
  "description": "Whether this unit is the first one to be executed.",
421
404
  "type": "boolean"
@@ -432,6 +415,20 @@
432
415
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
433
416
  "type": "boolean"
434
417
  },
418
+ "status": {
419
+ "description": "Status of the unit.",
420
+ "type": "string",
421
+ "enum": [
422
+ "idle",
423
+ "active",
424
+ "warning",
425
+ "error",
426
+ "finished"
427
+ ]
428
+ },
429
+ "type": {
430
+ "const": "io"
431
+ },
435
432
  "subtype": {
436
433
  "enum": [
437
434
  "input",
@@ -564,8 +561,7 @@
564
561
  "preProcessors",
565
562
  "results",
566
563
  "statement",
567
- "then",
568
- "type"
564
+ "then"
569
565
  ],
570
566
  "properties": {
571
567
  "_id": {
@@ -680,17 +676,6 @@
680
676
  "type": "string"
681
677
  }
682
678
  },
683
- "status": {
684
- "type": "string",
685
- "description": "Status of the unit.",
686
- "enum": [
687
- "idle",
688
- "active",
689
- "warning",
690
- "error",
691
- "finished"
692
- ]
693
- },
694
679
  "statusTrack": {
695
680
  "type": "array",
696
681
  "items": {
@@ -715,11 +700,6 @@
715
700
  "isDraft": {
716
701
  "type": "boolean"
717
702
  },
718
- "type": {
719
- "description": "type of the unit",
720
- "type": "string",
721
- "const": "condition"
722
- },
723
703
  "head": {
724
704
  "description": "Whether this unit is the first one to be executed.",
725
705
  "type": "boolean"
@@ -736,6 +716,20 @@
736
716
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
737
717
  "type": "boolean"
738
718
  },
719
+ "status": {
720
+ "description": "Status of the unit.",
721
+ "type": "string",
722
+ "enum": [
723
+ "idle",
724
+ "active",
725
+ "warning",
726
+ "error",
727
+ "finished"
728
+ ]
729
+ },
730
+ "type": {
731
+ "const": "condition"
732
+ },
739
733
  "input": {
740
734
  "description": "Input information for condition.",
741
735
  "type": "array",
@@ -792,8 +786,7 @@
792
786
  "postProcessors",
793
787
  "preProcessors",
794
788
  "results",
795
- "statement",
796
- "type"
789
+ "statement"
797
790
  ],
798
791
  "properties": {
799
792
  "_id": {
@@ -908,17 +901,6 @@
908
901
  "type": "string"
909
902
  }
910
903
  },
911
- "status": {
912
- "type": "string",
913
- "description": "Status of the unit.",
914
- "enum": [
915
- "idle",
916
- "active",
917
- "warning",
918
- "error",
919
- "finished"
920
- ]
921
- },
922
904
  "statusTrack": {
923
905
  "type": "array",
924
906
  "items": {
@@ -943,11 +925,6 @@
943
925
  "isDraft": {
944
926
  "type": "boolean"
945
927
  },
946
- "type": {
947
- "description": "type of the unit",
948
- "type": "string",
949
- "const": "assertion"
950
- },
951
928
  "head": {
952
929
  "description": "Whether this unit is the first one to be executed.",
953
930
  "type": "boolean"
@@ -964,6 +941,20 @@
964
941
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
965
942
  "type": "boolean"
966
943
  },
944
+ "status": {
945
+ "description": "Status of the unit.",
946
+ "type": "string",
947
+ "enum": [
948
+ "idle",
949
+ "active",
950
+ "warning",
951
+ "error",
952
+ "finished"
953
+ ]
954
+ },
955
+ "type": {
956
+ "const": "assertion"
957
+ },
967
958
  "statement": {
968
959
  "type": "string",
969
960
  "description": "The statement to be evaluated"
@@ -1105,17 +1096,6 @@
1105
1096
  "type": "string"
1106
1097
  }
1107
1098
  },
1108
- "status": {
1109
- "type": "string",
1110
- "description": "Status of the unit.",
1111
- "enum": [
1112
- "idle",
1113
- "active",
1114
- "warning",
1115
- "error",
1116
- "finished"
1117
- ]
1118
- },
1119
1099
  "statusTrack": {
1120
1100
  "type": "array",
1121
1101
  "items": {
@@ -1140,11 +1120,6 @@
1140
1120
  "isDraft": {
1141
1121
  "type": "boolean"
1142
1122
  },
1143
- "type": {
1144
- "description": "type of the unit",
1145
- "type": "string",
1146
- "const": "execution"
1147
- },
1148
1123
  "head": {
1149
1124
  "description": "Whether this unit is the first one to be executed.",
1150
1125
  "type": "boolean"
@@ -1161,6 +1136,20 @@
1161
1136
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
1162
1137
  "type": "boolean"
1163
1138
  },
1139
+ "status": {
1140
+ "description": "Status of the unit.",
1141
+ "type": "string",
1142
+ "enum": [
1143
+ "idle",
1144
+ "active",
1145
+ "warning",
1146
+ "error",
1147
+ "finished"
1148
+ ]
1149
+ },
1150
+ "type": {
1151
+ "const": "execution"
1152
+ },
1164
1153
  "application": {
1165
1154
  "$schema": "http://json-schema.org/draft-07/schema#",
1166
1155
  "title": "application schema",
@@ -3141,7 +3130,6 @@
3141
3130
  "postProcessors",
3142
3131
  "preProcessors",
3143
3132
  "results",
3144
- "type",
3145
3133
  "value"
3146
3134
  ],
3147
3135
  "properties": {
@@ -3257,17 +3245,6 @@
3257
3245
  "type": "string"
3258
3246
  }
3259
3247
  },
3260
- "status": {
3261
- "type": "string",
3262
- "description": "Status of the unit.",
3263
- "enum": [
3264
- "idle",
3265
- "active",
3266
- "warning",
3267
- "error",
3268
- "finished"
3269
- ]
3270
- },
3271
3248
  "statusTrack": {
3272
3249
  "type": "array",
3273
3250
  "items": {
@@ -3292,11 +3269,6 @@
3292
3269
  "isDraft": {
3293
3270
  "type": "boolean"
3294
3271
  },
3295
- "type": {
3296
- "description": "type of the unit",
3297
- "type": "string",
3298
- "const": "assignment"
3299
- },
3300
3272
  "head": {
3301
3273
  "description": "Whether this unit is the first one to be executed.",
3302
3274
  "type": "boolean"
@@ -3313,9 +3285,23 @@
3313
3285
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
3314
3286
  "type": "boolean"
3315
3287
  },
3288
+ "status": {
3289
+ "description": "Status of the unit.",
3290
+ "type": "string",
3291
+ "enum": [
3292
+ "idle",
3293
+ "active",
3294
+ "warning",
3295
+ "error",
3296
+ "finished"
3297
+ ]
3298
+ },
3316
3299
  "scope": {
3317
3300
  "type": "string"
3318
3301
  },
3302
+ "type": {
3303
+ "const": "assignment"
3304
+ },
3319
3305
  "input": {
3320
3306
  "description": "Input information for assignment. if omitted, means that it is an initialization unit, otherwise it is an assignment.",
3321
3307
  "type": "array",
@@ -3370,8 +3356,7 @@
3370
3356
  "postProcessors",
3371
3357
  "preProcessors",
3372
3358
  "reason",
3373
- "results",
3374
- "type"
3359
+ "results"
3375
3360
  ],
3376
3361
  "properties": {
3377
3362
  "_id": {
@@ -3486,17 +3471,6 @@
3486
3471
  "type": "string"
3487
3472
  }
3488
3473
  },
3489
- "status": {
3490
- "type": "string",
3491
- "description": "Status of the unit.",
3492
- "enum": [
3493
- "idle",
3494
- "active",
3495
- "warning",
3496
- "error",
3497
- "finished"
3498
- ]
3499
- },
3500
3474
  "statusTrack": {
3501
3475
  "type": "array",
3502
3476
  "items": {
@@ -3521,11 +3495,6 @@
3521
3495
  "isDraft": {
3522
3496
  "type": "boolean"
3523
3497
  },
3524
- "type": {
3525
- "description": "type of the unit",
3526
- "type": "string",
3527
- "const": "error"
3528
- },
3529
3498
  "head": {
3530
3499
  "description": "Whether this unit is the first one to be executed.",
3531
3500
  "type": "boolean"
@@ -3542,6 +3511,20 @@
3542
3511
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
3543
3512
  "type": "boolean"
3544
3513
  },
3514
+ "status": {
3515
+ "description": "Status of the unit.",
3516
+ "type": "string",
3517
+ "enum": [
3518
+ "idle",
3519
+ "active",
3520
+ "warning",
3521
+ "error",
3522
+ "finished"
3523
+ ]
3524
+ },
3525
+ "type": {
3526
+ "const": "error"
3527
+ },
3545
3528
  "reason": {
3546
3529
  "type": "string",
3547
3530
  "description": "JSON string with validation/hydration details: { error, json, schema }"
@@ -3976,7 +3959,6 @@
3976
3959
  "postProcessors",
3977
3960
  "preProcessors",
3978
3961
  "results",
3979
- "type",
3980
3962
  "workflowId"
3981
3963
  ],
3982
3964
  "properties": {
@@ -4092,17 +4074,6 @@
4092
4074
  "type": "string"
4093
4075
  }
4094
4076
  },
4095
- "status": {
4096
- "type": "string",
4097
- "description": "Status of the unit.",
4098
- "enum": [
4099
- "idle",
4100
- "active",
4101
- "warning",
4102
- "error",
4103
- "finished"
4104
- ]
4105
- },
4106
4077
  "statusTrack": {
4107
4078
  "type": "array",
4108
4079
  "items": {
@@ -4127,11 +4098,6 @@
4127
4098
  "isDraft": {
4128
4099
  "type": "boolean"
4129
4100
  },
4130
- "type": {
4131
- "description": "type of the unit",
4132
- "type": "string",
4133
- "const": "map"
4134
- },
4135
4101
  "head": {
4136
4102
  "description": "Whether this unit is the first one to be executed.",
4137
4103
  "type": "boolean"
@@ -4148,6 +4114,20 @@
4148
4114
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
4149
4115
  "type": "boolean"
4150
4116
  },
4117
+ "status": {
4118
+ "description": "Status of the unit.",
4119
+ "type": "string",
4120
+ "enum": [
4121
+ "idle",
4122
+ "active",
4123
+ "warning",
4124
+ "error",
4125
+ "finished"
4126
+ ]
4127
+ },
4128
+ "type": {
4129
+ "const": "map"
4130
+ },
4151
4131
  "workflowId": {
4152
4132
  "description": "Id of workflow to run inside map",
4153
4133
  "type": "string"
@@ -4207,8 +4187,7 @@
4207
4187
  "name",
4208
4188
  "postProcessors",
4209
4189
  "preProcessors",
4210
- "results",
4211
- "type"
4190
+ "results"
4212
4191
  ],
4213
4192
  "properties": {
4214
4193
  "_id": {
@@ -4323,17 +4302,6 @@
4323
4302
  "type": "string"
4324
4303
  }
4325
4304
  },
4326
- "status": {
4327
- "type": "string",
4328
- "description": "Status of the unit.",
4329
- "enum": [
4330
- "idle",
4331
- "active",
4332
- "warning",
4333
- "error",
4334
- "finished"
4335
- ]
4336
- },
4337
4305
  "statusTrack": {
4338
4306
  "type": "array",
4339
4307
  "items": {
@@ -4358,11 +4326,6 @@
4358
4326
  "isDraft": {
4359
4327
  "type": "boolean"
4360
4328
  },
4361
- "type": {
4362
- "description": "type of the unit",
4363
- "type": "string",
4364
- "const": "reduce"
4365
- },
4366
4329
  "head": {
4367
4330
  "description": "Whether this unit is the first one to be executed.",
4368
4331
  "type": "boolean"
@@ -4379,6 +4342,20 @@
4379
4342
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
4380
4343
  "type": "boolean"
4381
4344
  },
4345
+ "status": {
4346
+ "description": "Status of the unit.",
4347
+ "type": "string",
4348
+ "enum": [
4349
+ "idle",
4350
+ "active",
4351
+ "warning",
4352
+ "error",
4353
+ "finished"
4354
+ ]
4355
+ },
4356
+ "type": {
4357
+ "const": "reduce"
4358
+ },
4382
4359
  "mapFlowchartId": {
4383
4360
  "description": "corresponding map unit flowchart ID",
4384
4361
  "type": "string"
@@ -4419,8 +4396,7 @@
4419
4396
  "name",
4420
4397
  "postProcessors",
4421
4398
  "preProcessors",
4422
- "results",
4423
- "type"
4399
+ "results"
4424
4400
  ],
4425
4401
  "properties": {
4426
4402
  "_id": {
@@ -4535,17 +4511,6 @@
4535
4511
  "type": "string"
4536
4512
  }
4537
4513
  },
4538
- "status": {
4539
- "type": "string",
4540
- "description": "Status of the unit.",
4541
- "enum": [
4542
- "idle",
4543
- "active",
4544
- "warning",
4545
- "error",
4546
- "finished"
4547
- ]
4548
- },
4549
4514
  "statusTrack": {
4550
4515
  "type": "array",
4551
4516
  "items": {
@@ -4570,11 +4535,6 @@
4570
4535
  "isDraft": {
4571
4536
  "type": "boolean"
4572
4537
  },
4573
- "type": {
4574
- "description": "type of the unit",
4575
- "type": "string",
4576
- "const": "subworkflow"
4577
- },
4578
4538
  "head": {
4579
4539
  "description": "Whether this unit is the first one to be executed.",
4580
4540
  "type": "boolean"
@@ -4590,6 +4550,20 @@
4590
4550
  "enableRender": {
4591
4551
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
4592
4552
  "type": "boolean"
4553
+ },
4554
+ "status": {
4555
+ "description": "Status of the unit.",
4556
+ "type": "string",
4557
+ "enum": [
4558
+ "idle",
4559
+ "active",
4560
+ "warning",
4561
+ "error",
4562
+ "finished"
4563
+ ]
4564
+ },
4565
+ "type": {
4566
+ "const": "subworkflow"
4593
4567
  }
4594
4568
  }
4595
4569
  },
@@ -4604,8 +4578,7 @@
4604
4578
  "postProcessors",
4605
4579
  "preProcessors",
4606
4580
  "reason",
4607
- "results",
4608
- "type"
4581
+ "results"
4609
4582
  ],
4610
4583
  "properties": {
4611
4584
  "_id": {
@@ -4720,17 +4693,6 @@
4720
4693
  "type": "string"
4721
4694
  }
4722
4695
  },
4723
- "status": {
4724
- "type": "string",
4725
- "description": "Status of the unit.",
4726
- "enum": [
4727
- "idle",
4728
- "active",
4729
- "warning",
4730
- "error",
4731
- "finished"
4732
- ]
4733
- },
4734
4696
  "statusTrack": {
4735
4697
  "type": "array",
4736
4698
  "items": {
@@ -4755,11 +4717,6 @@
4755
4717
  "isDraft": {
4756
4718
  "type": "boolean"
4757
4719
  },
4758
- "type": {
4759
- "description": "type of the unit",
4760
- "type": "string",
4761
- "const": "error"
4762
- },
4763
4720
  "head": {
4764
4721
  "description": "Whether this unit is the first one to be executed.",
4765
4722
  "type": "boolean"
@@ -4776,6 +4733,20 @@
4776
4733
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
4777
4734
  "type": "boolean"
4778
4735
  },
4736
+ "status": {
4737
+ "description": "Status of the unit.",
4738
+ "type": "string",
4739
+ "enum": [
4740
+ "idle",
4741
+ "active",
4742
+ "warning",
4743
+ "error",
4744
+ "finished"
4745
+ ]
4746
+ },
4747
+ "type": {
4748
+ "const": "error"
4749
+ },
4779
4750
  "reason": {
4780
4751
  "type": "string",
4781
4752
  "description": "JSON string with validation/hydration details: { error, json, schema }"