[community-group] Pull Request: JSON schema references fix in non-composite tokens

dgtlntv has just submitted a new pull request for https://github.com/design-tokens/community-group:

== JSON schema references fix in non-composite tokens ==
## Changes

This PR fixes a bug in the JSON schema where curly brace references were allowed within sub-values of non-composite tokens (which is not allowed). See #383 for discussion. Only composite tokens explicitly allow curly brace references in sub-values according to the specification [here](https://www.designtokens.org/tr/2025.10/format/#composite-types).

## How to Review
- Review the JSON schema of the non-composite token types and make sure that within them only the `jsonPointerReferenceObject` definition is used but not the `tokenValueReference` definition (as the `tokenValueReference`  allows for both a `curlyBraceReference` as well as a `jsonPointerReferenceObject`).
- Test with a design token file which incorrectly has a curly brace reference in a sub-value of a non-composite token and check wether the schema properly flags it.

See https://github.com/design-tokens/community-group/pull/387


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

Received on Sunday, 18 January 2026 17:50:03 UTC