Skip to content

Cannot include spaces in JSON pointers #1025

@yahelnachum

Description

@yahelnachum

Seems that references ($ref) that contain the space character do not compile correctly. Spaces seem to work in other public online JSV validators. Should this crate support that as well or is there a reason (e.g. any of the underlying specifications go against that idea) that it does not?

JSON schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$ref": "#/ar ray",
  "ar ray": {
    "type": "array"
  }
}

Public online JSV validator: https://www.jsonschemavalidator.net/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions