Skip to content

RO-Crate specification example for Places contextual entity refers to nonexistent key #527

@pmslavin

Description

@pmslavin

The examples given for the Places contextual entity in the RO-Crate 1.1 and 1.2 specifications contain a reference to a uri key as below (and here in the live version)...

"uri": "https://www.geonames.org/8152662/catalina-park.html",

...but no uri is defined in the @context section in either the 1.1 or 1.2 json-ld contexts.

The roc-validator package enforces a "MUST" check on each of the keys that appear in a tested document here and requires that these exist in the remote context, so following the examples above gives the validation error...

[Violation]: The 1 occurrence of the JSON-LD key "uri" is not allowed in the compacted format because it is not present in the @context of the document

As an example, this RO-Crate definition using the url key in Place will validate correctly, but changing the url on L61 to uri causes the above validation error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions