screwdriver-data-schema 25.2.0 → 25.2.1

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.
@@ -71,8 +71,8 @@ const MODEL = {
71
71
  adminUserIds: Joi.array()
72
72
  .items(Joi.number().integer().positive().description('Identifier of the user').example(12345))
73
73
  .description('IDs of the users who have admin privileges for this pipeline')
74
- .default([])
75
- .required(),
74
+ .example('[12345, 6789]')
75
+ .default([]),
76
76
 
77
77
  workflowGraph: WorkflowGraph.workflowGraph.description('Graph representation of the workflow'),
78
78
 
@@ -160,7 +160,7 @@ module.exports = {
160
160
  get: Joi.object(
161
161
  mutate(
162
162
  MODEL,
163
- ['id', 'scmUri', 'scmContext', 'createTime', 'admins', 'adminUserIds', 'state'],
163
+ ['id', 'scmUri', 'scmContext', 'createTime', 'admins', 'state'],
164
164
  [
165
165
  'workflowGraph',
166
166
  'scmRepo',
@@ -174,7 +174,8 @@ module.exports = {
174
174
  'subscribedScmUrlsWithActions',
175
175
  'settings',
176
176
  'badges',
177
- 'templateVersionId'
177
+ 'templateVersionId',
178
+ 'adminUserIds'
178
179
  ]
179
180
  )
180
181
  ).label('Get Pipeline'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "25.2.0",
3
+ "version": "25.2.1",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {