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