Ghost · Schema

Theme

A Ghost theme controlling the front-end appearance.

PublishingNewslettersMembershipsContentOpen Source

Properties

Name Type Description
name string Theme name
package object Theme package.json metadata
active boolean Whether this is the currently active theme
View JSON Schema on GitHub

JSON Schema

ghost-theme-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Theme",
  "title": "Theme",
  "type": "object",
  "description": "A Ghost theme controlling the front-end appearance.",
  "properties": {
    "name": {
      "type": "string",
      "description": "Theme name"
    },
    "package": {
      "type": "object",
      "description": "Theme package.json metadata",
      "properties": {
        "name": {
          "type": "string",
          "description": "Package name"
        },
        "version": {
          "type": "string",
          "description": "Package version"
        }
      }
    },
    "active": {
      "type": "boolean",
      "description": "Whether this is the currently active theme"
    }
  }
}