{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One page of the public profiles or galleries a search engine may index, for the sitemap. Leaves out anything labeled, taken down, or in a space.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "entries": {
              "items": {
                "ref": "social.grain.unspecced.getSitemap#sitemapEntry",
                "type": "ref"
              },
              "type": "array"
            },
            "pageCount": {
              "description": "How many pages of this kind there are, so the sitemap index can list them all.",
              "type": "integer"
            }
          },
          "required": [
            "entries",
            "pageCount"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "kind": {
            "knownValues": [
              "profiles",
              "galleries"
            ],
            "type": "string"
          },
          "page": {
            "default": 0,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "kind"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "sitemapEntry": {
      "properties": {
        "lastmod": {
          "format": "datetime",
          "type": "string"
        },
        "path": {
          "description": "The page's path on this site, named by handle where the account has one.",
          "type": "string"
        }
      },
      "required": [
        "path"
      ],
      "type": "object"
    }
  },
  "id": "social.grain.unspecced.getSitemap",
  "lexicon": 1
}
