{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/influence-so/json-schema/influence-so-pages-index-schema.json",
  "title": "PagesIndex",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/influence-so-openapi.json#/components/schemas/PagesIndex",
  "properties": {
    "count": {
      "type": "integer"
    },
    "generator": {
      "description": "The Blume version that built the site.",
      "type": "string"
    },
    "pages": {
      "items": {
        "$ref": "#/$defs/PageSummary"
      },
      "type": "array"
    },
    "site": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "count",
    "generator",
    "pages",
    "site"
  ],
  "type": "object",
  "$defs": {
    "PageSummary": {
      "properties": {
        "contentType": {
          "description": "The page's content type (frontmatter `type`).",
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "facets": {
          "additionalProperties": {
            "type": "string"
          },
          "description": "Facet values the site declares for the page's content type (`content.types.<type>.facets`), key → value.",
          "type": "object"
        },
        "json": {
          "description": "This page's JSON representation (the `getPage` operation).",
          "format": "uri-reference",
          "type": "string"
        },
        "lastModified": {
          "description": "ISO 8601 last-modified date, when known.",
          "type": [
            "string",
            "null"
          ]
        },
        "locale": {
          "description": "The page's locale code.",
          "type": "string"
        },
        "markdownUrl": {
          "description": "The page's raw-Markdown mirror (the `getPageMarkdown` operation).",
          "format": "uri-reference",
          "type": "string"
        },
        "route": {
          "description": "The page's route (`/guides/install`); the key every other operation takes.",
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "description": "Where the rendered page is served.",
          "format": "uri-reference",
          "type": "string"
        },
        "version": {
          "description": "Docs version the page belongs to on a versioned site: `\"\"` for the current docs, else an archived version id. Absent on unversioned sites.",
          "type": "string"
        }
      },
      "required": [
        "contentType",
        "json",
        "lastModified",
        "locale",
        "markdownUrl",
        "route",
        "title",
        "url"
      ],
      "type": "object"
    }
  }
}