Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validator does not test for @context in v3 manifests #143

Open
benwbrum opened this issue Aug 10, 2022 · 0 comments
Open

Validator does not test for @context in v3 manifests #143

benwbrum opened this issue Aug 10, 2022 · 0 comments

Comments

@benwbrum
Copy link

benwbrum commented Aug 10, 2022

The validator does not show an error for a v3 collection manifest missing a @context element. By contrast, the spec states that, The top level resource in the response must have the @context property

I just tested this manifest without error: https://lbiiif.riksarkivet.se/collection/arkiv/lZkyF37hGIL2wcbGB1Vju6

Current manifest contents (in case the manifest is fixed before this issue is addressed):

{
  "id": "https://lbiiif.riksarkivet.se/collection/arkiv/lZkyF37hGIL2wcbGB1Vju6",
  "type": "Collection",
  "label": {"sv":["D VII Utvandrarrulla"]},
  "summary": {
    "sv": [
      "Referenskod: SE/SSA/0021/01/D VII",
      "Arkivinstitution: ",
      "Datering: "
    ]
  },
  "items": [
    {
      "id": "https://lbiiif.riksarkivet.se/arkis!A0069178/manifest",
      "type": "Manifest",
      "label": {"sv":["1 (1869-1886) - A0069178"]}
    },
    {
      "id": "https://lbiiif.riksarkivet.se/arkis!A0069179/manifest",
      "type": "Manifest",
      "label": {"sv":["2 (1886-1888) - A0069179"]}
    },
    {
      "id": "https://lbiiif.riksarkivet.se/arkis!A0069180/manifest",
      "type": "Manifest",
      "label": {"sv":["3 (1888-1904) - A0069180 - Bunt."]}
    }
  ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant