additionalProperties true is not respected for nested object in Json schema
In Json schema, how can i specify that the fields within TestParameters/config.yaml object are fixed and no additional fields can be added to config.yaml while keeping additionalProperties:true for the parent Object ExecutionParameters of TestParameters/config.yaml. This way, additional fields like Location can be added to the ExecutionParameters but not within ExecutionParameters/TestParameters/config.yaml. Here is the schema:
How to validate all items of JSON array have exactly the same field value using JSON Schema?
Let’s say we have the following JSON Schema:
How to allow for multiple instances of an object in JSON schema
I have a json file where I want the schema to accept multiple instances of the same object. Here is an example json file.
Create enum for json schema by reference to property values of json files held in subpages of intranet site
I’m adding to a json schema (version draft-07) where I want a property to be defined as one of a list of the results of a specific property that is stored in many json files accessible via my intranet.
How to reference to another JSON Schema?
So I have 2 JSONs (simplified for easy understanding):
Validate json with recursive structure
I’m looking for a way to validate the following json using json-schema.
JSON Schema array with objects and validation based on array object types
JSON I want to validate has an array of objects. Each object has two properties tag
and value
.
I want validate value
based on the tag
field.
Ensure one value is less than another with JSON schema
Imagine I have a following json schema: