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

title: datastream v1 BackfillJob export schema
description: A gcloud export/import command YAML validation schema.
type: object
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
  state:
    description: Backfill job state.
    type: string
    enum:
    - ACTIVE
    - COMPLETED
    - FAILED
    - NOT_STARTED
    - PENDING
    - STATE_UNSPECIFIED
    - STOPPED
    - UNSUPPORTED
  trigger:
    description: Backfill job's triggering reason.
    type: string
    enum:
    - AUTOMATIC
    - MANUAL
    - TRIGGER_UNSPECIFIED
