Skip to content

MagicQuerySchema ​

Type: Object

Input (JSON Schema) and output (introspection) contract for a Magic Query noun.

Fields ​

NameTypeArgsDescriptionDeprecated
inputSchemaJSON!JSON Schema for the accepted options (limit/after/filters, or id).
kindMagicQueryKind!SINGLE or COLLECTION.
nounString!The noun this describes, e.g. 'jobs'.
outputSchemaIntrospectionResultJSON!GraphQL introspection for the return type.
returnTypeString!The GraphQL type name the query returns, e.g. 'JobState'.

Connect machines, automate workflows, and build custom apps for print production.