soustack 0.4.7 → 0.4.8

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 (91) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/index.js +70 -70
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/index.d.mts +3 -1
  5. package/dist/index.d.ts +3 -1
  6. package/dist/index.js +74 -70
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.mjs +74 -71
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +6 -3
  11. package/spec/.sync-meta.json +59 -59
  12. package/spec/defs/common.schema.json +1 -1
  13. package/spec/defs/duration.schema.json +1 -1
  14. package/spec/defs/entities.schema.json +1 -1
  15. package/spec/defs/ingredientQuantified.schema.json +1 -1
  16. package/spec/defs/quantity.schema.json +1 -1
  17. package/spec/defs/scalingRule.schema.json +1 -1
  18. package/spec/defs/temperature.schema.json +1 -1
  19. package/spec/fixtures/content/illustrated-step.valid.json +1 -1
  20. package/spec/fixtures/invalid/equipment-unknown-reference.invalid.json +1 -1
  21. package/spec/fixtures/invalid/mise-en-place-unknown-equipment.invalid.json +1 -1
  22. package/spec/fixtures/invalid/mise-en-place-unknown-input.invalid.json +1 -1
  23. package/spec/fixtures/invalid/storage-leftovers-missing-method.invalid.json +1 -1
  24. package/spec/fixtures/invalid/storage-leftovers-wrong-type.invalid.json +1 -1
  25. package/spec/fixtures/level/base-full.valid.json +1 -1
  26. package/spec/fixtures/level/base-missing-yield.invalid.json +1 -1
  27. package/spec/fixtures/level/lite-min.valid.json +1 -1
  28. package/spec/fixtures/scaling/bakers-percent-missing-ref.invalid.json +1 -1
  29. package/spec/fixtures/scaling/bakers-percent.valid.json +1 -1
  30. package/spec/fixtures/scaling/discrete-range.invalid.json +1 -1
  31. package/spec/fixtures/scaling/missing-quantified.invalid.json +1 -1
  32. package/spec/fixtures/scaling/reject-bakersPercentage.invalid.json +1 -1
  33. package/spec/fixtures/stacks/compute-missing-timed.invalid.json +1 -1
  34. package/spec/fixtures/stacks/dietary-no-signal.invalid.json +1 -1
  35. package/spec/fixtures/stacks/illustrated-empty.invalid.json +1 -1
  36. package/spec/fixtures/stacks/quantified-string.invalid.json +1 -1
  37. package/spec/fixtures/stacks/referenced-missing-input.invalid.json +1 -1
  38. package/spec/fixtures/stacks/storage-min.valid.json +1 -1
  39. package/spec/fixtures/stacks/storage-no-duration.invalid.json +1 -1
  40. package/spec/fixtures/stacks/timed-implies-structured.valid.json +1 -1
  41. package/spec/fixtures/stacks/timed-range.invalid.json +1 -1
  42. package/spec/fixtures/valid/equipment-scaling-rules.valid.json +1 -1
  43. package/spec/fixtures/valid/equipment-strings.valid.json +1 -1
  44. package/spec/fixtures/valid/equipment-structured-uses.valid.json +1 -1
  45. package/spec/fixtures/valid/mise-en-place-basic.valid.json +1 -1
  46. package/spec/fixtures/valid/mise-en-place-referenced-equipment.valid.json +1 -1
  47. package/spec/fixtures/valid/prep-ingredient-strings.valid.json +1 -1
  48. package/spec/fixtures/valid/prep-ingredient-structured.valid.json +1 -1
  49. package/spec/fixtures/valid/profile-equipped.valid.json +1 -1
  50. package/spec/fixtures/valid/profile-prepped.valid.json +1 -1
  51. package/spec/fixtures/valid/quantified-nested-ingredient-sections.valid.json +1 -1
  52. package/spec/fixtures/valid/referenced-scaling.valid.json +1 -1
  53. package/spec/fixtures/valid/storage-leftovers-simple.valid.json +1 -1
  54. package/spec/fixtures/valid/storage-leftovers-structured.valid.json +1 -1
  55. package/spec/fixtures/valid/structured-nested-step-sections.valid.json +1 -1
  56. package/spec/soustack.schema.json +57 -57
  57. package/spec/stacks/compute.schema.json +1 -1
  58. package/spec/stacks/dietary.schema.json +1 -1
  59. package/spec/stacks/equipment.schema.json +1 -1
  60. package/spec/stacks/illustrated.schema.json +1 -1
  61. package/spec/stacks/prep.schema.json +1 -1
  62. package/spec/stacks/quantified.schema.json +1 -1
  63. package/spec/stacks/referenced.schema.json +1 -1
  64. package/spec/stacks/scaling.schema.json +1 -1
  65. package/spec/stacks/storage.schema.json +1 -1
  66. package/spec/stacks/structured.schema.json +1 -1
  67. package/spec/stacks/substitutions.schema.json +1 -1
  68. package/spec/stacks/techniques.schema.json +1 -1
  69. package/spec/stacks/timed.schema.json +1 -1
  70. package/src/defs/common.schema.json +1 -1
  71. package/src/defs/duration.schema.json +1 -1
  72. package/src/defs/entities.schema.json +1 -1
  73. package/src/defs/ingredientQuantified.schema.json +1 -1
  74. package/src/defs/quantity.schema.json +1 -1
  75. package/src/defs/scalingRule.schema.json +1 -1
  76. package/src/defs/temperature.schema.json +1 -1
  77. package/src/schema.json +57 -57
  78. package/src/soustack.schema.json +57 -57
  79. package/src/stacks/compute.schema.json +1 -1
  80. package/src/stacks/dietary.schema.json +1 -1
  81. package/src/stacks/equipment.schema.json +1 -1
  82. package/src/stacks/illustrated.schema.json +1 -1
  83. package/src/stacks/prep.schema.json +1 -1
  84. package/src/stacks/quantified.schema.json +1 -1
  85. package/src/stacks/referenced.schema.json +1 -1
  86. package/src/stacks/scaling.schema.json +1 -1
  87. package/src/stacks/storage.schema.json +1 -1
  88. package/src/stacks/structured.schema.json +1 -1
  89. package/src/stacks/substitutions.schema.json +1 -1
  90. package/src/stacks/techniques.schema.json +1 -1
  91. package/src/stacks/timed.schema.json +1 -1
