{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-helpful-summary-response-schema.json",
  "title": "HelpfulSummaryResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-collections-api-openapi.yml#/components/schemas/HelpfulSummaryResponse",
  "type": "object",
  "properties": {
    "yes": {
      "type": "integer",
      "description": "All \"yes\" answers on the site."
    },
    "no": {
      "type": "integer",
      "description": "All \"no\" answers on the site."
    },
    "pages": {
      "type": "integer",
      "description": "Pages with at least one answer."
    },
    "top": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "yes": {
            "type": "integer"
          },
          "no": {
            "type": "integer"
          }
        },
        "required": [
          "path",
          "yes",
          "no"
        ]
      },
      "description": "Most-answered pages first, up to `limit`."
    }
  },
  "required": [
    "yes",
    "no",
    "pages",
    "top"
  ]
}