Skip to content
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

Add support for json-schema #58

Open
vkottler opened this issue Mar 13, 2022 · 9 comments
Open

Add support for json-schema #58

vkottler opened this issue Mar 13, 2022 · 9 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@vkottler
Copy link
Owner

http://json-schema.org/

This is maybe more generic than https://docs.python-cerberus.org/en/stable/index.html ?

@vkottler
Copy link
Owner Author

https://en.m.wikipedia.org/wiki/Microdata_(HTML)

some interesting things you can do in HTML, plus https://schema.org/docs/gs.html

trying to figure out what all "schema languages" there are

Maybe "Color" has a schema.org schema?

@vkottler vkottler self-assigned this Mar 26, 2022
@vkottler vkottler added the help wanted Extra attention is needed label Mar 26, 2022
@vkottler
Copy link
Owner Author

We should add schemas for the setup.cfg data and pyproject.toml data for vkottler/vmklib#18

so we should decide if this kind of improvement cuts in or not

@vkottler
Copy link
Owner Author

e.g. the JSON schema for PEP 518: https://peps.python.org/pep-0518/#json-schema

@vkottler
Copy link
Owner Author

@vkottler
Copy link
Owner Author

Well, I guess we also need #60, and that's probably easier than ripping out / adding some kind of secondary backend for schema parsing (since we're pretty hard-coded for Cerberus)

@vkottler
Copy link
Owner Author

Maybe it would be possible to detect if a schema is meant to be read as Cerberus or JSON schema?

@vkottler
Copy link
Owner Author

Let's do vkottler/workspace#6 first and refactor some of the generic code in this package, out

@vkottler
Copy link
Owner Author

@vkottler vkottler removed their assignment Mar 27, 2023
@vkottler
Copy link
Owner Author

We may want to do this now that we're working on vkottler/rcmpy#1

@vkottler vkottler self-assigned this Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant