shortNames missing from schema

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
json
Domain
api

Research direction

Start by reviewing the linked pull request #404 and the schema documentation to understand why shortNames were removed and how shortName, longName, and description are represented. Then determine what schema metadata and internationalization treatment are needed to support client UI use. Done means the schema provides suitable names without breaking clients that use the current schema.

Written by the indexing model from the issue text.

Description

https://github.com/SignalK/specification/pull/404 removed shortNames from the schema, many of which were internationally shared terms (AWA, AWS etc) and probably should not have been present under i18n. (arguably).

AFAICT, shortName (and longName) is part of the schema documentation, but no schema metadata has any shortName, and description which is also present is not suitable for UI use. (and needs complete i18n treatment).

This breaks clients that want to run with the current schema and requires that they either, use an old schema version, pre #404 or fetch schema asynchronously from the server or use the json files removed in #404 locally as a quick fix to avoid having to restructure their code base.

Dominant language
JavaScript
Stars
105
Forks
72
Avg merge
11h 49m
Merged PRs (30d)
5

Getting set up

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.

More from SignalK/specification

All issues in SignalK/specification

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.