Skip to content

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

@jpmckinney

Description

@jpmckinney

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.

Metadata

Metadata

Labels

Schema: ValidationRelating to constraints in the JSON Schema

Type

No type

Projects

Status

Review in progress

Relationships

None yet

Development

No branches or pull requests

Issue actions