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 a JSON Schema #2

Open
anseljh opened this issue Mar 11, 2020 · 0 comments · May be fixed by #10
Open

Add a JSON Schema #2

anseljh opened this issue Mar 11, 2020 · 0 comments · May be fixed by #10
Assignees

Comments

@anseljh
Copy link
Member

anseljh commented Mar 11, 2020

It would be cool to provide a JSON Schema for the court objects. Folks could then more easily do cool stuff like importing that schema right into an OpenAPI Specification document for an API they're developing. We'd also get validation pretty much for free. There are lots of validators out there.

See OpenAPI Specification, Version 3.0.3, § 4.7.24 Schema Object:

Alternatively, any time a Schema Object can be used, a Reference Object can be used in its place. This allows referencing definitions instead of defining them inline.

I can take a first whack at this myself.

@anseljh anseljh self-assigned this Mar 23, 2020
@anseljh anseljh linked a pull request Jun 6, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant