Closed danielweck closed 5 years ago
Similar issue: https://github.com/opds-community/drafts/issues/20
I don't think that's a good idea for a feed's metadata since they're quite different potentially from a publication's metadata.
Purely from a JSON Schema perspective, how would "extending" work anyway?
If the
title
/subtitle
situation is harmonized ( see https://github.com/opds-community/drafts/issues/24 ) would it be possible to use a JSON Schema "extension" mechanism so that OPDS metadat can inherit the dictionary fields already defined in the ReadiumWebPubManifest JSON Schema? The OPDS schema would then only need to specifyitemsPerPage
currentPage
andnumberOfItems
, thereby avoiding redundant / duplicate definitions.This:
https://github.com/opds-community/drafts/blob/4d82fb9a64f35a174a5f205c23ba623ec010d5ec/schema/feed-metadata.schema.json#L36-L47
...would extend that:
https://github.com/readium/webpub-manifest/blob/0976680e25852b8a4c4802a052ba750ab3e89284/schema/metadata.schema.json