CardDefinition
Shapes the entries of one or more sources into cards: picks source properties as card properties and sets the data type each exposes. Segments, relations and endpoints are built on card definitions.
CardDefinitionImplements
Fields
Progress of the indexing that makes the card definition's latest property changes live. Its status is UNKNOWN, with no steps, for a DRAFT card definition or when there's no progress to show.
True if at least one live card property has isEditable set, so enrichment can change the card definition's cards. Read-only.
Total number of cards of the card definition. Null when the count can't be read.
When the card definition was created (UTC).
Id of the user who created the card definition.
Sources the card definition's card properties read from, pending changes included.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Free-text note about the card definition.
Id of the card property (not the source property) whose value describes each card. Null when not set.
Card properties that present each card, as {key, value} items: key is the role (name, description or image), value is a card property id.
Endpoints whose content includes the card definition, as the root or through a relation, in their live or pending content.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Version tag for optimistic concurrency. Pass back the value you last read when you change the item.
Global id of the card definition: base64 of CardDefinition:<raw id>. cardDefinitionById and the card definition id arguments of the update, activate, delete and restore mutations take it. The raw id (e.g. products) is what createCardDefinition, CardDefinitionProperty.cardDefinitionId, the lifecycle queries and cardEntries(definitionId:) use.
Id of the card property (not the source property) whose value is each card's image. Null when not set.
True if the card definition is archived. Archived card definitions are still returned unless you filter on isDeleted. restoreCardDefinition restores it.
When the card definition last changed (UTC).
Id of the user who last changed the card definition.
Name of the card definition, shown in Studio.
Id of the card property (not the source property) whose value names each card. Null when not set.
Card properties in every state, by order: the live ones (ACTIVE), the ones being indexed (UPDATING) and saved changes not applied yet (PENDING). Filter propertySetType: { eq: ACTIVE } for what the card exposes now. Paged: select the items under nodes.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
The number of properties on the card definition, including pending additions.
Groups that arrange the card definition's card properties in Studio. A card property can be in one group only.
Relation definitions that have the card definition as their source or target.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Segment definitions built on the card definition.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Segments built on the card definition, archived ones included.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Relation definitions that have the card definition as their source.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
State of the card definition. See CardDefinitionStatus.
Labels for grouping and filtering card definitions.
Relation definitions that have the card definition as their target.
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Id of the tenant that owns the item.
Was this page helpful?