[json] create links for values of format `uri-reference`
See original GitHub issueWhen authoring json it’d be great to have a richer experience when referencing other files, without having the overhead of defining a file://
URI whenever this is required (see example below).
I would expect this behaviour by standard when the schema is defining the values as file-references, this is also related to my more pertinent issue in the vscode-yaml repository concerning the handling of k8s kustomize resources (vscode-yaml#559)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Linking in JSON
JSON -LD is a JSON format with a Linked Data (nee: Semantic Web) twist. ... Linking to more than one URI of a...
Read more >A Vocabulary for Hypermedia Annotation of JSON
1. anchor. This property sets the context URI of the link. The value of the property is a URI Template, and the resulting...
Read more >draft-handrews-json-schema-hyperschema-00
The link description format (Section 6) can be used without JSON Schema, ... The value of the instance property MUST be resolved as...
Read more >Linkset: Media Types and a Link Relation Type for Link Sets
One format is based on JSON, and the other is aligned with the format for ... If present, this value MUST be a...
Read more >JSON:API — Latest Specification (v1.1)
All document members, query parameters, and processing rules defined by ... If present, a related resource link MUST reference a valid URL, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
format: uri-reference
is used for validation as seen here https://github.com/microsoft/vscode-json-languageservice/blob/main/src/parser/jsonParser.ts#L661but not for link detection
Hi, sorry for the delay
If I understood you correctly, it is true that vscode currently doesn’t use the
format: uri-reference
even if it is defined in the schema of a file right?That would explain the issue in the vscode-yaml plugin aswell: https://github.com/redhat-developer/vscode-yaml/issues/559#issuecomment-909560115