Re: [community-group] $deprecated property? (#118)

To me, deprecation seems like a fairly standard part of the software lifecycle. I would suggest a `$deprecated` object rather than a string. 

With an object, `$deprecated` could then resemble other objects in the spec. 

For example
```
{
  "Button background": {
    "$type": "...",
    "$value": "...",
    "$deprecated": {
      "$description": "Very important deprecation message",
      "$extensions": {
          "com.my-co.lifecycle": "sunset",
    }
  }
}
```

The [`replacement`](https://github.com/design-tokens/community-group/issues/118#issuecomment-1155825619) mentioned by @danieldelcore could be an extension, or could be part of the deprecated object itself.

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


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

Received on Wednesday, 13 July 2022 01:04:59 UTC