opds-community / drafts

Contains all the current drafts for the OPDS specifications
36 stars 10 forks source link

No context document for OPDS 2.0 #23

Open danielweck opened 5 years ago

danielweck commented 5 years ago

@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 commented 5 years ago

This is currently missing from the specification as well.

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

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