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

title: gkeonprem v1 Authorization export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- adminUsers
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
  adminUsers:
    description: |-
      For Vmware User, Bare Metal User and Standalone clusters, users that will
      be granted the cluster-admin role on the cluster, providing full access to
      the cluster. For Bare Metal Admin cluster, users will be granted the view
      role, which is a view only access.
    type: array
    items:
      $ref: ClusterUser.yaml
