Tobias Munk
Tobias Munk
Can you give an example what would not work concerning serialization?
I'd say this is a setting for your JSON-to-YAML converter. Line breaks are preserved in JSON or written as `\n`, like so: ``` { "common-name": "Swan", "genus": "Cygnus", "etymology": "The...
Is there something like https://json-schema.org/ for YAML?
@gbisurgi @amk0 @pmk65 Opinions?
You should be able to edit your own posts.
Your data in the last case (undesired) is ``` { "basemap": "", "something": "", "webmap": "prasopes" } ``` Which is not valid against any of `anyOf`
I guess, since `basemap` is the first case it gets fixed automatically, because `something` is added and then the data matches against the schema.
From a UI point of view the user should be forced to select a proper type, like a placeholder (empty value) in the type dropdown. Might also be useful in...
@Radouch Could you post the data in addition to the links in this case, since the editor might modify it.
Can you provide a link to an example, please.