The interactive schema editor uses getScopesOfParsedJsonSchema (lib/getScopesOfParsedJsonSchema.ts) to figure out which parts of a schema should be clickable. For an array schema it always treats items as a single schema and recurses once.
When items is an array instead (tuple validation), every entry in that array is its own schema, but the function only returns one scope for the whole thing and silently skips every tuple entry. This means keyword highlighting does not work correctly on any page using tuple-style items, including the Draft 2020-12 release notes page and the JSON Schema examples page.
The interactive schema editor uses
getScopesOfParsedJsonSchema(lib/getScopesOfParsedJsonSchema.ts) to figure out which parts of a schema should be clickable. For an array schema it always treatsitemsas a single schema and recurses once.When
itemsis an array instead (tuple validation), every entry in that array is its own schema, but the function only returns one scope for the whole thing and silently skips every tuple entry. This means keyword highlighting does not work correctly on any page using tuple-styleitems, including the Draft 2020-12 release notes page and the JSON Schema examples page.