[wp-trac] [WordPress Trac] #51023: Add support for the minProperties and maxProperties JSON Schema keywords
WordPress Trac
noreply at wordpress.org
Sat Aug 15 13:41:14 UTC 2020
#51023: Add support for the minProperties and maxProperties JSON Schema keywords
-------------------------+-------------------------------------------------
Reporter: | Owner: (none)
TimothyBlynJacobs |
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: REST API | Version:
Severity: normal | Keywords: needs-patch needs-unit-tests good-
Focuses: | first-bug json-schema
-------------------------+-------------------------------------------------
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51023>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list