2016-10-23 00:44:14 +03:00
|
|
|
{
|
|
|
|
"type": "object",
|
2021-02-10 00:03:03 +03:00
|
|
|
"required": ["referer", "date", "userAgent", "visitLocation"],
|
2016-10-23 00:44:14 +03:00
|
|
|
"properties": {
|
|
|
|
"referer": {
|
2018-09-14 00:50:09 +03:00
|
|
|
"type": "string",
|
|
|
|
"description": "The origin from which the visit was performed"
|
2016-10-23 00:44:14 +03:00
|
|
|
},
|
|
|
|
"date": {
|
|
|
|
"type": "string",
|
2018-09-14 00:50:09 +03:00
|
|
|
"format": "date-time",
|
|
|
|
"description": "The date in which the visit was performed"
|
2016-10-23 00:44:14 +03:00
|
|
|
},
|
|
|
|
"userAgent": {
|
2018-09-14 00:50:09 +03:00
|
|
|
"type": "string",
|
|
|
|
"description": "The user agent from which the visit was performed"
|
|
|
|
},
|
|
|
|
"visitLocation": {
|
|
|
|
"$ref": "./VisitLocation.json"
|
2021-05-22 16:09:14 +03:00
|
|
|
},
|
|
|
|
"potentialBot": {
|
|
|
|
"type": "boolean",
|
2021-05-22 22:22:15 +03:00
|
|
|
"description": "Tells if Shlink thinks this visit comes potentially from a bot or crawler"
|
2016-10-23 00:44:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|