{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-neptune/refs/heads/main/json-structure/gremlin-gremlin-query-request-structure.json",
  "name": "GremlinQueryRequest",
  "description": "GremlinQueryRequest schema from Neptune",
  "type": "object",
  "properties": {
    "gremlin": {
      "type": "string",
      "description": "The Gremlin traversal query string. Must be a valid Gremlin traversal starting with g. The bindings property is not supported by Neptune.",
      "examples": [
        "g.V().count()",
        "g.V().has('name','John').out('knows')"
      ]
    }
  },
  "required": [
    "gremlin"
  ]
}