Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Split "requiredDependencies" out of "dependencies" #573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
handrews merged 2 commits into json-schema-org:dep-split-base from handrews:dep-split
Apr 4, 2018

Conversation

@handrews
Copy link
Contributor

@handrews handrews commented Mar 23, 2018

"dependencies", with the schema behavior, moves to the validation
spec with the other applicators. "requiredDependencies", with
the property array behavior, stays in validation as an assertion
alongside "required"

"dependencies", with the schema behavior, moves to the validation
spec with the other applicators. "requiredDependencies", with
the property array behavior, stays in validation as an assertion
alongside "required"
for further discussion. Further feedback is encouraged.
</cref>
This keyword specifies property requirements that are conditional
based on the presence of other properties.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this sentence is useful considering the one that follows (in fact, I cannot easily read it (but maybe it's because I'm not native English)). Also, most keyword's description start out by "The value of this keyword MUST be ..." so this one would be (is already) an exception with this sentence. Not a big deal, though :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good points, let me see if I can rework it to be more consistent and clear.

Use language based on a combination of "required" and "properties",
and make the simple description (the 2nd paragraph) more clear.
Copy link
Contributor Author

handrews commented Apr 4, 2018

@dlax how does this version look?

Copy link
Member

dlax commented Apr 4, 2018

Looks good 👍

@handrews handrews merged commit abca457 into json-schema-org:dep-split-base Apr 4, 2018
@handrews handrews deleted the dep-split branch May 24, 2018 04:34
@gregsdennis gregsdennis added clarification Items that need to be clarified in the specification and removed Type: Maintenance labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@dlax dlax dlax approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

clarification Items that need to be clarified in the specification core Priority: Medium validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /