WordPress · Schema

Settings

WordPress site settings

CMSContent ManagementOpen SourceWordPress

Properties

Name Type Description
title string Site title
description string Site tagline
url string Site URL
email string Administrator email address
timezone string Site timezone string
date_format string Date format for the site
time_format string Time format for the site
start_of_week integer Day of the week that the week should start on (0=Sunday, 1=Monday)
language string WordPress locale code
use_smilies boolean Whether smilies should automatically be converted to graphics
default_category integer Default post category ID
posts_per_page integer Number of posts per page
View JSON Schema on GitHub

JSON Schema

wordpress-settings-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-settings-schema.json",
  "title": "Settings",
  "description": "WordPress site settings",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Site title",
      "example": "My WordPress Site"
    },
    "description": {
      "type": "string",
      "description": "Site tagline",
      "example": "Just another WordPress site"
    },
    "url": {
      "type": "string",
      "description": "Site URL",
      "example": "https://example.com"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Administrator email address",
      "example": "[email protected]"
    },
    "timezone": {
      "type": "string",
      "description": "Site timezone string",
      "example": "America/New_York"
    },
    "date_format": {
      "type": "string",
      "description": "Date format for the site",
      "example": "F j, Y"
    },
    "time_format": {
      "type": "string",
      "description": "Time format for the site",
      "example": "g:i a"
    },
    "start_of_week": {
      "type": "integer",
      "description": "Day of the week that the week should start on (0=Sunday, 1=Monday)",
      "example": 1
    },
    "language": {
      "type": "string",
      "description": "WordPress locale code",
      "example": "en_US"
    },
    "use_smilies": {
      "type": "boolean",
      "description": "Whether smilies should automatically be converted to graphics",
      "example": true
    },
    "default_category": {
      "type": "integer",
      "description": "Default post category ID",
      "example": 1
    },
    "posts_per_page": {
      "type": "integer",
      "description": "Number of posts per page",
      "example": 10
    }
  }
}