{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/majr-app/json-schema/majr-app-sitemap-request-schema.json",
  "title": "SitemapRequest",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seo-openapi.json#/components/schemas/SitemapRequest",
  "properties": {
    "site_url": {
      "type": "string",
      "title": "Site Url",
      "description": "Site origin each entry path is absolutized against.",
      "default": ""
    },
    "entries": {
      "items": {
        "$ref": "#/$defs/SitemapEntry"
      },
      "type": "array",
      "title": "Entries",
      "description": "One entry per page, in the order they should appear."
    },
    "source": {
      "type": "string",
      "title": "Source",
      "default": ""
    }
  },
  "type": "object",
  "$defs": {
    "SitemapEntry": {
      "properties": {
        "path": {
          "type": "string",
          "title": "Path",
          "description": "Page path (or absolute URL); joined with site_url into <loc>."
        },
        "changefreq": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "always",
                "hourly",
                "daily",
                "weekly",
                "monthly",
                "yearly",
                "never"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Changefreq",
          "description": "sitemaps.org <changefreq> keyword."
        },
        "priority": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 1.0,
              "minimum": 0.0
            },
            {
              "type": "null"
            }
          ],
          "title": "Priority",
          "description": "<priority>, 0.0..1.0."
        },
        "lastmod": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lastmod",
          "description": "<lastmod> — ISO-8601 date, e.g. 2026-07-15."
        }
      },
      "type": "object",
      "required": [
        "path"
      ],
      "title": "SitemapEntry"
    }
  }
}