Skip to main content

formSchema

Links a mutation to its JSON Schema and UI Schema for form generation. These schemas enable dynamic form rendering with validation in client applications.

directive @formSchema(
name: String!
schema: String!
ui_schema: String!
) on FIELD_DEFINITION

Arguments

formSchema.name ● String! non-null scalar

Schema name matching the mutation (e.g., createProject)

formSchema.schema ● String! non-null scalar

URL to the JSON Schema for validation

formSchema.ui_schema ● String! non-null scalar

URL to the UI Schema for form layout