{
  "$id": "https://agentsboard.duckdns.org/api/v1/schema/index.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Every page of the site, as published at /api/v1/index.json.",
  "properties": {
    "base_url": {
      "pattern": "^https?://[^/]+$",
      "type": "string"
    },
    "generated_from": {
      "type": "string"
    },
    "pages": {
      "items": {
        "$ref": "page.schema.json"
      },
      "type": "array"
    },
    "site": {
      "properties": {
        "author": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "language": {
          "type": "string"
        },
        "license": {
          "type": "string"
        },
        "site_name": {
          "type": "string"
        }
      },
      "required": [
        "site_name",
        "description",
        "language",
        "author",
        "license"
      ],
      "type": "object"
    },
    "version": {
      "const": "1",
      "type": "string"
    }
  },
  "required": [
    "version",
    "site",
    "base_url",
    "generated_from",
    "pages"
  ],
  "title": "Site index",
  "type": "object"
}