package/README.md CHANGED
@@ -396,7 +396,7 @@ npx soustack scale recipe.soustack.json 2
396
396
 
397
397
  ## 🔄 Keeping the Schema in Sync
398
398
 
399
- The schema files in this repository are **copies** of the official standard. The source of truth lives in [RichardHerold/soustack-spec](https://github.com/RichardHerold/soustack-spec).
399
+ The schema files in this repository are **copies** of the official standard. The source of truth lives in [RichardHerold/soustack-spec](https://github.com/RichardHerold/soustack-spec) (published as `@soustack/spec` on npm).
400
400
 
401
401
  **Do not edit any synced schema artifacts manually** (`src/schema.json`, `src/soustack.schema.json`, `src/profiles/*.schema.json`).
402
402
 
package/dist/cli/index.js CHANGED
@@ -49,7 +49,7 @@ var require_common_schema = __commonJS({
49
49
  "src/defs/common.schema.json"(exports$1, module2) {
50
50
  module2.exports = {
51
51
  $schema: "https://json-schema.org/draft/2020-12/schema",
52
- $id: "https://soustack.spec/defs/common.schema.json",
52
+ $id: "https://spec.soustack.org/defs/common.schema.json",
53
53
  title: "Common definitions for Soustack",
54
54
  type: "object",
55
55
  properties: {
@@ -101,7 +101,7 @@ var require_duration_schema = __commonJS({
101
101
  "src/defs/duration.schema.json"(exports$1, module2) {
102
102
  module2.exports = {
103
103
  $schema: "https://json-schema.org/draft/2020-12/schema",
104
- $id: "https://soustack.spec/defs/duration.schema.json",
104
+ $id: "https://spec.soustack.org/defs/duration.schema.json",
105
105
  title: "Durations",
106
106
  type: "object",
107
107
  properties: {
@@ -140,7 +140,7 @@ var require_entities_schema = __commonJS({
140
140
  "src/defs/entities.schema.json"(exports$1, module2) {
141
141
  module2.exports = {
142
142
  $schema: "https://json-schema.org/draft/2020-12/schema",
143
- $id: "https://soustack.spec/defs/entities.schema.json",
143
+ $id: "https://spec.soustack.org/defs/entities.schema.json",
144
144
  title: "Soustack entity bases",
145
145
  type: "object",
146
146
  $defs: {
@@ -257,7 +257,7 @@ var require_ingredientQuantified_schema = __commonJS({
257
257
  "src/defs/ingredientQuantified.schema.json"(exports$1, module2) {
258
258
  module2.exports = {
259
259
  $schema: "https://json-schema.org/draft/2020-12/schema",
260
- $id: "https://soustack.spec/defs/ingredientQuantified.schema.json",
260
+ $id: "https://spec.soustack.org/defs/ingredientQuantified.schema.json",
261
261
  title: "Quantified Ingredient",
262
262
  allOf: [
263
263
  { $ref: "./entities.schema.json#/$defs/IngredientBase" },
@@ -272,7 +272,7 @@ var require_quantity_schema = __commonJS({
272
272
  "src/defs/quantity.schema.json"(exports$1, module2) {
273
273
  module2.exports = {
274
274
  $schema: "https://json-schema.org/draft/2020-12/schema",
275
- $id: "https://soustack.spec/defs/quantity.schema.json",
275
+ $id: "https://spec.soustack.org/defs/quantity.schema.json",
276
276
  title: "Quantity",
277
277
  type: "object",
278
278
  properties: {
@@ -293,7 +293,7 @@ var require_quantity_schema = __commonJS({
293
293
  var require_scalingRule_schema = __commonJS({
294
294
  "src/defs/scalingRule.schema.json"(exports$1, module2) {
295
295
  module2.exports = {
296
- $id: "https://soustack.spec/defs/scalingRule.schema.json",
296
+ $id: "https://spec.soustack.org/defs/scalingRule.schema.json",
297
297
  $schema: "https://json-schema.org/draft/2020-12/schema",
298
298
  title: "Soustack ScalingRule",
299
299
  type: "object",
@@ -423,7 +423,7 @@ var require_temperature_schema = __commonJS({
423
423
  "src/defs/temperature.schema.json"(exports$1, module2) {
424
424
  module2.exports = {
425
425
  $schema: "https://json-schema.org/draft/2020-12/schema",
426
- $id: "https://soustack.spec/defs/temperature.schema.json",
426
+ $id: "https://spec.soustack.org/defs/temperature.schema.json",
427
427
  title: "Temperature",
428
428
  type: "object",
429
429
  oneOf: [
@@ -2518,13 +2518,13 @@ function isIngredientSubsection(item) {
2518
2518
  // src/soustack.schema.json
2519
2519
  var soustack_schema_default = {
2520
2520
  $schema: "https://json-schema.org/draft/2020-12/schema",
2521
- $id: "https://soustack.spec/soustack.schema.json",
2521
+ $id: "https://spec.soustack.org/soustack.schema.json",
2522
2522
  title: "Soustack Specification",
2523
2523
  type: "object",
2524
2524
  properties: {
2525
2525
  $schema: {
2526
2526
  type: "string",
2527
- const: "https://soustack.spec/soustack.schema.json"
2527
+ const: "https://spec.soustack.org/soustack.schema.json"
2528
2528
  },
2529
2529
  profile: {
2530
2530
  type: "string",
@@ -3050,7 +3050,7 @@ var soustack_schema_default = {
3050
3050
  additionalProperties: false,
3051
3051
  patternProperties: {
3052
3052
  "^x-": {
3053
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
3053
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
3054
3054
  }
3055
3055
  }
3056
3056
  },
@@ -3099,7 +3099,7 @@ var soustack_schema_default = {
3099
3099
  ],
3100
3100
  patternProperties: {
3101
3101
  "^x-": {
3102
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
3102
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
3103
3103
  }
3104
3104
  }
3105
3105
  }
@@ -3235,13 +3235,13 @@ var soustack_schema_default = {
3235
3235
  images: {
3236
3236
  type: "array",
3237
3237
  items: {
3238
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/uri"
3238
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/uri"
3239
3239
  }
3240
3240
  },
3241
3241
  videos: {
3242
3242
  type: "array",
3243
3243
  items: {
3244
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/uri"
3244
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/uri"
3245
3245
  }
3246
3246
  },
3247
3247
  instructions: {
@@ -3610,7 +3610,7 @@ var soustack_schema_default = {
3610
3610
  additionalProperties: false,
3611
3611
  patternProperties: {
3612
3612
  "^x-": {
3613
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
3613
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
3614
3614
  }
3615
3615
  }
3616
3616
  },
@@ -3625,7 +3625,7 @@ var soustack_schema_default = {
3625
3625
  additionalProperties: false,
3626
3626
  patternProperties: {
3627
3627
  "^x-": {
3628
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
3628
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
3629
3629
  }
3630
3630
  }
3631
3631
  }
@@ -3729,7 +3729,7 @@ var soustack_schema_default = {
3729
3729
  additionalProperties: false,
3730
3730
  patternProperties: {
3731
3731
  "^x-": {
3732
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
3732
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
3733
3733
  }
3734
3734
  }
3735
3735
  }
@@ -3909,7 +3909,7 @@ var soustack_schema_default = {
3909
3909
  additionalProperties: false,
3910
3910
  patternProperties: {
3911
3911
  "^x-": {
3912
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
3912
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
3913
3913
  }
3914
3914
  }
3915
3915
  },
@@ -3927,7 +3927,7 @@ var soustack_schema_default = {
3927
3927
  additionalProperties: false,
3928
3928
  patternProperties: {
3929
3929
  "^x-": {
3930
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
3930
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
3931
3931
  }
3932
3932
  }
3933
3933
  },
@@ -4018,7 +4018,7 @@ var soustack_schema_default = {
4018
4018
  additionalProperties: false,
4019
4019
  patternProperties: {
4020
4020
  "^x-": {
4021
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4021
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4022
4022
  }
4023
4023
  }
4024
4024
  },
@@ -4234,7 +4234,7 @@ var soustack_schema_default = {
4234
4234
  "illustrated@1_illustratedStep": {
4235
4235
  allOf: [
4236
4236
  {
4237
- $ref: "https://soustack.spec/defs/entities.schema.json#/$defs/StepBase"
4237
+ $ref: "https://spec.soustack.org/defs/entities.schema.json#/$defs/StepBase"
4238
4238
  },
4239
4239
  {
4240
4240
  required: [
@@ -4254,10 +4254,10 @@ var soustack_schema_default = {
4254
4254
  items: {
4255
4255
  anyOf: [
4256
4256
  {
4257
- $ref: "https://soustack.spec/stacks/illustrated.schema.json#/$defs/illustratedStep"
4257
+ $ref: "https://spec.soustack.org/stacks/illustrated.schema.json#/$defs/illustratedStep"
4258
4258
  },
4259
4259
  {
4260
- $ref: "https://soustack.spec/stacks/illustrated.schema.json#/$defs/illustratedSection"
4260
+ $ref: "https://spec.soustack.org/stacks/illustrated.schema.json#/$defs/illustratedSection"
4261
4261
  }
4262
4262
  ]
4263
4263
  }
@@ -4274,7 +4274,7 @@ var soustack_schema_default = {
4274
4274
  additionalProperties: false,
4275
4275
  patternProperties: {
4276
4276
  "^x-": {
4277
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4277
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4278
4278
  }
4279
4279
  }
4280
4280
  },
@@ -4288,10 +4288,10 @@ var soustack_schema_default = {
4288
4288
  type: "string"
4289
4289
  },
4290
4290
  quantity: {
4291
- $ref: "https://soustack.spec/defs/quantity.schema.json"
4291
+ $ref: "https://spec.soustack.org/defs/quantity.schema.json"
4292
4292
  },
4293
4293
  temperature: {
4294
- $ref: "https://soustack.spec/defs/temperature.schema.json"
4294
+ $ref: "https://spec.soustack.org/defs/temperature.schema.json"
4295
4295
  },
4296
4296
  notes: {
4297
4297
  type: "string"
@@ -4312,7 +4312,7 @@ var soustack_schema_default = {
4312
4312
  minLength: 1
4313
4313
  },
4314
4314
  {
4315
- $ref: "https://soustack.spec/stacks/prep.schema.json#/$defs/prepItem"
4315
+ $ref: "https://spec.soustack.org/stacks/prep.schema.json#/$defs/prepItem"
4316
4316
  }
4317
4317
  ]
4318
4318
  }
@@ -4324,7 +4324,7 @@ var soustack_schema_default = {
4324
4324
  additionalProperties: true
4325
4325
  },
4326
4326
  scaling: {
4327
- $ref: "https://soustack.spec/defs/scalingRule.schema.json"
4327
+ $ref: "https://spec.soustack.org/defs/scalingRule.schema.json"
4328
4328
  }
4329
4329
  },
4330
4330
  required: [
@@ -4335,7 +4335,7 @@ var soustack_schema_default = {
4335
4335
  additionalProperties: false,
4336
4336
  patternProperties: {
4337
4337
  "^x-": {
4338
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4338
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4339
4339
  }
4340
4340
  }
4341
4341
  },
@@ -4350,10 +4350,10 @@ var soustack_schema_default = {
4350
4350
  items: {
4351
4351
  anyOf: [
4352
4352
  {
4353
- $ref: "https://soustack.spec/stacks/quantified.schema.json#/$defs/ingredient"
4353
+ $ref: "https://spec.soustack.org/stacks/quantified.schema.json#/$defs/ingredient"
4354
4354
  },
4355
4355
  {
4356
- $ref: "https://soustack.spec/stacks/quantified.schema.json#/$defs/ingredientSection"
4356
+ $ref: "https://spec.soustack.org/stacks/quantified.schema.json#/$defs/ingredientSection"
4357
4357
  }
4358
4358
  ]
4359
4359
  }
@@ -4370,14 +4370,14 @@ var soustack_schema_default = {
4370
4370
  additionalProperties: false,
4371
4371
  patternProperties: {
4372
4372
  "^x-": {
4373
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4373
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4374
4374
  }
4375
4375
  }
4376
4376
  },
4377
4377
  "referenced@1_ingredient": {
4378
4378
  allOf: [
4379
4379
  {
4380
- $ref: "https://soustack.spec/defs/entities.schema.json#/$defs/IngredientBase"
4380
+ $ref: "https://spec.soustack.org/defs/entities.schema.json#/$defs/IngredientBase"
4381
4381
  },
4382
4382
  {
4383
4383
  required: [
@@ -4397,10 +4397,10 @@ var soustack_schema_default = {
4397
4397
  items: {
4398
4398
  anyOf: [
4399
4399
  {
4400
- $ref: "https://soustack.spec/stacks/referenced.schema.json#/$defs/ingredient"
4400
+ $ref: "https://spec.soustack.org/stacks/referenced.schema.json#/$defs/ingredient"
4401
4401
  },
4402
4402
  {
4403
- $ref: "https://soustack.spec/stacks/referenced.schema.json#/$defs/ingredientSection"
4403
+ $ref: "https://spec.soustack.org/stacks/referenced.schema.json#/$defs/ingredientSection"
4404
4404
  }
4405
4405
  ]
4406
4406
  }
@@ -4417,21 +4417,21 @@ var soustack_schema_default = {
4417
4417
  additionalProperties: false,
4418
4418
  patternProperties: {
4419
4419
  "^x-": {
4420
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4420
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4421
4421
  }
4422
4422
  }
4423
4423
  },
4424
4424
  "referenced@1_referencedStep": {
4425
4425
  allOf: [
4426
4426
  {
4427
- $ref: "https://soustack.spec/defs/entities.schema.json#/$defs/StepBase"
4427
+ $ref: "https://spec.soustack.org/defs/entities.schema.json#/$defs/StepBase"
4428
4428
  },
4429
4429
  {
4430
4430
  properties: {
4431
4431
  inputs: {
4432
4432
  allOf: [
4433
4433
  {
4434
- $ref: "https://soustack.spec/defs/entities.schema.json#/$defs/StepBase/properties/inputs"
4434
+ $ref: "https://spec.soustack.org/defs/entities.schema.json#/$defs/StepBase/properties/inputs"
4435
4435
  },
4436
4436
  {
4437
4437
  minItems: 1
@@ -4457,10 +4457,10 @@ var soustack_schema_default = {
4457
4457
  items: {
4458
4458
  anyOf: [
4459
4459
  {
4460
- $ref: "https://soustack.spec/stacks/referenced.schema.json#/$defs/referencedStep"
4460
+ $ref: "https://spec.soustack.org/stacks/referenced.schema.json#/$defs/referencedStep"
4461
4461
  },
4462
4462
  {
4463
- $ref: "https://soustack.spec/stacks/referenced.schema.json#/$defs/referencedSection"
4463
+ $ref: "https://spec.soustack.org/stacks/referenced.schema.json#/$defs/referencedSection"
4464
4464
  }
4465
4465
  ]
4466
4466
  }
@@ -4477,7 +4477,7 @@ var soustack_schema_default = {
4477
4477
  additionalProperties: false,
4478
4478
  patternProperties: {
4479
4479
  "^x-": {
4480
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4480
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4481
4481
  }
4482
4482
  }
4483
4483
  },
@@ -4491,10 +4491,10 @@ var soustack_schema_default = {
4491
4491
  type: "string"
4492
4492
  },
4493
4493
  quantity: {
4494
- $ref: "https://soustack.spec/defs/quantity.schema.json"
4494
+ $ref: "https://spec.soustack.org/defs/quantity.schema.json"
4495
4495
  },
4496
4496
  temperature: {
4497
- $ref: "https://soustack.spec/defs/temperature.schema.json"
4497
+ $ref: "https://spec.soustack.org/defs/temperature.schema.json"
4498
4498
  },
4499
4499
  notes: {
4500
4500
  type: "string"
@@ -4515,7 +4515,7 @@ var soustack_schema_default = {
4515
4515
  minLength: 1
4516
4516
  },
4517
4517
  {
4518
- $ref: "https://soustack.spec/stacks/prep.schema.json#/$defs/prepItem"
4518
+ $ref: "https://spec.soustack.org/stacks/prep.schema.json#/$defs/prepItem"
4519
4519
  }
4520
4520
  ]
4521
4521
  }
@@ -4527,7 +4527,7 @@ var soustack_schema_default = {
4527
4527
  additionalProperties: true
4528
4528
  },
4529
4529
  scaling: {
4530
- $ref: "https://soustack.spec/defs/scalingRule.schema.json"
4530
+ $ref: "https://spec.soustack.org/defs/scalingRule.schema.json"
4531
4531
  }
4532
4532
  },
4533
4533
  required: [
@@ -4538,7 +4538,7 @@ var soustack_schema_default = {
4538
4538
  additionalProperties: false,
4539
4539
  patternProperties: {
4540
4540
  "^x-": {
4541
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4541
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4542
4542
  }
4543
4543
  }
4544
4544
  },
@@ -4553,10 +4553,10 @@ var soustack_schema_default = {
4553
4553
  items: {
4554
4554
  anyOf: [
4555
4555
  {
4556
- $ref: "https://soustack.spec/stacks/scaling.schema.json#/$defs/ingredient"
4556
+ $ref: "https://spec.soustack.org/stacks/scaling.schema.json#/$defs/ingredient"
4557
4557
  },
4558
4558
  {
4559
- $ref: "https://soustack.spec/stacks/scaling.schema.json#/$defs/ingredientSection"
4559
+ $ref: "https://spec.soustack.org/stacks/scaling.schema.json#/$defs/ingredientSection"
4560
4560
  }
4561
4561
  ]
4562
4562
  }
@@ -4573,7 +4573,7 @@ var soustack_schema_default = {
4573
4573
  additionalProperties: false,
4574
4574
  patternProperties: {
4575
4575
  "^x-": {
4576
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4576
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4577
4577
  }
4578
4578
  }
4579
4579
  },
@@ -4581,7 +4581,7 @@ var soustack_schema_default = {
4581
4581
  type: "object",
4582
4582
  properties: {
4583
4583
  duration: {
4584
- $ref: "https://soustack.spec/defs/duration.schema.json#/properties/StorageDuration"
4584
+ $ref: "https://spec.soustack.org/defs/duration.schema.json#/properties/StorageDuration"
4585
4585
  },
4586
4586
  notes: {
4587
4587
  type: "string"
@@ -4597,14 +4597,14 @@ var soustack_schema_default = {
4597
4597
  additionalProperties: false,
4598
4598
  patternProperties: {
4599
4599
  "^x-": {
4600
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4600
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4601
4601
  }
4602
4602
  }
4603
4603
  },
4604
4604
  "structured@1_step": {
4605
4605
  allOf: [
4606
4606
  {
4607
- $ref: "https://soustack.spec/defs/entities.schema.json#/$defs/StepBase"
4607
+ $ref: "https://spec.soustack.org/defs/entities.schema.json#/$defs/StepBase"
4608
4608
  },
4609
4609
  {
4610
4610
  required: [
@@ -4624,10 +4624,10 @@ var soustack_schema_default = {
4624
4624
  items: {
4625
4625
  anyOf: [
4626
4626
  {
4627
- $ref: "https://soustack.spec/stacks/structured.schema.json#/$defs/step"
4627
+ $ref: "https://spec.soustack.org/stacks/structured.schema.json#/$defs/step"
4628
4628
  },
4629
4629
  {
4630
- $ref: "https://soustack.spec/stacks/structured.schema.json#/$defs/stepSection"
4630
+ $ref: "https://spec.soustack.org/stacks/structured.schema.json#/$defs/stepSection"
4631
4631
  }
4632
4632
  ]
4633
4633
  }
@@ -4644,21 +4644,21 @@ var soustack_schema_default = {
4644
4644
  additionalProperties: false,
4645
4645
  patternProperties: {
4646
4646
  "^x-": {
4647
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4647
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4648
4648
  }
4649
4649
  }
4650
4650
  },
4651
4651
  "timed@1_timedStep": {
4652
4652
  allOf: [
4653
4653
  {
4654
- $ref: "https://soustack.spec/defs/entities.schema.json#/$defs/StepBase"
4654
+ $ref: "https://spec.soustack.org/defs/entities.schema.json#/$defs/StepBase"
4655
4655
  },
4656
4656
  {
4657
4657
  properties: {
4658
4658
  timing: {
4659
4659
  allOf: [
4660
4660
  {
4661
- $ref: "https://soustack.spec/defs/entities.schema.json#/$defs/StepBase/properties/timing"
4661
+ $ref: "https://spec.soustack.org/defs/entities.schema.json#/$defs/StepBase/properties/timing"
4662
4662
  },
4663
4663
  {
4664
4664
  required: [
@@ -4698,10 +4698,10 @@ var soustack_schema_default = {
4698
4698
  items: {
4699
4699
  anyOf: [
4700
4700
  {
4701
- $ref: "https://soustack.spec/stacks/timed.schema.json#/$defs/timedStep"
4701
+ $ref: "https://spec.soustack.org/stacks/timed.schema.json#/$defs/timedStep"
4702
4702
  },
4703
4703
  {
4704
- $ref: "https://soustack.spec/stacks/timed.schema.json#/$defs/timedStepSection"
4704
+ $ref: "https://spec.soustack.org/stacks/timed.schema.json#/$defs/timedStepSection"
4705
4705
  }
4706
4706
  ]
4707
4707
  }
@@ -4718,7 +4718,7 @@ var soustack_schema_default = {
4718
4718
  additionalProperties: false,
4719
4719
  patternProperties: {
4720
4720
  "^x-": {
4721
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4721
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4722
4722
  }
4723
4723
  }
4724
4724
  },
@@ -4815,7 +4815,7 @@ var soustack_schema_default = {
4815
4815
  additionalProperties: false,
4816
4816
  patternProperties: {
4817
4817
  "^x-": {
4818
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4818
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4819
4819
  }
4820
4820
  }
4821
4821
  },
@@ -4854,7 +4854,7 @@ var soustack_schema_default = {
4854
4854
  additionalProperties: false,
4855
4855
  patternProperties: {
4856
4856
  "^x-": {
4857
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4857
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4858
4858
  }
4859
4859
  }
4860
4860
  },
@@ -4876,20 +4876,20 @@ var soustack_schema_default = {
4876
4876
  {
4877
4877
  type: "array",
4878
4878
  items: {
4879
- $ref: "https://soustack.spec/stacks/storage.schema.json#/$defs/reheatInstruction"
4879
+ $ref: "https://spec.soustack.org/stacks/storage.schema.json#/$defs/reheatInstruction"
4880
4880
  },
4881
4881
  minItems: 1
4882
4882
  }
4883
4883
  ]
4884
4884
  },
4885
4885
  portioning: {
4886
- $ref: "https://soustack.spec/stacks/storage.schema.json#/$defs/portioning"
4886
+ $ref: "https://spec.soustack.org/stacks/storage.schema.json#/$defs/portioning"
4887
4887
  }
4888
4888
  },
4889
4889
  additionalProperties: false,
4890
4890
  patternProperties: {
4891
4891
  "^x-": {
4892
- $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue"
4892
+ $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue"
4893
4893
  }
4894
4894
  }
4895
4895
  }
@@ -5234,22 +5234,22 @@ function loadAllSchemas(ajv) {
5234
5234
  required: ["amount", "unit"],
5235
5235
  additionalProperties: false,
5236
5236
  patternProperties: {
5237
- "^x-": { $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue" }
5237
+ "^x-": { $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue" }
5238
5238
  }
5239
5239
  },
5240
5240
  time: {
5241
5241
  type: "object",
5242
5242
  properties: {
5243
- total: { $ref: "https://soustack.spec/defs/duration.schema.json#/properties/DurationMinutes" },
5243
+ total: { $ref: "https://spec.soustack.org/defs/duration.schema.json#/properties/DurationMinutes" },
5244
5244
  metadata: { type: "object", additionalProperties: true }
5245
5245
  },
5246
5246
  required: ["total"],
5247
5247
  additionalProperties: false,
5248
5248
  patternProperties: {
5249
- "^x-": { $ref: "https://soustack.spec/defs/common.schema.json#/properties/extensionLaneValue" }
5249
+ "^x-": { $ref: "https://spec.soustack.org/defs/common.schema.json#/properties/extensionLaneValue" }
5250
5250
  }
5251
5251
  },
5252
- quantity: { $ref: `https://soustack.spec/defs/quantity.schema.json` }
5252
+ quantity: { $ref: `https://spec.soustack.org/defs/quantity.schema.json` }
5253
5253
  }
5254
5254
  };
5255
5255
  ajv.addSchema(compatibilitySchema, legacyId);
@@ -5426,7 +5426,7 @@ function resolveStackSchemaRefs(schema) {
5426
5426
  const [refPath, fragment] = value.split("#");
5427
5427
  const refName = refPath?.replace(/^(\.\/|\.{2}\/stacks\/)/, "").replace(/\.schema\.json$/, "");
5428
5428
  if (refName) {
5429
- const refId = `https://soustack.spec/stacks/${refName}.schema.json${fragment ? `#${fragment}` : ""}`;
5429
+ const refId = `https://spec.soustack.org/stacks/${refName}.schema.json${fragment ? `#${fragment}` : ""}`;
5430
5430
  obj[key] = refId;
5431
5431
  }
5432
5432
  }
@@ -5525,7 +5525,7 @@ function ensureStackSchemaLoaded(ajv, stackId, major, loading) {
5525
5525
  } else if (obj && typeof obj === "object") {
5526
5526
  const refValue = obj.$ref;
5527
5527
  if (typeof refValue === "string") {
5528
- const match = refValue.match(/^https:\/\/soustack\.spec\/stacks\/([^.#/]+)\.schema\.json/);
5528
+ const match = refValue.match(/^https:\/\/(?:soustack\.spec|spec\.soustack\.org)\/stacks\/([^.#/]+)\.schema\.json/);
5529
5529
  if (match && match[1]) {
5530
5530
  referencedStacks.add(match[1]);
5531
5531
  }