Skip to content

JSON framing : support for multiple @id #424

Closed
@abrisse

Description

@abrisse

JSON-LD framing should support multiple @id in order to "hook" multiple IRIs that have nothing in common in kind of relations (@type or whatsoever).

A solution would be to be able to accept arrays for @id.

  "@context": {
    "dc": "http://purl.org/dc/elements/1.1/",
    "ex": "http://example.org/vocab#"
  },
  "@id": [
    "http://example.org/library",
    "http://example.org/kitchen"
  ]
}

Currently an error is returned :

Invalid JSON-LD syntax; @id value must be a string or an object.

Note: @type should accept multiple values too

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions