{"repo":"johnbillion/wp-json-schemas","free":true,"listed":false,"github":"https://github.com/johnbillion/wp-json-schemas","clone":"git clone https://github.com/johnbillion/wp-json-schemas.git","description":"JSON schemas for WordPress PHP objects and REST API responses","language":"TypeScript","stars":161,"topics":["json-schema","wordpress","typescript-definitions","typescript","rest-api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"WordPress JSON Schemas This package provides well-documented JSON schemas that describe the shape of: WordPress core PHP objects such as WP Post , WP Term , and WP User WordPress REST API responses such as those from /wp/v2/posts , /wp/v2/categories , and /wp/v2/users Various property types and values of both The schemas in this library are used to generate the WordPress TypeScript definitions provided by the wp-types package. The schemas were last updated for WordPress 7.0. What's included? PHP object schemas WP Post WP Term WP User WP Comment WP Error WP Query WP Block WP Block Type WP Block Template WP Site WP Locale WP Taxonomy WP Post Type WP Role WP Network WP Screen REST API response schemas Route Schema ------------------------------------------------------- ------ /wp/v2/block-directory/search WP REST API Block Directory Items /wp/v2/block-patterns/categories WP REST API Block Pattern Categories /wp/v2/block-patterns/patterns WP REST API Block Patterns /wp/v2/block-renderer/{name} WP REST API Rendered Block /wp/v2/block-types WP REST API Block Types /wp/v2/block-types/{namespace} WP REST API Block Type /wp/v2/block-types/{namespace}/{name} WP REST API Block Type /wp/v2/blocks WP REST API Blocks /wp/v2/blocks/{id} WP REST API Block /wp/v2/blocks/{id}/autosaves Todo /wp/v2/blocks/{parent}/autosaves/{id} Todo /wp/v2/blocks/{parent}/revisions WP REST API Revisions /wp/v2/blocks/{parent}/revisions/{id} WP REST API Revision /wp/v2/categories WP REST API Categories /wp/v2/c","default_branch":null,"files":null,"tree":[],"storefront":"/r/johnbillion","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/johnbillion/wp-json-schemas/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}