screwdriver-data-schema 23.2.1 → 23.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/config/base.js CHANGED
@@ -80,7 +80,7 @@ const SCHEMA_CONFIG_PRE_TEMPLATE_MERGE = Joi.object()
80
80
  }),
81
81
  cache: SCHEMA_CACHE,
82
82
  childPipelines: SCHEMA_CHILD_PIPELINES,
83
- stages: SCHEMA_STAGES.when('template', { is: Joi.exist(), then: Joi.forbidden() }),
83
+ stages: SCHEMA_STAGES,
84
84
  subscribe: SCHEMA_SUBSCRIBE,
85
85
  parameters: Parameters.parameters.default({})
86
86
  })
@@ -14,7 +14,8 @@ const SCHEMA_CONFIG = Joi.object()
14
14
  parameters: Parameters.parameters.default({}),
15
15
  annotations: Annotations.annotations,
16
16
  cache: BaseSchema.cache,
17
- subscribe: BaseSchema.subscribe
17
+ subscribe: BaseSchema.subscribe,
18
+ stages: BaseSchema.stages
18
19
  })
19
20
  .unknown(false);
20
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "23.2.1",
3
+ "version": "23.2.3",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {