-
Notifications
You must be signed in to change notification settings - Fork 48
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
How to document/specify/provide schemas for nested data structures #7
Comments
Do we have any examples of where it is something other than JSON? Should we? I'm not convinced. However, if we need this, the description field of a particular key/value pair seems like an excellent place to put this. WDYT? |
In traefik it's yaml. |
I think in general my feelings are:
Any objections there? |
This is my point of view as well. People might use yaml, pickle or whatever, but if they want it to be part of the spec, I would be perfectly fine with making JSON serialized data structures a requirement. |
Databags are flat string:string mappings.
Sometimes relation databags need or want more structure and therefore the values of that mapping are yaml/json/b64/pickle-encoded complex objects.
In our schemas we'd like to document what the structure of those complex objects are.
How do we document the type of encoding used?
The text was updated successfully, but these errors were encountered: