Skip to content

Split out shared schema definitions to a shared file #51

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

Closed
hornc opened this issue Oct 29, 2017 · 0 comments
Closed

Split out shared schema definitions to a shared file #51

hornc opened this issue Oct 29, 2017 · 0 comments

Comments

@hornc
Copy link
Collaborator

hornc commented Oct 29, 2017

Works and Editions have some properties in common, e.g. datetimes, links, authors. These should be moved to a single location. olclient/schemata/shared_definitions.schema.json

Relative $refs can be used, but the python jsonschema will need to have the resolver configured to know where to look for the relative paths, see python-jsonschema/jsonschema#98 (comment)

@hornc hornc changed the title Split out shared schema definitions a shared file Split out shared schema definitions to a shared file Oct 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant