Re: [community-group] Remove JSON derived types from the specification (#120)

> ### 1. Tools don't necessarily need to use every type of token value. It is acceptable for tools to just ignore types that are not relevant to them

> The value of `$type` has to be one of the types defined in the spec, so you can't do this:
> 
> ```js
> {
>   "token name": {
>     "$type": "myFancyType", // <-- not allowed!
>     "$value": ...
>   }
> }
> ```

If tools can ignore any type they wish, then why wouldn't they also ignore non-standard `"$type": "myFancyType"`?

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


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

Received on Saturday, 15 October 2022 03:59:31 UTC