Re: [community-group] Token name - reserved words (#61)

With the changes in PR #89 only `metadata` and `value` need to be reserved words, in the sense that tokens or groups cannot be named like that.

Since `type` (and other properties like `description`) only have special meaning for groups if they are within `metadata`, there's no need to forbid using them as group / token names.

The reason `value` needs to be a reserved word, is because it's presence is how parsers can differentiate between tokens and groups. I.e. if an object has a `value` property, it _must_ be a token, not a group.

-- 
GitHub Notification of comment by c1rrus
Please view or discuss this issue at https://github.com/design-tokens/community-group/issues/61#issuecomment-1007940379 using your GitHub account


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

Received on Saturday, 8 January 2022 10:01:54 UTC