---
title: SearchQuerySchemaKeyEnum type | Wartiva GraphQL API
description: A type with a finite set of named values. Wartiva GraphQL API reference with arguments, fields, and examples. Browse related operations and types.
url: https://wartiva.com/api-docs/types/search-query-schema-key-enum.html
updated: 2026-10-07
---

Graph search · GraphQL type

# `SearchQuerySchemaKeyEnum` type

A type with a finite set of named values.

## Fields

| Field Name | Description |
|---|---|
| `keyType` - [`SearchQuerySchemaKeyType!`](https://wartiva.com/api-docs/types/search-query-schema-key-type.html) | Discriminator identifying this key as an enum. Always [SearchQuerySchemaKeyType](https://wartiva.com/api-docs/types/search-query-schema-key-type.html).ENUM. |
| `name` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The type name of the enum as referenced elsewhere in the schema. |
| `description` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Description for display to end users. |
| `enumValues` - [`[SearchQuerySchemaEnumValue!]!`](https://wartiva.com/api-docs/types/search-query-schema-enum-value.html) | List of possible values for this enum. |

## Used by

- [`SearchQuerySchemaFieldType`](https://wartiva.com/api-docs/types/search-query-schema-field-type.html) enum: Search query key struct field type.

## Example

### Example

```json
{
  "keyType": "STRUCT",
  "name": "abc123",
  "description": "abc123",
  "enumValues": [SearchQuerySchemaEnumValue]
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
