Skip to content

JSON Schema files are pointing to the wrong place #681

Description

@RoryMMMM

I'm trying to create a python data model using the JSON schema docs provided in this git repo but I'm getting 404 errors because some of the published schema files are pointing to ver 1.5.1 paths that no longer exist:

{

      "type": "object",
      "$schema": ["http://json-schema.org/draft-04/schema#"](http://json-schema.org/draft-04/schema#),
      "id": ["https://signalk.org/specification/1.5.1/schemas/signalk.json#"](https://signalk.org/specification/1.5.1/schemas/signalk.json#),
      "title": "SignalK",
      "description": "Root schema of Signal K. Contains the list of vessels plus a reference to the local boat (also contained in the vessels list).",
  ...

https://signalk.org/specification/1.5.1/schemas/signalk.json doesn't go anywhere. Version 1.8.2 does though!

So the issue seems to be some combination of:

  • Old schema versions are no longer available through github pages (I would expect any valid version number to work, there is an edge case of someone wanting to use an outdated spec to test something...)
  • URL's in the specifications are not being updated on versions pushes: The file at https://signalk.org/specification/1.8.2/schemas/signalk.json tells me it is version 1.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions