-
Notifications
You must be signed in to change notification settings - Fork 17
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
Define schema for simple propagator #75
Comments
@marcalff what is the advantage of specifying simple propagator? Isn't it the same as composite propagator with a single entry? |
A "composite" propagator with only one entry will work too. If we want to model it this way:
The spec defines a composite as "multiple propagators", I would assume multiple means Basically, when reading:
it means there is either one property named |
Resolved by #141 The following was removed:
so that there can no longer by arbitrary nodes used as an extension for a simple propagator. For a simple propagator, the modeling should use a composite propagator, with an array of one element. Closing as resolved. |
Currently, propagator.json reads as:
This defines how a composite proparator is represented, but leaves the definition for the simple propagator open to any interpretation, with additional properties.
All the following can be considered valid [1] per the schema:
Please add another property for simple, with a type string, and do not allow additionalProperties.
The intended representation should be:
Not well versed in json-schema, but I would expect something like:
[1] From casually reading the schema and writing yaml, I did not try a validator.
The text was updated successfully, but these errors were encountered: