wp-json-schemas

JSON →
library 4.70.1 ·javascript
verified Jun 7, 2026

Provides well-documented JSON schemas for WordPress PHP objects (like WP_Post, WP_Term, WP_User) and REST API responses (e.g., /wp/v2/posts). Version 4.70.1, updated for WordPress 7.0. Maintained by John Blackbourn; schemas also generate TypeScript definitions in the companion wp-types package. Differentiators: comprehensive, hand-maintained schemas covering both PHP objects and REST endpoints, with regular updates aligned to WordPress core releases.