{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usanaru-com/json-schema/usanaru-com-get-api-v1-school-views-response-schema.json",
  "title": "GetApiV1SchoolViewsResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/usanaru-com-openapi-generated.yml#/components/schemas/GetApiV1SchoolViewsResponse",
  "type": "object",
  "properties": {
    "attribution": {
      "type": "object",
      "properties": {
        "required": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "markdown": {
          "type": "string"
        },
        "html": {
          "type": "string"
        },
        "instruction": {
          "type": "string"
        },
        "rule": {
          "type": "string"
        },
        "terms": {
          "type": "string"
        },
        "license": {
          "type": "object",
          "properties": {
            "tier": {
              "type": "string"
            },
            "commercial_use": {
              "type": "boolean"
            },
            "notice": {
              "type": "string"
            },
            "terms": {
              "type": "string"
            },
            "api_terms": {
              "type": "string"
            },
            "commercial_use_rules": {
              "type": "string"
            },
            "commercial_license": {
              "type": "string"
            },
            "free_developer_key": {
              "type": "string"
            }
          }
        }
      }
    },
    "agents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "agent": {
            "type": "string"
          },
          "operator": {
            "type": [
              "string",
              "null"
            ]
          },
          "reads": {
            "type": "integer"
          },
          "schools": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "data_refreshed_at": {
      "type": "string",
      "format": "date-time"
    },
    "docs": {
      "type": "string"
    },
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "how_to_cite": {
      "type": "string"
    },
    "license": {
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "page_url": {
      "type": "string"
    },
    "people_by_country": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "visits": {
            "type": "integer"
          }
        }
      }
    },
    "people_by_page_language": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lang": {
            "type": "string"
          },
          "visits": {
            "type": "integer"
          }
        }
      }
    },
    "period_days": {
      "type": "integer"
    },
    "schools": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "ai_answering": {
            "type": "integer"
          },
          "ai_learning_or_indexing": {
            "type": "integer"
          },
          "city": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "other_bots": {
            "type": "integer"
          },
          "people_visits": {
            "type": "integer"
          },
          "school_news_in_period": {
            "type": "integer"
          },
          "search_engines": {
            "type": "integer"
          },
          "state": {
            "type": "string"
          },
          "top_ai_agents": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "total": {
            "type": "integer"
          },
          "url": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "cite": {
            "type": "string"
          }
        }
      }
    },
    "sort": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "edition": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "publisher": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "used_for": {
            "type": "string"
          }
        }
      }
    },
    "to": {
      "type": "string",
      "format": "date-time"
    },
    "totals": {
      "type": "object",
      "properties": {
        "ai_answering": {
          "type": "integer"
        },
        "ai_learning_or_indexing": {
          "type": "integer"
        },
        "all_reads": {
          "type": "integer"
        },
        "not_counted_fake_ai_crawlers": {
          "type": "integer"
        },
        "not_counted_usanaru_staff": {
          "type": "integer"
        },
        "other_bots": {
          "type": "integer"
        },
        "people_visits": {
          "type": "integer"
        },
        "schools_read": {
          "type": "integer"
        },
        "search_engines": {
          "type": "integer"
        }
      }
    }
  }
}