type: object
properties:
  started:
    type: string
    description: The time that this phase started.
    format: 'date-time'
    example: '2020-07-11T00:00:00Z'
  finished:
    type: string
    description: The time that this phase finished.
    format: 'date-time'
    example: '2020-07-12T00:00:00Z'
  name:
    type: string
    description: The name of this phase.
    example: APPROVAL_PHASE
  state:
    type: string
    enum:
      - PENDING
      - EXECUTING
      - COMPLETED
      - CANCELLED
    description: The state of this phase.
    example: COMPLETED
  result:
    type: string
    enum:
      - SUCCESSFUL
      - FAILED
    description: The state of this phase.
    example: SUCCESSFUL
  phaseReference:
    type: string
    description: >-
      A reference to another object on the RequestedItemStatus that contains more details about the phase.
      Note that for the Provisioning phase, this will be empty if there are no manual work items.
    example: 'approvalDetails'
description: Provides additional details about this access request phase.