A type with a finite set of named values.
Fields
| Field Name | Description |
|---|---|
keyType - SearchQuerySchemaKeyType!
|
Discriminator identifying this key as an enum. Always SearchQuerySchemaKeyType.ENUM. |
name - String!
|
The type name of the enum as referenced elsewhere in the schema. |
description - String!
|
Description for display to end users. |
enumValues - [SearchQuerySchemaEnumValue!]!
|
List of possible values for this enum. |
Used by
SearchQuerySchemaFieldTypeenum: Search query key struct field type.
Example
Example
{
"keyType": "STRUCT",
"name": "abc123",
"description": "abc123",
"enumValues": [SearchQuerySchemaEnumValue]
}