Make WordPress Core

Opened 5 weeks ago

#51023 new enhancement

Add support for the minProperties and maxProperties JSON Schema keywords

Reported by: TimothyBlynJacobs Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: REST API Keywords: needs-patch needs-unit-tests good-first-bug json-schema
Focuses: Cc:


Arrays support the minItems and maxItems keywords. The minProperties and maxProperties can be used for objects as well. This is helpful when you are using additionalProperties to have a list of objects with unique keys.

Reference: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.4.1

Change History (0)

Note: See TracTickets for help on using tickets.