← API reference
CANONICAL TYPE REFERENCE

UpsertComponentArtworkFileInput

Input for creating or updating a component artwork file reference

ID for update; omit for create

Parent component ID (required)

Reference to a tracked file record. Provide at least one of fileId or externalUri.

External URI for artwork not in the file store (e.g. DAM, CDN link)

Role this file plays for the component. Defaults to ARTWORK.

Human-readable description of this file's role

Number of pages contributed by this file

pageRangeString

Page range within the file to use (e.g. '1-32' or 'all')

Sort order (defaults to 0)

View exact SDL
"""Input for creating or updating a component artwork file reference"""
input UpsertComponentArtworkFileInput {
  """ID for update; omit for create"""
  id: ComponentArtworkFileID
  """Parent component ID (required)"""
  componentId: ComponentID!
  """
  Reference to a tracked file record. Provide at least one of fileId or externalUri.
  """
  fileId: FileID
  """External URI for artwork not in the file store (e.g. DAM, CDN link)"""
  externalUri: String
  """Role this file plays for the component. Defaults to ARTWORK."""
  usageRole: ComponentFileUsageRole
  """Human-readable description of this file's role"""
  description: String
  """Number of pages contributed by this file"""
  pageCount: Int
  """Page range within the file to use (e.g. '1-32' or 'all')"""
  pageRange: String
  """Sort order (defaults to 0)"""
  sortOrder: Int
}

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