[community-group] Is the root node of a token tree a standard group? (#249)

nclsndr has just created a new issue for https://github.com/design-tokens/community-group:

== Is the root node of a token tree a standard group? ==
I couldn't find this detail in the current spec: Do we consider the root node of a token tree a standard group?
Said differently, can I have `$description` and/or `$extensions` at the root level? 👇 

```json
{
  "$description": "Tokens from brand A",
  "color": {
    "$type": "color",
    "$value": "#ff0000"
  }
}
```

---

It seems giving the root node the group definition opens opportunity to store global metadata. But becomes harder to work with, anytime there're more than 1 tokens file to handle.

Is there a decision about this already?

Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/249 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 10 September 2024 15:21:37 UTC