{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pagehub-dev/json-schema/pagehub-dev-site-updated-schema.json",
  "title": "SiteUpdated",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pagehub-dev-openapi.json#/components/schemas/SiteUpdated",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "ogImage": {
      "type": [
        "object",
        "string",
        "null"
      ]
    },
    "portal": {
      "type": [
        "object",
        "null"
      ]
    },
    "crawlPolicy": {
      "type": "object",
      "additionalProperties": true
    },
    "timezone": {
      "type": [
        "string",
        "null"
      ]
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "Present when `language` was sent."
    },
    "mountOrigin": {
      "type": [
        "string",
        "null"
      ]
    },
    "mountKey": {
      "type": "string",
      "description": "Present only when this request issued a new key."
    },
    "published": {
      "type": "boolean"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "hasUnpublishedChanges": {
      "type": "boolean",
      "description": "Whether the draft differs from the live release."
    },
    "unpublishedPages": {
      "description": "Which pages hold unpublished changes."
    },
    "lastPublishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "release": {
      "type": "object",
      "description": "Present after a publish: the new release, or `{ queued: true }` when it builds in the background (poll the release).",
      "properties": {
        "queued": {
          "type": "boolean"
        },
        "releaseId": {
          "type": "string"
        },
        "number": {
          "type": "integer"
        },
        "activated": {
          "type": "boolean"
        }
      }
    }
  },
  "required": [
    "id",
    "published",
    "updatedAt"
  ]
}