screwdriver-data-schema 23.0.1 → 23.0.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 (2) hide show
  1. package/api/validator.js +3 -1
  2. package/package.json +1 -1
package/api/validator.js CHANGED
@@ -7,6 +7,7 @@ const Job = require('../config/job');
7
7
  const Parameters = require('../config/parameters');
8
8
  const Regex = require('../config/regex');
9
9
  const WorkflowGraph = require('../config/workflowGraph');
10
+ const Pipeline = require('../models/pipeline');
10
11
 
11
12
  const SCHEMA_JOB_COMMAND = Joi.object()
12
13
  .keys({
@@ -65,7 +66,8 @@ const SCHEMA_OUTPUT = Joi.object()
65
66
  parameters: Parameters.parameters.default({}),
66
67
  warnMessages: Joi.array().optional(),
67
68
  stages: Base.stages.optional(),
68
- subscribe: Base.subscribe
69
+ subscribe: Base.subscribe,
70
+ templateVersionId: Pipeline.fields.templateVersionId
69
71
  })
70
72
  .label('Execution information');
71
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "23.0.1",
3
+ "version": "23.0.2",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {