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

No context document for OPDS 2.0 #23

Open
danielweck opened this issue Dec 28, 2018 · 1 comment
Open

No context document for OPDS 2.0 #23

danielweck opened this issue Dec 28, 2018 · 1 comment
Labels

Comments

@danielweck
Copy link
Member

@context seems to be missing in the feed schema:
https://github.com/opds-community/drafts/blob/2d027051a725ae62defdc7829b597564e5b8e9e5/schema/feed.schema.json

Example of @context definition from ReadiumWebPubManifest:
https://github.com/readium/webpub-manifest/blob/0ac78ab5c270a608c39b4b04fc90bd9b1d281896/schema/publication.schema.json#L6

    "@context": {
      "type": ["string", "array"],
      "items": {
        "type": "string"
      },
      "uniqueItems": true
},
@HadrienGardeur
Copy link
Member

This is currently missing from the specification as well.

We need to figure out how various collection roles could be mapped first:

  • navigation
  • publications
  • groups
  • facets
  • images

The rest is very straightforward and could reference the RWPM manifest.

@HadrienGardeur HadrienGardeur changed the title JSON Schema - missing feed @context? No context document for OPDS 2.0 Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants