← API reference
CANONICAL TYPE REFERENCE

WorkspaceVersionPayload

Result of creating a workspace version: either the created draft or the validation errors that prevented it.

The newly created draft version; null when errors is non-empty.

Field-level validation errors (e.g. an invalid definition, an unknown workspace). Empty on success.

View exact SDL
"""
Result of creating a workspace version: either the created draft or the validation errors that prevented it.
"""
type WorkspaceVersionPayload {
  """The newly created draft version; null when `errors` is non-empty."""
  version: WorkspaceVersion
  """
  Field-level validation errors (e.g. an invalid definition, an unknown workspace). Empty on success.
  """
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.