fauna · Schema

GraphQLResponse

Properties

Name Type Description
data object The query result data matching the shape of the GraphQL query.
errors array Array of errors encountered during query execution. May be present alongside data for partial success.
View JSON Schema on GitHub

JSON Schema

fauna-graphqlresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GraphQLResponse",
  "title": "GraphQLResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "additionalProperties": true,
      "description": "The query result data matching the shape of the GraphQL query."
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/GraphQLError"
      },
      "description": "Array of errors encountered during query execution. May be present alongside data for partial success."
    }
  }
}