WordPress · Schema

Theme

A WordPress theme object

CMSContent ManagementOpen SourceWordPress

Properties

Name Type Description
stylesheet string The theme's stylesheet
template string The theme's template
name object
description object
status string A named status for the theme
version string The theme's current version
author object
author_uri object
theme_uri object
View JSON Schema on GitHub

JSON Schema

wordpress-theme-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-theme-schema.json",
  "title": "Theme",
  "description": "A WordPress theme object",
  "type": "object",
  "properties": {
    "stylesheet": {
      "type": "string",
      "description": "The theme's stylesheet",
      "example": "twentytwentyfive"
    },
    "template": {
      "type": "string",
      "description": "The theme's template",
      "example": "twentytwentyfive"
    },
    "name": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "description": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "status": {
      "type": "string",
      "description": "A named status for the theme",
      "example": "active"
    },
    "version": {
      "type": "string",
      "description": "The theme's current version",
      "example": "1.3"
    },
    "author": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "author_uri": {
      "$ref": "#/components/schemas/RenderedContent"
    },
    "theme_uri": {
      "$ref": "#/components/schemas/RenderedContent"
    }
  }
}