{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-neptune/json-schema/amazon-neptune-create-graph-input-schema.json",
  "title": "CreateGraphInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-neptune-graphs-api-openapi.yml#/components/schemas/CreateGraphInput",
  "type": "object",
  "properties": {
    "graphName": {
      "type": "string",
      "description": "A name for the new Neptune Analytics graph to be created. The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens. Only lowercase letters are allowed."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Adds metadata tags to the new graph. These tags can also be used with cost allocation reporting, or used in a Condition statement in an IAM policy."
    },
    "publicConnectivity": {
      "type": "boolean",
      "description": "Specifies whether or not the graph can be reachable over the internet. All access to graphs is IAM authenticated. (true to enable, or false to disable."
    },
    "kmsKeyIdentifier": {
      "type": "string",
      "description": "Specifies a KMS key to use to encrypt data in the new graph."
    },
    "vectorSearchConfiguration": {
      "$ref": "#/$defs/VectorSearchConfiguration"
    },
    "replicaCount": {
      "type": "integer",
      "description": "The number of replicas in other AZs. Min =0, Max = 2, Default = 1. Additional charges equivalent to the m-NCUs selected for the graph apply for each replica."
    },
    "deletionProtection": {
      "type": "boolean",
      "description": "Indicates whether or not to enable deletion protection on the graph. The graph can’t be deleted when deletion protection is enabled. (true or false)."
    },
    "provisionedMemory": {
      "type": "integer",
      "description": "The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 16"
    }
  },
  "required": [
    "graphName",
    "provisionedMemory"
  ],
  "$defs": {
    "VectorSearchConfiguration": {
      "type": "object",
      "properties": {
        "dimension": {
          "type": "integer",
          "description": "The number of dimensions."
        }
      },
      "required": [
        "dimension"
      ]
    }
  }
}