Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Add dependency on a "child property" #191

Closed
@AdityaTulasi-xx

Description

@AdityaTulasi-xx

Hi,

I want to add a dependency on presence of a property inside an object that is at the same level.

Example

{
    "Name": "Something", 
	"Data": {
        "Somekey1": "Some value"
    }
}

I need "Name" to be conditionally present, and it should depend on presence (or value of; hierarchy is the primary concern here) of Somekey1. Is this possible? If yes, can you please tell me the JSON schema for this?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions