Abstract:
This document proposes a lightweight data format called Linked-JSON, inspired by JSON-LD. It focuses on simplifying linking capabilities within JSON by introducing a single key to link data elements to external resources.
Syntax:
Linked-JSON extends standard JSON syntax by adding a special key named @id
to represent a Uniform Resource Identifier (URI).
Example:
{
"@id": "https://example.com/resource-1",
"name": "Alice",
"friend": {
"@id": "https://example.com/resource-2",
"name": "Bob"
}
}
Semantics:
@id
key associates a URI with the enclosing JSON object. This URI serves as a hyperlink to an external resource that provides additional information about the object.@id
key, allowing for a network of linked data within a single JSON structure.Conformance:
@id
key.@id
key to represent URIs.Relationship to JSON-LD:
@id
key for linking, omitting additional JSON-LD features like context definitions and typing.Benefits:
Limitations:
Next Steps:
Disclaimer:
This Linked-JSON Micro-Spec is a proposal and may be subject to change based on community feedback and further development efforts.