← All types
Apps & SurfacesIn Input object

UpsertDataSchemaInput

Input for creating or updating a data schema

Fields

ID for update; omit for create

name

String!Required

SQL-safe table name (lowercase, alphanumeric + underscores)

label

String!Required

Display name for the table

JSON Schema definition (optional)

Description of the table

icon

StringOptional

Lucide icon name (optional)

Referenced by (1)
Exact type SDL
"""Input for creating or updating a data schema"""
input UpsertDataSchemaInput {
  """ID for update; omit for create"""
  id: DataSchemaID
  """SQL-safe table name (lowercase, alphanumeric + underscores)"""
  name: String!
  """Display name for the table"""
  label: String!
  """JSON Schema definition (optional)"""
  jsonSchema: String
  """Description of the table"""
  description: String
  """Lucide icon name (optional)"""
  icon: String
}