Orange-OpenSource / Orange-OpenSource/its-client

JSON Schemas: lock ETSI messages with multiple additional properties flags

Open
#565 0 comments 0 reactions 3 assignees View on GitHub

Nobody has claimed this yet.

Schema
Dominant language
Java
Stars
19
Forks
12
Avg merge
6d 8h
Merged PRs (30d)
3

Description

Current ETSI messages JSON schemas only have a single top-level "additionalProperties": false flag.

This single flag only prevents additional fields being added to the top-level object, and does not apply to the child objects such as "message" and its own sub-objects in our case.

This has two main drawbacks:

  • any random extra field can be added to a child object and pass validation tools
  • any optional field with a typo will not be detected by validation tools

This can be linked to issue #546

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.