Skip to content

All strings, arrays, objects should have minLength, minItems, minProperties #859

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

Open
Tracked by #1480
jpmckinney opened this issue Apr 4, 2019 · 0 comments
Open
Tracked by #1480
Assignees
Labels
Schema: Validation Relating to constraints in the JSON Schema
Milestone

Comments

@jpmckinney
Copy link
Member

If a field is optional, these validation properties are ignored, unless the field is present. OCDS presently has a rule that fields should not be empty. This issue is about changing the rule to must not be empty, which is backwards-incompatible.

@jpmckinney jpmckinney added the Schema Relating to other changes in the JSON Schema (renamed fields, schema properties, etc.) label Apr 4, 2019
@jpmckinney jpmckinney added this to the 2.0 milestone Apr 4, 2019
@jpmckinney jpmckinney added Schema: Validation Relating to constraints in the JSON Schema and removed Schema Relating to other changes in the JSON Schema (renamed fields, schema properties, etc.) labels Jul 17, 2020
@jpmckinney jpmckinney modified the milestones: 2.0.0, 1.2.0 Strict Jul 22, 2020
@jpmckinney jpmckinney moved this to In progress in OCDS 1.2 Jul 2, 2024
@duncandewhurst duncandewhurst self-assigned this Oct 29, 2024
@duncandewhurst duncandewhurst moved this from In progress to Review in progress in OCDS 1.2 Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Schema: Validation Relating to constraints in the JSON Schema
Projects
Status: Review in progress
Development

No branches or pull requests

2 participants