Skip to content

Handling JSON-LD with duplicate names #459

Open
@phochste

Description

@phochste

I was recently reading this blog post: https://alexwlchan.net/2025/duplicate-names-in-json/ which states that the JSON syntax does not require that name strings should be unique. However, these semantics may be considered in further specifications about the use of JSON in data exchanges.

In the JSON-LD specs as far as I know little is said about the handing of duplicate names:

Can the editor clarify how duplicated names should be handled?

{
  "@context": "http://schema.org/",
  "@type": "Person",
  "name": "Jane Doe",
  "jobTitle": "Professor",
  "jobTitle": "Dean",
  "url": "http://www.janedoe.com"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    EditorialUsed by the errata managementErratumRaisedUsed by the errata management

    Type

    No type

    Projects

    Status

    Errata

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions