readium / webpub-manifest

📜 A JSON based Web Publication Manifest format used at the core of the Readium project
BSD 3-Clause "New" or "Revised" License
91 stars 23 forks source link

JSON Schema - metadata.subject? #13

Closed danielweck closed 5 years ago

danielweck commented 5 years ago

metadata.subject[].(name|code|scheme|sortAs)

Currently parsed from EPUB (OPF XML):

metadata.subject.name = OPF /package/metadata/subject/text() metadata.subject.code = OPF /package/metadata/subject/@term metadata.subject.scheme = OPF /package/metadata/subject/@authority

danielweck commented 5 years ago

Seems to be missing from https://github.com/readium/webpub-manifest/blob/master/schema/metadata.schema.json

danielweck commented 5 years ago

Related issue: https://github.com/readium/webpub-manifest/issues/8

danielweck commented 5 years ago

Fixed:

https://github.com/readium/webpub-manifest/blob/34c3fac8d8fd993b84dea33826ed6bfee3bd63de/schema/metadata.schema.json#L121

https://github.com/readium/webpub-manifest/blob/34c3fac8d8fd993b84dea33826ed6bfee3bd63de/schema/subject.schema.json#L1

https://github.com/readium/webpub-manifest/blob/34c3fac8d8fd993b84dea33826ed6bfee3bd63de/schema/subject-object.schema.json#L1