---
title: SearchQuerySchemaFieldComposite type | Wartiva GraphQL API
description: A composite can either be a: struct union or enum. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/search-query-schema-field-composite.html
updated: 2026-10-07
---

Graph search · GraphQL type

# `SearchQuerySchemaFieldComposite` type

A composite can either be a: struct union or enum.

## Fields

| Field Name | Description |
|---|---|
| `name` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The name of the field. |
| `description` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Description for display to end users. |
| `fieldType` - [`SearchQuerySchemaFieldType!`](https://wartiva.com/api-docs/types/search-query-schema-field-type.html) | The type of scalar field. |
| `typeName` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The type to reference in the schema representing this composite. |
| `isMultiKey` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the field holds multiple values (e.g. an array or slice). When true, search predicates match if any element of the collection matches. |
| `canSort` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the field may be used as a sort key in a search query. |
| `canColumn` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the field may be used as a column in search results. |
| `compositeKey` - [`SearchQuerySchemaKey`](https://wartiva.com/api-docs/types/search-query-schema-key.html) | The [SearchQuerySchemaKey](https://wartiva.com/api-docs/types/search-query-schema-key.html) referenced by [typeName](https://wartiva.com/api-docs/types/search-query-schema-field-composite.html), inlined so clients can resolve the composite's struct, union, or enum definition without a second lookup against the top-level schema. Null when the referenced key is not available in the schema. |

## 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
{
  "name": "abc123",
  "description": "abc123",
  "fieldType": "TEXT",
  "typeName": "xyz789",
  "isMultiKey": false,
  "canSort": true,
  "canColumn": true,
  "compositeKey": SearchQuerySchemaKey
}

```

---

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