$schema: "http://json-schema.org/draft-06/schema#"

title: privilegedaccessmanager v1 Step export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- approvalsNeeded
additionalProperties: false
properties:
  COMMENT:
    type: object
    description: User specified info ignored by gcloud import.
    additionalProperties: false
    properties:
      template-id:
        type: string
      region:
        type: string
      description:
        type: string
      date:
        type: string
      version:
        type: string
  UNKNOWN:
    type: array
    description: Unknown API fields that cannot be imported.
    items:
      type: string
  approvalsNeeded:
    description: |-
      How many users from the above list need to approve. If there aren't enough
      distinct users in the list, then the workflow indefinitely blocks. Should
      always be greater than 0. 1 is the only supported value.
    type: integer
  approverEmailRecipients:
    description: |-
      Additional email addresses to be notified when a grant is pending
      approval.
    type: array
    items:
      type: string
  approvers:
    description: |-
      The potential set of approvers in this step. This list must contain at
      most one entry.
    type: array
    items:
      $ref: AccessControlEntry.yaml
