Skip to content

[📝 Docs]: Incorrect description of required else subschema in if-then-else example #1809

@sdruskat

Description

@sdruskat

What Docs changes are you proposing?

There is an incorrectness in the referenced section:

Current

* The `else` block is applied, which specifies that the `membershipNumber` property can be any string.

Expected

* The `else` block is applied, which specifies that the `membershipNumber` property should be a string with a minimum length of 15.

Respective subschema

...
"else": {
    "properties": {
        "membershipNumber": {
            "type": "string",
            "minLength": 15
        }
    }
}
...

I'll put up a PR that fixes this.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

Status: TriageThis is the initial status for an issue that requires triage.📝 DocumentationIndicates improvements or additions to documentation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions