ResearchObject / ro-crate

Research Object Crate
https://w3id.org/ro/crate/
Apache License 2.0
88 stars 36 forks source link

BUG: Use of term "@label" in JSON-LD context #370

Open jsimonclark opened 3 weeks ago

jsimonclark commented 3 weeks ago

Describe the bug The use of @label in JSON-LD contexts causes validation errors, as terms beginning with @ are reserved in JSON-LD for system keywords only (e.g., @context, @type, @id). This means @label is not recognized as a valid term and is dropped by JSON-LD parsers in safe mode, resulting in warnings like "Terms beginning with @ are reserved for future use and dropped."

URL https://www.researchobject.org/ro-crate/specification/1.1/context.jsonld

Suggested fix Rename @label to label (without the @ prefix) in the JSON-LD context.

Additional context

elichad commented 1 week ago

Discussed at the RO-Crate community call 2024-11-14: