[community-group] Merged Pull Request: Add format schema

drwpow has just merged dgtlntv's pull request 360 for https://github.com/design-tokens/community-group:

== Add format schema ==
As discussed in #356 I am creating a PR to contribute the format JSON schema [that I created](https://github.com/dgtlntv/dtcg-json-schema). 

Open questions:
- This schema allows $schema at the root of a design token file while the current technical reports does not allow for it. Should this be kept or removed?
- This schema assumes that the root of a design token file is a group as discussed in #249. Is that assumption correct?
- This schema expects 3 components for all color values, though the specification states "the number of components depends on the color space." Should it be made more accurate to the spec or kept like this for now?
- This schema is currently written for the `draft-07` JSON schema version. Is that the version that should be targeted?
- Should the tests I have written for the schema also be included in the PR or just the schema?
- Does this schema work with the arbitrarily-nested DTCG files issue mentioned in #356?

## How to Review
- Test this schema with correct and incorrect design token files and check wether it accurately validates the Design token files.

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


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

Received on Saturday, 13 December 2025 23:08:08 UTC