I came across this JSON schema specification here.
http://json-schema.org/understanding-json-schema/
I wonder if it's related in some way to the Open API spec.
https://swagger.io/specification/
To what extent are both specs standard ones? I know Open API is widely used but is it really adopted by the major companies as a de-facto standard?
Which one has better support in Java and is "more" standard?
I mean e.g. from which type of API definition, you can more easily generate client side classes to use in your client code?Imagine you have an API which you need to consume (via a Java client e.g.). What would you ask for from your API provider, would you ask for a JSON schema API definition, or for an Open API based API definition?