{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentwebmap-com/json-schema/agentwebmap-com-generated-schema.json",
  "title": "Generated",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentwebmap-com-generate-api-openapi.yml#/components/schemas/Generated",
  "type": "object",
  "properties": {
    "ok": {
      "const": true
    },
    "domain": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "pages": {
      "type": "integer"
    },
    "source": {
      "type": "string"
    },
    "sampled": {
      "type": "integer"
    },
    "text": {
      "type": "string"
    },
    "generated_at": {
      "type": "string"
    },
    "llms_full_txt_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "validation": {
      "type": "object",
      "properties": {
        "ok": {
          "const": true
        },
        "valid": {
          "type": "boolean"
        },
        "verdict": {
          "enum": [
            "valid",
            "needs work"
          ]
        },
        "checked_at": {
          "type": "string"
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "bytes": {
          "type": "integer"
        },
        "parsed": {
          "type": "object",
          "properties": {
            "title": {
              "type": [
                "string",
                "null"
              ]
            },
            "summary": {
              "type": [
                "string",
                "null"
              ]
            },
            "sectionCount": {
              "type": "integer"
            },
            "linkCount": {
              "type": "integer"
            }
          },
          "required": [
            "title",
            "summary",
            "sectionCount",
            "linkCount"
          ],
          "additionalProperties": false
        },
        "checks": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "ok": {
                "type": "boolean"
              },
              "label": {
                "type": "string"
              },
              "detail": {
                "type": "string"
              },
              "required": {
                "type": "boolean"
              },
              "optional": {
                "type": "boolean"
              },
              "severity": {
                "enum": [
                  "pass",
                  "error",
                  "warning",
                  "info"
                ]
              },
              "fix": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "code",
              "ok",
              "label",
              "detail",
              "required",
              "optional",
              "severity",
              "fix"
            ],
            "additionalProperties": false
          }
        },
        "score": {
          "type": "integer"
        },
        "max": {
          "type": "integer"
        },
        "recommendations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "severity": {
                "type": "string"
              },
              "fix": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "severity",
              "fix"
            ],
            "additionalProperties": false
          }
        },
        "meaning": {
          "type": "string"
        }
      },
      "required": [
        "ok",
        "valid",
        "verdict",
        "checked_at",
        "url",
        "bytes",
        "parsed",
        "checks",
        "score",
        "max",
        "recommendations",
        "meaning"
      ],
      "additionalProperties": false
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "url",
          "title"
        ],
        "additionalProperties": false
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "crawl": {
      "type": "object",
      "properties": {
        "page_limit": {
          "type": "integer"
        },
        "request_limit": {
          "type": "integer"
        },
        "requests": {
          "type": "integer"
        },
        "pages_attempted": {
          "type": "integer"
        },
        "robots_skipped": {
          "type": "integer"
        },
        "duplicates_skipped": {
          "type": "integer"
        },
        "failed_pages": {
          "type": "integer"
        },
        "noindex_skipped": {
          "type": "integer"
        },
        "partial": {
          "type": "boolean"
        }
      },
      "required": [
        "page_limit",
        "request_limit",
        "requests",
        "pages_attempted",
        "robots_skipped",
        "duplicates_skipped",
        "failed_pages",
        "noindex_skipped",
        "partial"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok",
    "domain",
    "title",
    "description",
    "pages",
    "source",
    "sampled",
    "text"
  ],
  "additionalProperties": false
}