microsoft / microsoft/vscode-json-languageservice

support unevaluatedProperties

Open
#290 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
326
Forks
145
Avg merge
22h 10m
Merged PRs (30d)
9

Description

When trying validation of an instance against a schema like

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "unevaluatedProperties": false,

I don't see any warnings or errors when including additional properties on nested elements

Is it implemented and I'm doing something wrong? Sorry for the short description.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing validation for the supplied draft 2019-09 schema, including additional properties on nested elements. Trace the JSON language service's schema-validation entry point and existing keyword handling; done means nested unevaluated properties produce the expected diagnostic, or the issue is shown to be caused by the reported usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.