{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateIndexRequest",
  "title": "CreateIndexRequest",
  "type": "object",
  "description": "Request body for creating a new index.",
  "required": [
    "name",
    "project_id"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Human-readable name for the new index."
    },
    "project_id": {
      "type": "string",
      "description": "Identifier of the project to create the index in."
    },
    "embedding_model": {
      "type": "string",
      "description": "Name of the embedding model to use for vectorization."
    },
    "sync_interval": {
      "type": "integer",
      "description": "Optional scheduled sync frequency in seconds."
    }
  }
}