{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usanaru-com/json-schema/usanaru-com-get-api-v1-ai-visibility-response-schema.json",
  "title": "GetApiV1AiVisibilityResponse",
  "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/GetApiV1AiVisibilityResponse",
  "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"
            }
          }
        }
      }
    },
    "ai_reads": {
      "type": "object",
      "properties": {
        "answering_a_user_question": {
          "type": "integer"
        },
        "by_company": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "answering": {
                "type": "integer"
              },
              "company": {
                "type": "string"
              },
              "learning_or_indexing": {
                "type": "integer"
              }
            }
          }
        },
        "learning_or_indexing": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        }
      }
    },
    "api_and_mcp_requests": {
      "type": "integer"
    },
    "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"
    },
    "note": {
      "type": "string"
    },
    "page_url": {
      "type": "string"
    },
    "people_from_ai_assistants": {
      "type": "object",
      "properties": {
        "by_assistant": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "assistant": {
                "type": "string"
              },
              "visits": {
                "type": "integer"
              }
            }
          }
        },
        "total": {
          "type": "integer"
        }
      }
    },
    "people_visits": {
      "type": "object",
      "properties": {
        "by_country": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "country": {
                "type": "string"
              },
              "visits": {
                "type": "integer"
              }
            }
          }
        },
        "by_page_language": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "lang": {
                "type": "string"
              },
              "visits": {
                "type": "integer"
              }
            }
          }
        },
        "other_or_unknown": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        }
      }
    },
    "period_days": {
      "type": "integer"
    },
    "schools_most_read_by_ai": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "reads": {
            "type": "integer"
          },
          "slug": {
            "type": "string"
          }
        }
      }
    },
    "search_engine_reads": {
      "type": "object",
      "properties": {
        "by_engine": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "engine": {
                "type": "string"
              },
              "reads": {
                "type": "integer"
              }
            }
          }
        },
        "total": {
          "type": "integer"
        }
      }
    },
    "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"
    }
  }
}