-
Notifications
You must be signed in to change notification settings - Fork 45
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
Need to clarify the interaction between minOccurs, maxOccurs and schema in the input description. #363
Comments
The expected (or mandated?) resolution between JSON For example, When There is also the issue of the In a similar fashion, a I have done some mapping/description/examples of these use cases for our implementation. You can find more details/inspiration here: https://pavics-weaver.readthedocs.io/en/latest/package.html#inputs-outputs-openapi-schema |
I also want to understand better the relationship between minOccur and the "required" property in JSON Schema. Should we treat them independently or consult both to determine optional vs. required? |
@gardengeek99 The minOccurs of 0 means that an input as a whole is not required. The required in the JSONSchema can be used to specify that a property "inside" an individual input (which itself is a JSON object) is required or not. |
SWG meeting from 2024-08-05: We think this can be closed. See #434. |
There needs to be some clarifying text and perhaps examples added to the specification to explain the interaction between
minOccurs
,maxOccurs
andschema
.Specifically,
minOccurs
andmaxOccurs
members indicate the cardinality of that input.I've only used simple integer values as examples here but any value type (string, object, array, binary, etc.) would be handled the same way. Also, I have only shown values being assinged by value but values assigned by reference would work the same ...
The text was updated successfully, but these errors were encountered: