Replies: 1 comment
-
Looking here: https://json-schema.org/understanding-json-schema/reference/object.html#pattern-properties Let's take this as an example. Here, it appears by using
Now, one could image in *Plant Data Service land the allowed values could get quite long and complex. Perhaps what you want is to a way to specify |
Beta Was this translation helpful? Give feedback.
-
Let's say we have a JSON object like this:
And the "allowed values" of the
type
property are eitherfoo
orbar
. Is there any way to describe this with JSON Schema?Beta Was this translation helpful? Give feedback.
All reactions