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

title: datastream v1 ValidationMessage 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
  code:
    description: A custom code identifying this specific message.
    type: string
  level:
    description: Message severity level (warning or error).
    type: string
    enum:
    - ERROR
    - LEVEL_UNSPECIFIED
    - WARNING
  message:
    description: The result of the validation.
    type: string
  metadata:
    description: Additional metadata related to the result.
    $ref: MetadataValue.yaml
