Can’t figure out how to use an if condition to conditionally apply a rule
What I want is:
If check_this
is true then only_on_condition
should match ^zzzz
Good tools (preferably web based) for exploring a JSON Schema definition
I’ve been surprised by the lack of good documentation tools for exploring JSON Schema. If you’re using openAPI then SwaggerUI is great for understanding what can and can’t be sent to an API (and of course that accepts JSON Schema) – but we’ve got a use case that isn’t a HTTP API.
How to specify a map in JsonSchema where the Type is another object
I would like to specify a map in JsonSchema. The Java equivalant should be a Map<String, SomeType>.
In a JSON schema, can the editing of a specific property’s value be restricted based on user permissions?
I have created a graph schema in JSON and need to restrict the editing of the values in specific properties to a specific user-group. For example, if the property is a Boolean type and it has been turned on, only members of that specific user-group should be allowed to change the Boolean, while all other users have read-only access to that property; or if a specific value has been entered in a string property (e.g. “Blue”), then similarly editing of that property is limited to that group (and others can view its value) who are the only ones who can change its value to “Red”.
can Json schema require one value equal another?
consider the following schema:
How do I design a json schema for two objects?
I’d like one schema to validate two different types of objects that have a lot of overlap. Consider the following json Schema:
How can I use JSON Schema to require a specific property IF AND ONLY IF the value of another property matches a constant?
I am already aware of how to conditionally require the presence of a property based on the value of another property. What I am looking for is the reverse as well.
JSON schema additionalProperties=false with $ref – allowing additional properties
can someone please help me to fix my schema in a way that other than defined properties will be rejected.
Is there a simpler way of using file names as a value in a json file using a schema
I want to use file names as values to properties in a json file and have intellisense work on them.