WordPress · Schema

PostType

A WordPress registered post type

CMSContent ManagementOpen-SourceWordPress

Properties

Name Type Description
capabilities object All capabilities used by the post type
description string A human-readable description of the post type
hierarchical boolean Whether or not the post type should have children
name string Human-readable name of the post type, e.g., Posts
rest_base string REST base route for the post type
slug string An alphanumeric identifier for the post type
taxonomies array All taxonomies associated with the post type
View JSON Schema on GitHub

JSON Schema

wordpress-post-type-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-schema/wordpress-post-type-schema.json",
  "title": "PostType",
  "description": "A WordPress registered post type",
  "type": "object",
  "properties": {
    "capabilities": {
      "type": "object",
      "description": "All capabilities used by the post type",
      "additionalProperties": {
        "type": "string"
      }
    },
    "description": {
      "type": "string",
      "description": "A human-readable description of the post type",
      "example": ""
    },
    "hierarchical": {
      "type": "boolean",
      "description": "Whether or not the post type should have children",
      "example": false
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the post type, e.g., Posts",
      "example": "Posts"
    },
    "rest_base": {
      "type": "string",
      "description": "REST base route for the post type",
      "example": "posts"
    },
    "slug": {
      "type": "string",
      "description": "An alphanumeric identifier for the post type",
      "example": "post"
    },
    "taxonomies": {
      "type": "array",
      "description": "All taxonomies associated with the post type",
      "items": {
        "type": "string"
      },
      "example": [
        "category",
        "post_tag"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wordpress-post-type"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.