Skip to main content

AttributeTextValue

Text-based attribute value with multi-language support for localized content.

Stores textual attribute data with support for multiple languages and multiple values per language. Perfect for descriptions, names, specifications, or any textual content that needs internationalization support.

type AttributeTextValue implements AttributeValue {
id: String!
type: AttributeType!
textValues: [LocalizedStringArray!]!
}

Fields

AttributeTextValue.id ● String! non-null scalar

Unique identifier for this attribute value instance.

Auto-generated UUID that serves as the primary key for this specific attribute value. Used to reference and manage individual attribute value instances across the system.

AttributeTextValue.type ● AttributeType! non-null enum

Type identifier for text-based attribute values.

Always set to text for this value type. Used for type discrimination and validation in polymorphic attribute value handling.

AttributeTextValue.textValues ● [LocalizedStringArray!]! non-null object

Localized text values organized by language with support for multiple values per language.

Each entry contains a language code and an array of text values for that language. Supports rich textual content, descriptions, and any text data that requires localization.

Interfaces

AttributeValue interface

Base interface for all attribute value types with polymorphic type resolution.

Provides the foundation for typed attribute values across different data types including text, enumeration, color, decimal, datetime, and integer values. Each concrete implementation handles specific data type requirements, validation, and formatting.

The interface enables polymorphic handling of attribute values while maintaining type safety and proper validation for each specific attribute type. Used throughout the system for storing and retrieving typed attribute data.