{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesforce-experience-cloud/json-schema/salesforce-experience-cloud-graph-qlrequest-schema.json",
  "title": "GraphQLRequest",
  "description": "A GraphQL request containing the query and optional parameters",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesforce-experience-cloud-graph-ql-api-openapi.yml#/components/schemas/GraphQLRequest",
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "The GraphQL query or mutation string. Queries operate within the UIAPI namespace, accessing records via uiapi.query.{ObjectName}."
    },
    "variables": {
      "type": "object",
      "description": "Variables for parameterized queries. Keys correspond to variable names defined in the query.",
      "additionalProperties": true
    },
    "operationName": {
      "type": "string",
      "description": "Name of the operation to execute when the query document contains multiple operations."
    }
  }
}