{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-neptune/json-schema/amazon-neptune-list-open-cypher-queries-output-schema.json",
  "title": "ListOpenCypherQueriesOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-neptune-open-cypher-api-openapi.yml#/components/schemas/ListOpenCypherQueriesOutput",
  "type": "object",
  "properties": {
    "acceptedQueryCount": {
      "type": "integer",
      "description": "The number of queries that have been accepted but not yet completed, including queries in the queue."
    },
    "runningQueryCount": {
      "type": "integer",
      "description": "The number of currently running openCypher queries."
    },
    "queries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GremlinQueryStatus"
      },
      "description": "A list of current openCypher queries."
    }
  },
  "$defs": {
    "GremlinQueryStatus": {
      "type": "object",
      "properties": {
        "queryId": {
          "type": "string",
          "description": "The ID of the Gremlin query."
        },
        "queryString": {
          "type": "string",
          "description": "The query string of the Gremlin query."
        },
        "queryEvalStats": {
          "$ref": "#/$defs/QueryEvalStats"
        }
      }
    },
    "QueryEvalStats": {
      "type": "object",
      "properties": {
        "waited": {
          "type": "integer",
          "description": "Indicates how long the query waited, in milliseconds."
        },
        "elapsed": {
          "type": "integer",
          "description": "The number of milliseconds the query has been running so far."
        },
        "cancelled": {
          "type": "boolean",
          "description": "Set to TRUE if the query was cancelled, or FALSE otherwise."
        },
        "subqueries": {
          "type": "object",
          "description": "The number of subqueries in this query."
        }
      }
    }
  }
}