title: analytics/mediawiki/mentor_dashboard/visit description: >- Log visits to Special:MentorDashboard (provided by Extension:GrowthExperiments) from the server-side. $id: /analytics/mediawiki/mentor_dashboard/visit/1.0.0 $schema: 'https://json-schema.org/draft-07/schema#' type: object additionalProperties: false required: - $schema - is_mobile - meta - user_id properties: $schema: description: > A URI identifying the JSONSchema for this event. This should match an schema's $id in a schema repository. E.g. /schema/title/1.0.0 type: string dt: description: > ISO-8601 formatted timestamp of when the event occurred/was generated in UTC). This exists separately from meta.dt in the main common schema. For external client-sent instrumentation events, we want to allow meta.dt to be the received time (filled in by EventGate at ingest time), as we don't trust client-sent events to always set the proper date and time. Client-set event generation time should be set here instead. See: https://phabricator.wikimedia.org/T240460 type: string format: date-time maxLength: 128 http: type: object properties: has_cookies: description: True if the http request has any cookies set type: boolean method: description: 'The HTTP request method (GET, POST, etc.)' type: string protocol: description: The protocol used for the request (HTTP or HTTPS) type: string request_headers: description: 'Request headers sent by the client. E.g. user-agent, etc.' type: object additionalProperties: type: string response_headers: description: Response headers sent back to the client (when known). type: object additionalProperties: type: string status_code: description: The HTTP status code returned for this request (when known) type: integer maximum: 9007199254740991 minimum: -9007199254740991 is_mobile: description: Whether the mobile site is being used. type: boolean meta: type: object required: - dt - stream properties: domain: description: Domain the event or entity pertains to type: string minLength: 1 dt: description: 'UTC event datetime, in ISO-8601 format' type: string format: date-time maxLength: 128 id: description: Unique ID of this event type: string request_id: description: Unique ID of the request that caused the event type: string stream: description: Name of the stream/queue/dataset that this event belongs in type: string minLength: 1 uri: description: Unique URI identifying the event or entity type: string format: uri-reference maxLength: 8192 user_id: description: 'User ID, needed for tracking across login sessions.' type: integer maximum: 9007199254740991 minimum: -9007199254740991 examples: - $schema: /analytics/mediawiki/mentor_dashboard/visit/1.0.0 dt: '2021-10-12T00:20:00.649Z' is_mobile: false meta: domain: cs.wikipedia.org dt: '2021-10-12T00:20:00.649Z' stream: mediawiki.mentor_dashboard.visit user_id: 123