{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/openuptime-app/json-schema/openuptime-app-post-status-pages-request-schema.json",
  "title": "PostStatusPagesRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/openuptime-app-openapi-generated.yml#/components/schemas/PostStatusPagesRequest",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "3‑40 chars, lowercase alphanum or hyphen."
    },
    "title": {
      "type": "string",
      "description": "1‑120 characters."
    },
    "externalUrl": {
      "type": "string",
      "description": "Optional HTTP(S) URL up to 2048 chars."
    },
    "theme": {
      "type": "string",
      "description": "\"light\" | \"dark\" | \"auto\"."
    },
    "showLatency": {
      "type": "boolean"
    },
    "hideBranding": {
      "type": "boolean"
    },
    "uptimeOkPct": {
      "type": "number",
      "description": "1‑100, default 99.9."
    },
    "uptimeWarnPct": {
      "type": "number",
      "description": "1‑100, default 98."
    },
    "mcpEnabled": {
      "type": "boolean",
      "description": "Default true."
    },
    "maintenanceReminderHours": {
      "type": "integer",
      "description": "0‑168, default 24."
    },
    "customCss": {
      "type": "string",
      "description": "Up to 20000 chars."
    },
    "monitorIds": {
      "type": "array",
      "description": "Array of monitor UUIDs."
    },
    "components": {
      "type": "array",
      "description": "Array of {monitorId, groupName?} objects, max 200."
    }
  },
  "required": [
    "slug",
    "title"
  ]
}