Skip to content

Automate/sync pyopds2 pydantic models (based on readium web manifest publication schema) #9

@mekarpeles

Description

@mekarpeles

https://drafts.opds.io/opds-2.0.html#appendix-a-json-schema

pyopds2 should implement a pydantic model for each of the following:
https://github.com/opds-community/drafts/tree/main/schema
https://github.com/readium/webpub-manifest/tree/master/schema

@HadrienGardeur can you help us understand the difference between these two links?

As part of this issue, we can write a script that programatically runs code gen (https://docs.pydantic.dev/latest/integrations/datamodel_code_generator) versus the opds schema files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions