Missing Schema for WordPress theme.json

Viewed 22

According to the docs, one can simple add

$schema": "https://schemas.wp.org/trunk/theme.json",

to the beginning of the JSON file to load the schema

VS code gives me the error that it's missing:

vs code error

And sure enough, going to https://schemas.wp.org/trunk/theme.json it doesn't exist:

site missing

I've seen posts such as this one about missing schema which says to go to https://schemas.wp.org/wp/5.9/theme.json but same result. Searching around it seems like their security certificate expired at some point, but surely they resolved that many months ago.

I'd like to resolve this to get the benefits of schema (autocomplete / intellisense) in the file, especially since the file is getting larger and this is a large project with multiple people working on it.

Help appreciated.

1 Answers
Related