ProductionQu Query

getOperationParameterSchema

Topics: Jobs

Returns the JSON Schema (draft-07) for the parameters field of the given operation kind, or null if no schema is defined for that kind. Use this to drive dynamic form generation on the client. Requires operation:read permission.

Returns

JSON

Arguments

kind

String!Required

The operation kind to retrieve the parameter schema for

Exact field SDL
"""
Returns the JSON Schema (draft-07) for the parameters field of the given operation kind, or null if no schema is defined for that kind. Use this to drive dynamic form generation on the client. Requires operation:read permission.
"""
getOperationParameterSchema(
  """The operation kind to retrieve the parameter schema for"""
  kind: String!
): JSON @topic(names: ["jobs"])

Declared on Query. Access is checked by the platform for each operation.