Files
api-specs/idn/beta/schemas/WorkItems.yaml
2022-09-02 10:59:29 -04:00

62 lines
1.5 KiB
YAML

type: object
properties:
id:
type: string
description: ID of the work item
example: 2c9180835d2e5168015d32f890ca1581
requesterId:
type: string
description: ID of the requester
example: 2c9180835d2e5168015d32f890ca1581
requesterDisplayName:
type: string
description: The displayname of the requester
example: John Smith
ownerId:
type: string
description: The ID of the owner
example: 2c9180835d2e5168015d32f890ca1581
ownerName:
type: string
description: The name of the owner
example: Jason Smith
created:
type: string
format: 'date-time'
example: '2017-07-11T18:45:37.098Z'
modified:
type: string
format: 'date-time'
example: '2018-06-25T20:22:28.104Z'
description:
type: string
description: The description of the work item
example: Create account on source 'AD'
state:
$ref: '../../v3/schemas/WorkItemState.yaml'
type:
$ref: '../../v3/schemas/WorkItemType.yaml'
remediationItems:
$ref: './RemediationItemDetails.yaml'
approvalItems:
$ref: './ApprovalItemDetails.yaml'
name:
type: string
description: The work item name
example: Account Create
completed:
type: string
format: 'date-time'
example: '2018-10-19T13:49:37.385Z'
numItems:
type: integer
description: The number of items in the work item
example: 19
errors:
type: array
items:
type: string
example: ["The work item ID that was specified was not found."]