-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathVehicleProfilesV5.dtd
80 lines (80 loc) · 2.44 KB
/
VehicleProfilesV5.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/VehicleProfilesV5.dtd",
"title": "Vehicle Profiles V5",
"description": "The JSON schema for the response of a Vehicle profiles request. Endpoint: https://wh.route4me.com/modules/api/v5.0/vehicle-profiles",
"oneOf": [
{
"type": "array",
"items": {"$ref": "https://raw.githubusercontent.com/route4me/route4me-json-schemas/master/VehicleProfileV5.dtd"},
"description": "The JSON schema for the response of a Vehicle profiles request, when the parameter with_pagination=0."
},
{
"type": "object",
"description": "The JSON schema for the response of a Vehicle profiles request, when the parameter with_pagination=1.",
"properties": {
"current_page": {
"type": "integer",
"title": "Current Page",
"description": "Current page in the vehicle profiles collection."
},
"data": {
"type": "array",
"items": {"$ref": "https://raw.githubusercontent.com/route4me/route4me-json-schemas/master/VehicleProfileV5.dtd"},
"title": "Data",
"description": "An array of the vehicle profiles."
},
"first_page_url": {
"type": "string",
"title": "First Page URL",
"description": "URL to the first page."
},
"from": {
"type": "integer",
"title": "From",
"description": "From which vehicle profile is starting the page."
},
"last_page": {
"type": "integer",
"title": "Last Page",
"description": "The last page in the vehicle profile collection."
},
"last_page_url": {
"type": "string",
"title": "Last Page URL",
"description": "URL to the last page."
},
"next_page_url": {
"type": "string",
"title": "Next Page URL",
"description": "URL to the next page."
},
"path": {
"type": "string",
"title": "Path",
"description": "Path to the API endpoin.t"
},
"per_page": {
"type": "integer",
"title": "Per Page",
"description": "The number of vehicles on a single page."
},
"prev_page_url": {
"type": "string",
"title": "Previous Page URL",
"description": "URL to the previous page"
},
"to": {
"type": "integer",
"title": "To",
"description": "Last vehicle profile in the page."
},
"total": {
"type": "integer",
"title": "Total",
"description": "Total number of the vehicle profiles."
}
}
}
]
}