package org.raddatz.familienarchiv.tag;

import java.util.UUID;

/**
 * The root-ancestor view of a tag: its id, display name, and color token.
 * Colors are stored only on root tags, so {@code color} is the authoritative token
 * (one of {@link TagService#ALLOWED_TAG_COLORS}) or {@code null} when the root has none.
 * Returned by {@link TagService#resolveRootTags} for read surfaces (the timeline chip,
 * later the Thema buckets) that need a tag's theme without the entity graph.
 */
public record RootTag(UUID id, String name, String color) {
}
