[wp-trac] [WordPress Trac] #48821: Add additional array validation keywords to rest_validate_value_from_schema

WordPress Trac noreply at wordpress.org
Thu Nov 28 02:44:13 UTC 2019


#48821: Add additional array validation keywords to rest_validate_value_from_schema
-------------------------------+-----------------------------
 Reporter:  TimothyBlynJacobs  |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  REST API           |    Version:  4.7
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 JSON Schema describes `minItems`, `maxItems` and `uniqueItems` keywords to
 assist in validating `array` types: https://json-schema.org/draft/2019-09
 /json-schema-validation.html#rfc.section.6.4.1 I think this would be
 helpful to add support for.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48821>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list