> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateCardDefinitionInput

> Sets up a new card definition.



**Kind**: `input`

## Fields

**`description`**: `String!` (required)

Free-text note about the card definition.

---

**`displayOptions`**: `[KeyValuePairOfStringAndStringInput!]!` (required)

Card properties that present each card, as `{key, value}` items: `key` is `name`, `description` or `image`, `value` is the id of a card property in `modifications`.

---

**`id`**: `String!` (required)

Raw id of the new card definition: a lowercase letter, then letters and digits (e.g. `products`). It can't change later. The other card definition mutations take the global `CardDefinition.id`.

---

**`modifications`**: `[CardPropertyDefinitionModificationDtoInput!]!` (required)

Card properties to add, each with action `ADD`. They're saved as pending changes.

---

**`name`**: `String!` (required)

Name of the card definition, shown in Studio.

---

**`propertyGroups`**: `[PropertyGroupInput!]`

Groups of the card properties in `modifications`. A card property can be in one group only.

---

**`tags`**: `[String!]!` (required)

Labels for grouping and filtering card definitions.



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.