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

title: datastream v1 DatasetTemplate export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- location
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
  datasetIdPrefix:
    description: |-
      If supplied, every created dataset will have its name prefixed by the
      provided value. The prefix and name will be separated by an underscore.
      i.e. _.
    type: string
  kmsKeyName:
    description: |-
      Describes the Cloud KMS encryption key that will be used to protect
      destination BigQuery table. The BigQuery Service Account associated with
      your project requires access to this encryption key. i.e.
      projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoK
      eys/{cryptoKey}. See https://cloud.google.com/bigquery/docs/customer-
      managed-encryption for more information.
    type: string
  location:
    description: |-
      The geographic location where the dataset should reside. See
      https://cloud.google.com/bigquery/docs/locations for supported locations.
    type: string
