BlueBrain / BlueBrain/nexus

Introduce a schema mapping configuration

Open
#4,703 0 comments 0 reactions 0 assignees View on GitHub
delta feature
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

**Motivation**
To validate resources, clients need today to also provide the schema which is error prone and forces them to keep track of the schema (included the version/tag) to use.

Defining a schema mapping by type in Delta would make it easier:
* The user would only provide the resource type
* Delta would deduce the schema to use from its type

This first ticket deals with introducing a new global entity responsible for this mapping between a concrete type and its associated schema.

**Acceptance criteria**
1. An endpoint is introduced to update all the entries of this new configuration
2. An endpoint is provided to fetch this mapping (latest and specific revision)

**Not in scope**
1. Implementation in resources

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.