{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/iterant-ai/json-schema/iterant-ai-public-page-detail-schema.json",
  "title": "PublicPageDetail",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/iterant-ai-openapi.json#/components/schemas/PublicPageDetail",
  "type": "object",
  "properties": {
    "urlPath": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "locales": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicPageLocale"
      },
      "readOnly": true,
      "description": "Every language the page serves in and the route it serves at there: the default language first at the page's own urlPath, then one entry per other language of the site the page exists in. A page written in one language alone lists that language at its own urlPath."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "liveUrl": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "requestedLocale": {
      "type": "string",
      "readOnly": true,
      "description": "The language the requested urlPath serves: the default for the page's own route, or the language a page written in one language alone declares."
    },
    "metaTitle": {
      "type": "string"
    },
    "metaDescription": {
      "type": "string"
    },
    "publishedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "triggeringOpportunityRef": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true
    },
    "outline": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "readOnly": true,
      "description": "The page's section components, in order. Present only when responseFormat=detailed."
    }
  },
  "required": [
    "liveUrl",
    "locales",
    "metaDescription",
    "metaTitle",
    "outline",
    "publishedAt",
    "requestedLocale",
    "status",
    "title",
    "triggeringOpportunityRef",
    "updatedAt",
    "urlPath"
  ],
  "$defs": {
    "PublicPageLocale": {
      "type": "object",
      "properties": {
        "locale": {
          "type": "string"
        },
        "urlPath": {
          "type": "string"
        }
      },
      "required": [
        "locale",
        "urlPath"
      ]
    }
  }
}