python-jsonschema / python-jsonschema/jsonschema-lexer

Not all Dialects support boolean schemas

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
1
Forks
1
Avg merge
9h 47m
Merged PRs (30d)
2

Description

JSON Schema dialects, such as drafts 3 and 4, do not support boolean schemas. When encountering a boolean value in a position where a schema is expected, we should highlight this as an error, indicating that the schema is unsupported for these dialects.

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

No file or test is named in the issue. Start by locating the lexer’s handling of boolean values in schema positions and its dialect checks, then inspect existing error tests. Done means drafts 3 and 4 report an unsupported-schema error for boolean schemas while dialects that support them continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.