openwisp / openwisp/netjsonconfig

Move to draft07 of JSON schema

Open
#163 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
388
Forks
87
Avg merge
1h 26m
Merged PRs (30d)
4

Description

netjsonconfig currently validates against draft 04 of the JSON schema standard. It would be beneficial to adopt the latest draft, 07. One benefit would be the availability of a number of useful format recipes which can replace the use of bespoke pattern regexes.

https://json-schema.org/understanding-json-schema/reference/string.html

Contributor guide

Open the contributing guide

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

Review the current draft 04 validation and the JSON Schema string-format reference linked in the issue. Identify the validation entry points and bespoke pattern regexes, then confirm that the library uses draft 07 and that applicable patterns are replaced by supported format recipes.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, python
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.